Skip to content

Commit

Permalink
DellEMC: S6000, S6100, Z9332f - Add capabilities fields in platform.j…
Browse files Browse the repository at this point in the history
…son (#9168)

Why I did it
To include 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.
  • Loading branch information
ArunSaravananBalachandran authored Nov 15, 2021
1 parent 0e057a4 commit f4c3aa4
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 96 deletions.
136 changes: 112 additions & 24 deletions device/dell/x86_64-dell_s6000_s1220-r0/platform.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"chassis": {
"name": "S6000",
"status_led": {
"controllable": true,
"colors": ["amber", "blinking amber", "green", "blinking green"]
},
"components": [
{
"name": "BIOS"
Expand All @@ -17,111 +21,195 @@
],
"fans": [
{
"name": "FanTray1-Fan1"
"name": "FanTray1-Fan1",
"speed": {
"controllable": true,
"minimum": 40
}
},
{
"name": "FanTray1-Fan2"
"name": "FanTray1-Fan2",
"speed": {
"controllable": true,
"minimum": 40
}
},
{
"name": "FanTray2-Fan1"
"name": "FanTray2-Fan1",
"speed": {
"controllable": true,
"minimum": 40
}
},
{
"name": "FanTray2-Fan2"
"name": "FanTray2-Fan2",
"speed": {
"controllable": true,
"minimum": 40
}
},
{
"name": "FanTray3-Fan1"
"name": "FanTray3-Fan1",
"speed": {
"controllable": true,
"minimum": 40
}
},
{
"name": "FanTray3-Fan2"
"name": "FanTray3-Fan2",
"speed": {
"controllable": true,
"minimum": 40
}
}
],
"fan_drawers":[
{
"name": "FanTray1",
"status_led": {
"controllable": true,
"colors": ["amber", "green", "off"]
},
"fans": [
{
"name": "FanTray1-Fan1"
"name": "FanTray1-Fan1",
"speed": {
"controllable": true,
"minimum": 40
}
},
{
"name": "FanTray1-Fan2"
"name": "FanTray1-Fan2",
"speed": {
"controllable": true,
"minimum": 40
}
}
]
},
{
"name": "FanTray2",
"status_led": {
"controllable": true,
"colors": ["amber", "green", "off"]
},
"fans": [
{
"name": "FanTray2-Fan1"
"name": "FanTray2-Fan1",
"speed": {
"controllable": true,
"minimum": 40
}
},
{
"name": "FanTray2-Fan2"
"name": "FanTray2-Fan2",
"speed": {
"controllable": true,
"minimum": 40
}
}
]
},
{
"name": "FanTray3",
"status_led": {
"controllable": true,
"colors": ["amber", "green", "off"]
},
"fans": [
{
"name": "FanTray3-Fan1"
"name": "FanTray3-Fan1",
"speed": {
"controllable": true,
"minimum": 40
}
},
{
"name": "FanTray3-Fan2"
"name": "FanTray3-Fan2",
"speed": {
"controllable": true,
"minimum": 40
}
}
]
}
],
"psus": [
{
"name": "PSU1",
"status_led": {
"controllable": false
},
"fans": [
{
"name": "PSU1 Fan"
"name": "PSU1 Fan",
"speed": {
"controllable": true,
"minimum": 40
}
}
],
"thermals": [
{
"name": "PSU1-Sensor 1"
"name": "PSU1-Sensor 1",
"controllable": false
},
{
"name": "PSU1-Sensor 2"
"name": "PSU1-Sensor 2",
"controllable": false
}
]
},
{
"name": "PSU2",
"status_led": {
"controllable": false
},
"fans": [
{
"name": "PSU2 Fan"
"name": "PSU2 Fan",
"speed": {
"controllable": true,
"minimum": 40
}
}
],
"thermals": [
{
"name": "PSU2-Sensor 1"
"name": "PSU2-Sensor 1",
"controllable": false
},
{
"name": "PSU2-Sensor 2"
"name": "PSU2-Sensor 2",
"controllable": false
}
]
}
],
"thermals": [
{
"name": "ASIC On-board"
"name": "ASIC On-board",
"controllable": false
},
{
"name": "NIC"
"name": "NIC",
"controllable": false
},
{
"name": "System Front"
"name": "System Front",
"controllable": false
},
{
"name": "DIMM"
"name": "DIMM",
"controllable": false
},
{
"name": "CPU Core 0"
"name": "CPU Core 0",
"controllable": false
},
{
"name": "CPU Core 1"
"name": "CPU Core 1",
"controllable": false
}
],
"modules": [],
Expand Down
Loading

0 comments on commit f4c3aa4

Please sign in to comment.