fpd_status_test - openconfig/featureprofiles GitHub Wiki

FPD-1.1: FPD Status Test

Summary

This test verifies the status of FPD on the DUT.

Testbed type

Procedure

Test environment setup

  • No special setup is required. Ensure the DUT is operational.

FPD-1.1.1: FPD Status Test

  1. Get a list of all FPD components on the DUT.

  2. For each FPD component, query the FPD status using the OpenConfig path /openconfig/components/component/properties/property/state/value.

  3. Verify that the FPD status is valid and is one of the following:

    • CURRENT
    • NEED UPGD
    • RLOAD REQ
    • NOT READY
    • UPGD DONE
    • UPGD FAIL
    • BACK IMG
    • N/A

Canonical OC

{
  "components": {
    "component": [
      {
        "name": "0/RP0/CPU0_Bios",
        "properties": {
          "property": [
            {
              "name": "fpd-status",
              "state": {
                "value": "CURRENT"
              }
            }
          ]
        }
      }
    ]
  }
}

OpenConfig Path and RPC Coverage

The below yaml defines the OC paths intended to be covered by this test.

paths:
  /components/component/properties/property/state/value:
    platform_type: [FPGA]
rpcs:
  gnmi:
    gNMI.Get:
    gNMI.Subscribe:

Required DUT platform

  • FFF - fixed form factor
⚠️ **GitHub.com Fallback** ⚠️