Skip to content

traceroute_packetin_test

Github Action edited this page Oct 9, 2024 · 3 revisions

P4RT-5.1: Traceroute: PacketIn

Summary

Verify that Traceroute packets are punted with correct metadata.

Procedure

  • Connect ATE port-1 to DUT port-1, ATE port-2 to DUT port-2.
  • TODO: Install the set of routes on the device.
  • Enable the P4RT server on the device.
  • Connect a P4RT client and configure the forwarding pipeline. InstallP4RT table entries required for traceroute.
  • Send IPv4 packets from the ATE with TTL=1 and verify that packets with TTL=1 are received by the client.
  • Send IPv6 packets from the ATE with HopLimit=1 and verify that packets with HopLimit=1 are received by the client.
  • Verify that the packets have both ingress_singleton_port and egress_singleton_port metadata set.

OpenConfig Path and RPC Coverage

paths:
  /components/component/integrated-circuit/config/node-id:
    platform_type: ["INTEGRATED_CIRCUIT"]
  /interfaces/interface/config/id:
rpcs:
  gnmi:
    gNMI.Get:
    gNMI.Set:
    gNMI.Subscribe:
Clone this wiki locally