Skip to content

interface_loopback_aggregate

Github Action edited this page Jun 11, 2024 · 3 revisions

RT-5.6: Interface Loopback mode

Summary

Ensure Interface mode can be set to loopback mode and can be added as part of static LAG.

Procedure

TestCase-1:

  • Configure DUT port-1 to OTG port-1.
  • Admin down OTG port-1.
  • Verify DUT port-1 is down.
  • On DUT port-1, set interface “loopback mode” to “FACILITY”.
  • Add port-1 as part of Static LAG (lacp mode static(on)).
  • Validate that port-1 operational status is “UP”.
  • Validate on DUT that LAG interface status is “UP”.

OpenConfig Path and RPC Coverage

The below YAML defines the OC paths intended to be covered by this test. OC paths used for test setup are not listed here.

openconfig_paths:
  ## Config paths
    /interfaces/interface/config/loopback-mode:
    /interfaces/interface/ethernet/config/port-speed:
    /interfaces/interface/ethernet/config/duplex-mode:
    /interfaces/interface/ethernet/config/aggregate-id:
    /interfaces/interface/aggregation/config/lag-type:
    /interfaces/interface/aggregation/config/min-links:

  ## Telemetry paths
    /interfaces/interface/state/loopback-mode:

rpcs:
  gnmi:
    gNMI.Set:
    gNMI.Subscribe:
Clone this wiki locally