pipeline_counters_drop_test - openconfig/featureprofiles GitHub Wiki
Verify that NPU (integrated-circuit) pipeline drop counters are reported correctly via telemetry and correctly increment under conditions that induce the respective drops.
- Configure interfaces between ATE and DUT.
- Configure IPv4/IPv6 addressing.
- Enable telemetry for the
/components/component/integrated-circuit/pipeline-counters/drop/vendorpath.
{}- Verify via telemetry that
/components/component[name=<node>:<npu>]/integrated-circuit/pipeline-counters/drop/vendor/CiscoXR/spitfire/packet-processing/state/L3_ROUTE_LOOKUP_FAILEDexists and returns a non-negative value.
- Configure a static route on the DUT pointing to
Null0(discard interface). - From ATE Port-1, send traffic destined to the prefix configured in the Null0 route.
- Verify via telemetry that
/components/component[name=<node>:<npu>]/integrated-circuit/pipeline-counters/drop/vendor/CiscoXR/spitfire/packet-processing/state/L3_NULL_ADJincrements.
- Verify via telemetry that
/components/component[name=<node>:<npu>]/integrated-circuit/pipeline-counters/drop/vendor/CiscoXR/spitfire/packet-processing/state/MPLS_TE_MIDPOINT_LDP_LABELS_MISSexists and returns a non-negative value.
paths:
# TODO: Replace the following non-OC vendor paths with actual OC paths once they are available in the public models.
# /components/component/integrated-circuit/pipeline-counters/drop/vendor/CiscoXR/spitfire/packet-processing/state/L3_ROUTE_LOOKUP_FAILED:
# /components/component/integrated-circuit/pipeline-counters/drop/vendor/CiscoXR/spitfire/packet-processing/state/L3_NULL_ADJ*:
# /components/component/integrated-circuit/pipeline-counters/drop/vendor/CiscoXR/spitfire/packet-processing/state/MPLS_TE_MIDPOINT_LDP_LABELS_MISS*:
rpcs:
gnmi:
gNMI.Get:
gNMI.Subscribe:- FFF