DellEMC: S6000, S6100, Z9332f - Update platform.json (#9459)

Why I did it
To include newer Fan LED, thermal capabilities fields in platform.json of DellEMC S6000, S6100, Z9332f platforms.

How I did it
Add the capabilities fields in each platform's respective platform.json.

How to verify it
Ran sonic-mgmt platform api test cases that use capabilities fields and verified that the results are as expected.
This commit is contained in:
Arun Saravanan Balachandran 2022-01-03 12:01:34 +05:30 committed by Judy Joseph
parent 6c82346c3d
commit 3c5438de0b
3 changed files with 335 additions and 34 deletions

View File

@ -25,6 +25,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
}, },
{ {
@ -32,6 +35,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
}, },
{ {
@ -39,6 +45,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
}, },
{ {
@ -46,6 +55,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
}, },
{ {
@ -53,6 +65,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
}, },
{ {
@ -60,6 +75,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
} }
], ],
@ -76,6 +94,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
}, },
{ {
@ -83,6 +104,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
} }
] ]
@ -99,6 +123,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
}, },
{ {
@ -106,6 +133,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
} }
] ]
@ -122,6 +152,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
}, },
{ {
@ -129,6 +162,9 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
} }
] ]
@ -146,17 +182,28 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
} }
], ],
"thermals": [ "thermals": [
{ {
"name": "PSU1-Sensor 1", "name": "PSU1-Sensor 1",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "PSU1-Sensor 2", "name": "PSU1-Sensor 2",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
} }
] ]
}, },
@ -171,17 +218,28 @@
"speed": { "speed": {
"controllable": true, "controllable": true,
"minimum": 40 "minimum": 40
},
"status_led": {
"available": false
} }
} }
], ],
"thermals": [ "thermals": [
{ {
"name": "PSU2-Sensor 1", "name": "PSU2-Sensor 1",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "PSU2-Sensor 2", "name": "PSU2-Sensor 2",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
} }
] ]
} }
@ -189,27 +247,51 @@
"thermals": [ "thermals": [
{ {
"name": "ASIC On-board", "name": "ASIC On-board",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "NIC", "name": "NIC",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "System Front", "name": "System Front",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "DIMM", "name": "DIMM",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "CPU Core 0", "name": "CPU Core 0",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "CPU Core 1", "name": "CPU Core 1",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
} }
], ],
"modules": [], "modules": [],

View File

@ -5,6 +5,7 @@
"controllable": true, "controllable": true,
"colors": ["amber", "blinking amber", "green", "blinking green"] "colors": ["amber", "blinking amber", "green", "blinking green"]
}, },
"thermal_manager" : false,
"components": [ "components": [
{ {
"name": "BIOS" "name": "BIOS"
@ -21,24 +22,36 @@
"name": "FanTray1-Fan1", "name": "FanTray1-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray2-Fan1", "name": "FanTray2-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray3-Fan1", "name": "FanTray3-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray4-Fan1", "name": "FanTray4-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
], ],
@ -53,6 +66,9 @@
"name": "FanTray1-Fan1", "name": "FanTray1-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -67,6 +83,9 @@
"name": "FanTray2-Fan1", "name": "FanTray2-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -81,6 +100,9 @@
"name": "FanTray3-Fan1", "name": "FanTray3-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -95,6 +117,9 @@
"name": "FanTray4-Fan1", "name": "FanTray4-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -111,6 +136,9 @@
"name": "PSU1 Fan", "name": "PSU1 Fan",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -125,6 +153,9 @@
"name": "PSU2 Fan", "name": "PSU2 Fan",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -133,43 +164,77 @@
"thermals": [ "thermals": [
{ {
"name": "CPU On-board", "name": "CPU On-board",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "ASIC On-board Front", "name": "ASIC On-board Front",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "System Front", "name": "System Front",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "ASIC On-board Rear", "name": "ASIC On-board Rear",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "Front GE board", "name": "Front GE board",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "Front SFP+ board", "name": "Front SFP+ board",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "CPU Core 0", "name": "CPU Core 0",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "CPU Core 1", "name": "CPU Core 1",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "CPU Core 2", "name": "CPU Core 2",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "CPU Core 3", "name": "CPU Core 3",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
} }
], ],
"modules": [ "modules": [

View File

@ -5,6 +5,7 @@
"controllable": true, "controllable": true,
"colors": ["green", "flashing green", "yellow", "flashing yellow"] "colors": ["green", "flashing green", "yellow", "flashing yellow"]
}, },
"thermal_manager" : false,
"components": [ "components": [
{ {
"name": "BIOS" "name": "BIOS"
@ -36,84 +37,126 @@
"name": "FanTray1-Fan1", "name": "FanTray1-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray1-Fan2", "name": "FanTray1-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray2-Fan1", "name": "FanTray2-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray2-Fan2", "name": "FanTray2-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray3-Fan1", "name": "FanTray3-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray3-Fan2", "name": "FanTray3-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray4-Fan1", "name": "FanTray4-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray4-Fan2", "name": "FanTray4-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray5-Fan1", "name": "FanTray5-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray5-Fan2", "name": "FanTray5-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray6-Fan1", "name": "FanTray6-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray6-Fan2", "name": "FanTray6-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray7-Fan1", "name": "FanTray7-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray7-Fan2", "name": "FanTray7-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
], ],
@ -128,12 +171,18 @@
"name": "FanTray1-Fan1", "name": "FanTray1-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray1-Fan2", "name": "FanTray1-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -148,12 +197,18 @@
"name": "FanTray2-Fan1", "name": "FanTray2-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray2-Fan2", "name": "FanTray2-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -168,12 +223,18 @@
"name": "FanTray3-Fan1", "name": "FanTray3-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray3-Fan2", "name": "FanTray3-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -188,12 +249,18 @@
"name": "FanTray4-Fan1", "name": "FanTray4-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray4-Fan2", "name": "FanTray4-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -208,12 +275,18 @@
"name": "FanTray5-Fan1", "name": "FanTray5-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray5-Fan2", "name": "FanTray5-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -228,12 +301,18 @@
"name": "FanTray6-Fan1", "name": "FanTray6-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray6-Fan2", "name": "FanTray6-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -248,12 +327,18 @@
"name": "FanTray7-Fan1", "name": "FanTray7-Fan1",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
}, },
{ {
"name": "FanTray7-Fan2", "name": "FanTray7-Fan2",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -270,6 +355,9 @@
"name": "PSU1 Fan", "name": "PSU1 Fan",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -284,6 +372,9 @@
"name": "PSU2 Fan", "name": "PSU2 Fan",
"speed": { "speed": {
"controllable": false "controllable": false
},
"status_led": {
"available": false
} }
} }
] ]
@ -292,59 +383,122 @@
"thermals": [ "thermals": [
{ {
"name": "CPU On-board", "name": "CPU On-board",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "Baseboard U3", "name": "Baseboard U3",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "SW Internal", "name": "SW Internal",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "Fan U52", "name": "Fan U52",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "Fan U17", "name": "Fan U17",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "SW U52", "name": "SW U52",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "SW U16", "name": "SW U16",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "PSU1 Inlet", "name": "PSU1 Inlet",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "PSU1 Hotspot", "name": "PSU1 Hotspot",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "PSU2 Inlet", "name": "PSU2 Inlet",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "PSU2 Hotspot", "name": "PSU2 Hotspot",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "SW U04", "name": "SW U04",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "SW U14", "name": "SW U14",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
}, },
{ {
"name": "SW U4403", "name": "SW U4403",
"controllable": false "controllable": false,
"low-crit-threshold": false,
"high-threshold": false,
"high-crit-threshold": false,
"minimum-recorded": false,
"maximum-recorded": false
} }
], ],
"modules": [], "modules": [],