fpd_status_test - openconfig/featureprofiles GitHub Wiki
This test verifies the status of FPD on the DUT.
- No special setup is required. Ensure the DUT is operational.
-
Get a list of all FPD components on the DUT.
-
For each FPD component, query the FPD status using the OpenConfig path
/openconfig/components/component/properties/property/state/value. -
Verify that the FPD status is valid and is one of the following:
CURRENTNEED UPGDRLOAD REQNOT READYUPGD DONEUPGD FAILBACK IMGN/A
{
"components": {
"component": [
{
"name": "0/RP0/CPU0_Bios",
"properties": {
"property": [
{
"name": "fpd-status",
"state": {
"value": "CURRENT"
}
}
]
}
}
]
}
}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:- FFF - fixed form factor