Skip to content

Commit

Permalink
[Arista] Fix content of platform.json for DCS-720DT-48S (#11855)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Staphylo committed Aug 29, 2022
1 parent 178a30b commit f2c9a35
Showing 1 changed file with 46 additions and 13 deletions.
59 changes: 46 additions & 13 deletions device/arista/x86_64-arista_720dt_48s/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,38 @@
"chassis": {
"name": "CCS-720DT-48S",
"components": [],
"fans": [
{
"name": "fan1"
},
{
"name": "fan2"
"fan_drawers": [
{
"name": "fixed1",
"status_led": {
"controllable": false,
"available": false
},
"fans": [
{
"name": "fan1",
"status_led": {
"available": false
}
}
]
},
{
"name": "fixed2",
"status_led": {
"controllable": false,
"available": false
},
"fans": [
{
"name": "fan2",
"status_led": {
"available": false
}
}
]
}
],
"fan_drawers": [],
"psus": [
{
"name": "psu1",
Expand All @@ -21,7 +44,10 @@
"temperature": false,
"voltage": false,
"voltage_high_threshold": false,
"voltage_low_threshold": false
"voltage_low_threshold": false,
"status_led": {
"controllable": false
}
},
{
"name": "psu2",
Expand All @@ -32,21 +58,28 @@
"temperature": false,
"voltage": false,
"voltage_high_threshold": false,
"voltage_low_threshold": false
"voltage_low_threshold": false,
"status_led": {
"controllable": false
}
}
],
"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": [
Expand Down

0 comments on commit f2c9a35

Please sign in to comment.