core_lldp_tlv_population_test - openconfig/featureprofiles GitHub Wiki
Determine LLDP advertisement and reception operates correctly.
- Connect ATE port-1 to DUT port-1, enable LLDP on each port.
- Configure LLDP enabled=true for DUT port-1 and ATE port-1
- Determine that telemetry from:
- ATE reports correct values from DUT.
- DUT reports correct values from ATE.
- Configure LLDP is disabled at global level for DUT.
- Set /lldp/config/enabled to FALSE.
- Ensure that DUT does not generate any LLDP messages irrespective of the configuration of lldp/interfaces/interface/config/enabled (TRUE or FALSE) on any interface.
The below yaml defines the OC paths intended to be covered by this test. OC paths used for test setup are not listed here.
paths:
## Config Paths ##
/lldp/config/enabled:
/lldp/interfaces/interface/config/enabled:
## State Paths ##
/lldp/interfaces/interface/neighbors/neighbor/state/chassis-id:
/lldp/interfaces/interface/neighbors/neighbor/state/port-id:
/lldp/interfaces/interface/neighbors/neighbor/state/system-name:
/lldp/interfaces/interface/state/name:
/lldp/state/chassis-id:
/lldp/state/chassis-id-type:
/lldp/state/system-name:
rpcs:
gnmi:
gNMI.Get:
gNMI.Set:
vRX