Skip to content

Commit f2c9a35

Browse files
authored
[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.
1 parent 178a30b commit f2c9a35

File tree

1 file changed

+46
-13
lines changed

1 file changed

+46
-13
lines changed

device/arista/x86_64-arista_720dt_48s/platform.json

+46-13
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,38 @@
22
"chassis": {
33
"name": "CCS-720DT-48S",
44
"components": [],
5-
"fans": [
6-
{
7-
"name": "fan1"
8-
},
9-
{
10-
"name": "fan2"
5+
"fan_drawers": [
6+
{
7+
"name": "fixed1",
8+
"status_led": {
9+
"controllable": false,
10+
"available": false
11+
},
12+
"fans": [
13+
{
14+
"name": "fan1",
15+
"status_led": {
16+
"available": false
17+
}
18+
}
19+
]
20+
},
21+
{
22+
"name": "fixed2",
23+
"status_led": {
24+
"controllable": false,
25+
"available": false
26+
},
27+
"fans": [
28+
{
29+
"name": "fan2",
30+
"status_led": {
31+
"available": false
32+
}
33+
}
34+
]
1135
}
1236
],
13-
"fan_drawers": [],
1437
"psus": [
1538
{
1639
"name": "psu1",
@@ -21,7 +44,10 @@
2144
"temperature": false,
2245
"voltage": false,
2346
"voltage_high_threshold": false,
24-
"voltage_low_threshold": false
47+
"voltage_low_threshold": false,
48+
"status_led": {
49+
"controllable": false
50+
}
2551
},
2652
{
2753
"name": "psu2",
@@ -32,21 +58,28 @@
3258
"temperature": false,
3359
"voltage": false,
3460
"voltage_high_threshold": false,
35-
"voltage_low_threshold": false
61+
"voltage_low_threshold": false,
62+
"status_led": {
63+
"controllable": false
64+
}
3665
}
3766
],
3867
"thermals": [
3968
{
40-
"name": "Cpu temp sensor"
69+
"name": "Cpu temp sensor",
70+
"controllable": false
4171
},
4272
{
43-
"name": "Psu temp sensor"
73+
"name": "Psu temp sensor",
74+
"controllable": false
4475
},
4576
{
46-
"name": "SFP+ connector temp sensor"
77+
"name": "SFP+ connector temp sensor",
78+
"controllable": false
4779
},
4880
{
49-
"name": "MAC external temp sensor"
81+
"name": "MAC external temp sensor",
82+
"controllable": false
5083
}
5184
],
5285
"sfps": [

0 commit comments

Comments
 (0)