lldp_packetout_test - openconfig/featureprofiles GitHub Wiki
Verify that LLDP packets can be sent by the controller.
- Connect ATE port-1 to DUT port-1, and ATE port-2 to DUT port-2.
- Disable on-box processing of LLDP.
- Enable the P4RT server on the device.
- Connect a P4RT client and configure the forwarding pipeline. Install the P4RT table entry required for LLDP.
- Send an LLDP packet from the client with egress_singleton_port set to one of the connected interfaces.
- Verify that the LLDP packet is received on the ATE port connected to the indicated interface.
paths:
/components/component/integrated-circuit/config/node-id:
platform_type: [INTEGRATED_CIRCUIT]
/interfaces/interface/config/description:
/interfaces/interface/config/enabled:
/interfaces/interface/config/id:
/interfaces/interface/config/name:
/interfaces/interface/config/type:
/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/config/prefix-length:
/interfaces/interface/subinterfaces/subinterface/ipv4/config/enabled:
/lldp/config/enabled:
rpcs:
gnmi:
gNMI.Get:
gNMI.Set:
gNMI.Subscribe:vRX if the vendor implementation supports FIB-ACK simulation, otherwise FFF.