[Arista] Fix content of platform.json for DCS-720DT-48S (#11855)

Why I did it
Content of platform.json was outdated and some platform_tests/api of sonic-mgmt were failing.

How I did it
Added the necessary values to platform.json

How to verify it
Running platform_tests/api of sonic-mgmt should yield 100% passrate.
This commit is contained in:
Samuel Angebault 2022-08-29 04:45:24 +02:00 committed by GitHub
parent 178a30bc3b
commit f2c9a3584d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,15 +2,38 @@
"chassis": { "chassis": {
"name": "CCS-720DT-48S", "name": "CCS-720DT-48S",
"components": [], "components": [],
"fans": [ "fan_drawers": [
{ {
"name": "fan1" "name": "fixed1",
"status_led": {
"controllable": false,
"available": false
},
"fans": [
{
"name": "fan1",
"status_led": {
"available": false
}
}
]
}, },
{ {
"name": "fan2" "name": "fixed2",
"status_led": {
"controllable": false,
"available": false
},
"fans": [
{
"name": "fan2",
"status_led": {
"available": false
}
}
]
} }
], ],
"fan_drawers": [],
"psus": [ "psus": [
{ {
"name": "psu1", "name": "psu1",
@ -21,7 +44,10 @@
"temperature": false, "temperature": false,
"voltage": false, "voltage": false,
"voltage_high_threshold": false, "voltage_high_threshold": false,
"voltage_low_threshold": false "voltage_low_threshold": false,
"status_led": {
"controllable": false
}
}, },
{ {
"name": "psu2", "name": "psu2",
@ -32,21 +58,28 @@
"temperature": false, "temperature": false,
"voltage": false, "voltage": false,
"voltage_high_threshold": false, "voltage_high_threshold": false,
"voltage_low_threshold": false "voltage_low_threshold": false,
"status_led": {
"controllable": false
}
} }
], ],
"thermals": [ "thermals": [
{ {
"name": "Cpu temp sensor" "name": "Cpu temp sensor",
"controllable": false
}, },
{ {
"name": "Psu temp sensor" "name": "Psu temp sensor",
"controllable": false
}, },
{ {
"name": "SFP+ connector temp sensor" "name": "SFP+ connector temp sensor",
"controllable": false
}, },
{ {
"name": "MAC external temp sensor" "name": "MAC external temp sensor",
"controllable": false
} }
], ],
"sfps": [ "sfps": [