85b978a1ca
Why I did it
By specifying 'status_led' 'controllable' to false for psu section, it means the platform is not yet supporting psu status led
How I did it
specify 'status_led' 'controllable' to false for psu section
How to verify it
by running test in pdb, manually add {'status_led' : {'controllable' : False}} in dictionary
this flag will be able to get False and skip testing:
ce290c735d/tests/platform_tests/api/test_psu.py (L337)
218 lines
6.2 KiB
JSON
218 lines
6.2 KiB
JSON
{
|
|
"chassis": {
|
|
"name": "DCS-7800-SUP1A",
|
|
"components": [],
|
|
"fans": [],
|
|
"fan_drawers": [],
|
|
"psus": [
|
|
{
|
|
"name": "psu1",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu1/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu2",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu2/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu3",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu3/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu4",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu4/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu5",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu5/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu6",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu6/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu7",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu7/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu8",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu8/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu9",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu9/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu10",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu10/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu11",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu11/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "psu12",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "psu12/1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"controllable": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thermals": [],
|
|
"sfps": []
|
|
},
|
|
"interfaces": {}
|
|
}
|