Skip to content

singleton_test

Github Action edited this page Dec 5, 2022 · 8 revisions

RT-5.1: Singleton Interface

Summary

Singleton L3 interface (non-LAG) is supported on DUT.

Procedure

For each port speed and breakout port configuration that need to be tested, add a new testbed configuration with the desired port types.

  • Configure ATE port-1 connected to DUT port-1, and ATE port-2 connected to DUT port-2, with the relevant IPv4 and IPv6 addresses.
  • Configure static MAC address to be 02:1a:WW:XX:YY:ZZ where WW:XX:YY:ZZ are the octets of IPv4.
    • Ensure: ARP discovers static MAC address specified when port is configured with static MAC.
  • Validate that port speed is reported correctly and that port telemetry matches expected negotiated speeds for forced, auto-negotiation, and auto-negotiation while overriding port speed and duplex.
    • TODO: If the port is a breakout, ensure that all breakout ports are correctly reported.
  • For IPv4 and IPv6:
    • With traffic flow from ATE port-1 to ATE port-2, ensure:
      • For MTUs [^1] of 1500, 5000, 9236:
        • Packets with size greater than the configured MTU with DF-bit set are not transmitted.
        • Packets with size of configured MTU are received.
        • Packets with size less than the configured MTU are received.

[^1]: The MTU specified above refers to the L3 MTU, which is the payload portion of an Ethernet frame.

Config Parameter Coverage

  • /interfaces/interface/config/name
  • /interfaces/interface/config/description
  • /interfaces/interface/config/enabled
  • /interfaces/interface/subinterfaces/subinterface/ipv4/config/mtu
  • /interfaces/interface/subinterfaces/subinterface/ipv6/config/mtu
  • /interfaces/interface/config/id
  • /interfaces/interface/ethernet/config/mac-address
  • /interfaces/interface/ethernet/config/port-speed
  • /interfaces/interface/ethernet/config/duplex-mode

Telemetry Parameter Coverage

  • /interfaces/interface/ethernet/state/counters/in-mac-pause-frames
  • /interfaces/interface/ethernet/state/counters/out-mac-pause-frames
  • /interfaces/interface/ethernet/state/mac-address
  • /interfaces/interface/state/counters/in-broadcast-pkts
  • /interfaces/interface/state/counters/in-discards
  • /interfaces/interface/state/counters/in-errors
  • /interfaces/interface/state/counters/in-multicast-pkts
  • /interfaces/interface/state/counters/in-octets
  • /interfaces/interface/state/counters/in-unicast-pkts
  • /interfaces/interface/state/counters/in-unknown-protos
  • /interfaces/interface/state/counters/out-broadcast-pkts
  • /interfaces/interface/state/counters/out-discards
  • /interfaces/interface/state/counters/out-errors
  • /interfaces/interface/state/counters/out-multicast-pkts
  • /interfaces/interface/state/counters/out-octets
  • /interfaces/interface/state/counters/out-pkts
  • /interfaces/interface/state/counters/out-unicast-pkts
  • /interfaces/interface/subinterfaces/subinterface/ipv4/state/mtu
  • /interfaces/interface/subinterfaces/subinterface/ipv6/state/mtu
  • /interfaces/interface/state/oper-status
  • /interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/ip
  • /interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/in-pkts
  • /interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/out-pkts
  • /interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/ip
  • /interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/in-discarded-pkts
  • /interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/in-pkts
  • /interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/out-discarded-pkts
  • /interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/out-pkts
  • /interfaces/interface/ethernet/state/aggregate-id
  • /interfaces/interface/ethernet/state/port-speed
  • /interfaces/interface/state/admin-status
  • /interfaces/interface/state/counters/out-octets
  • /interfaces/interface/state/description
  • /interfaces/interface/state/type
  • /interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/in-multicast-pkts
  • /interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/out-forwarded-pkts
  • /interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/out-multicast-pkts
  • /interfaces/interface/state/hardware-port
  • /interfaces/interface/state/id
  • /interfaces/interface/state/counters/in-fcs-errors

Protocol/RPC Parameter Coverage

None

Minimum DUT Platform Requirement

vRX

Clone this wiki locally