From 22dc0891eabdcf9b9b7bcf11a216c3d734f8f120 Mon Sep 17 00:00:00 2001 From: Calvin F <131898783+cfernanz@users.noreply.github.com> Date: Thu, 9 May 2024 16:14:59 -0700 Subject: [PATCH] remove deviation backplane_facing_capacity_unsupported for Nokia (#2972) * remove deviation backplane_facing_capacity_unsupported for Nokia * Update README.md as per compliance * Fix yaml format * Add platform_type in yaml * Update README.md --- .../README.md | 50 +++++++++++-------- .../metadata.textproto | 1 - 2 files changed, 29 insertions(+), 22 deletions(-) diff --git a/feature/platform/fabric/otg_tests/sampled_backplane_capacity_counters_test/README.md b/feature/platform/fabric/otg_tests/sampled_backplane_capacity_counters_test/README.md index 6887a4d4d79..0f026d1ced4 100644 --- a/feature/platform/fabric/otg_tests/sampled_backplane_capacity_counters_test/README.md +++ b/feature/platform/fabric/otg_tests/sampled_backplane_capacity_counters_test/README.md @@ -34,7 +34,7 @@ This test if to verify that DUT supports gNMI Subscribe with ON_CHANGE for backp * Validate that we recieve a changed consumed-capacity metric matching the initial value -### gNMI-1.18.2 [TODO: https://github.com/openconfig/featureprofiles/issues/2323] +### gNMI-1.18.2 * Use gNMI subscribe with "ON_CHANGE" mode for the below telemetry paths @@ -70,26 +70,34 @@ This test if to verify that DUT supports gNMI Subscribe with ON_CHANGE for backp * /components/component/integrated-circuit/backplane-facing-capacity/state/total -## Config parameter coverage - -* /interfaces/interface/config/enabled -* /interfaces/interface/subinterfaces/subinterface/ipv4/config/enabled -* /interfaces/interface/subinterfaces/subinterface/ipv6/config/enabled -* /components/component/{fabric}/config/power-admin-state - -## Telemetry parameter coverage - -* /components/component/integrated-circuit/backplane-facing-capacity/state/available-pct -* /components/component/integrated-circuit/backplane-facing-capacity/state/consumed-capacity -* /components/component/integrated-circuit/backplane-facing-capacity/state/total -* /components/component/integrated-circuit/backplane-facing-capacity/state/total-operational-capacity - -## Protocol/RPC Parameter Coverage - -* gNMI - * Set - * Update - * Subscribe +## OpenConfig Path and RPC Coverage + +This example yaml defines the OC paths intended to be covered by this test. OC paths used for test environment setup are not required to be listed here. +```yaml +paths: + ## Config parameter coverage + /interfaces/interface/config/enabled: + /interfaces/interface/subinterfaces/subinterface/ipv4/config/enabled: + /interfaces/interface/subinterfaces/subinterface/ipv6/config/enabled: + /components/component/fabric/config/power-admin-state: + platform_type: ["FABRIC"] + + ## Telemetry parameter coverage + /components/component/integrated-circuit/backplane-facing-capacity/state/available-pct: + platform_type: ["INTEGRATED_CIRCUIT"] + /components/component/integrated-circuit/backplane-facing-capacity/state/consumed-capacity: + platform_type: [ "INTEGRATED_CIRCUIT" ] + /components/component/integrated-circuit/backplane-facing-capacity/state/total: + platform_type: [ "INTEGRATED_CIRCUIT" ] + /components/component/integrated-circuit/backplane-facing-capacity/state/total-operational-capacity: + platform_type: [ "INTEGRATED_CIRCUIT" ] + +rpcs: + gnmi: + gNMI.Set: + gNMI.Subscribe: + Mode: [ "ON_CHANGE", "SAMPLE" ] +``` ## Required DUT platform diff --git a/feature/platform/fabric/otg_tests/sampled_backplane_capacity_counters_test/metadata.textproto b/feature/platform/fabric/otg_tests/sampled_backplane_capacity_counters_test/metadata.textproto index 7c618627449..f62de8c426e 100644 --- a/feature/platform/fabric/otg_tests/sampled_backplane_capacity_counters_test/metadata.textproto +++ b/feature/platform/fabric/otg_tests/sampled_backplane_capacity_counters_test/metadata.textproto @@ -32,7 +32,6 @@ platform_exceptions: { explicit_interface_in_default_vrf: true qos_queue_requires_id: true missing_value_for_defaults: true - backplane_facing_capacity_unsupported: true } } platform_exceptions: {