faecf38417
Why I did it S5212F - Platform API 2.0 changes S5224F - Platform API 2.0 changes How I did it Implemented the functional API's needed for Platform API 2.0 Added media_settings.json, pcie.yaml, platform.json, system_health_monitoring_config.json files. How to verify it Used the API 2.0 test suite to validate the test cases.
343 lines
7.3 KiB
JSON
343 lines
7.3 KiB
JSON
{
|
|
"chassis": {
|
|
"name": "S5212F-ON",
|
|
"status_led": {
|
|
"controllable": true,
|
|
"colors": ["blinking_green", "green", "amber", "blinking_amber"]
|
|
},
|
|
"thermal_manager": false,
|
|
"components": [
|
|
{
|
|
"name": "BIOS"
|
|
},
|
|
{
|
|
"name": "FPGA"
|
|
},
|
|
{
|
|
"name": "BMC"
|
|
},
|
|
{
|
|
"name": "System CPLD"
|
|
},
|
|
{
|
|
"name": "Slave CPLD 1"
|
|
}
|
|
],
|
|
"fans": [
|
|
{
|
|
"name": "FanTray1-Fan1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray1-Fan2",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray2-Fan1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray2-Fan2",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray3-Fan1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray3-Fan2",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray4-Fan1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray4-Fan2",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
}
|
|
],
|
|
"fan_drawers":[
|
|
{
|
|
"name": "FanTray1",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "FanTray1-Fan1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray1-Fan2",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FanTray2",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "FanTray2-Fan1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray2-Fan2",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FanTray3",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "FanTray3-Fan1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray3-Fan2",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FanTray4",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "FanTray4-Fan1",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
},
|
|
{
|
|
"name": "FanTray4-Fan2",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"psus": [
|
|
{
|
|
"name": "PSU1",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "PSU1 Fan",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "PSU2",
|
|
"status_led": {
|
|
"controllable": false
|
|
},
|
|
"fans": [
|
|
{
|
|
"name": "PSU2 Fan",
|
|
"speed": {
|
|
"controllable": false
|
|
},
|
|
"status_led": {
|
|
"available": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thermals": [
|
|
{
|
|
"name": "CPU On-board",
|
|
"controllable": false,
|
|
"low-crit-threshold": false,
|
|
"high-threshold": false,
|
|
"minimum-recorded": false,
|
|
"maximum-recorded": false
|
|
},
|
|
{
|
|
"name": "ASIC On-board",
|
|
"controllable": false,
|
|
"low-crit-threshold": false,
|
|
"high-threshold": false,
|
|
"minimum-recorded": false,
|
|
"maximum-recorded": false
|
|
},
|
|
{
|
|
"name": "System Front Left",
|
|
"controllable": false,
|
|
"low-crit-threshold": false,
|
|
"high-threshold": false,
|
|
"minimum-recorded": false,
|
|
"maximum-recorded": false
|
|
},
|
|
{
|
|
"name": "System Front Middle",
|
|
"controllable": false,
|
|
"low-crit-threshold": false,
|
|
"high-threshold": false,
|
|
"minimum-recorded": false,
|
|
"maximum-recorded": false
|
|
},
|
|
{
|
|
"name": "System Front Right",
|
|
"controllable": false,
|
|
"low-crit-threshold": false,
|
|
"high-threshold": false,
|
|
"minimum-recorded": false,
|
|
"maximum-recorded": false
|
|
},
|
|
{
|
|
"name": "Inlet Airflow Sensor",
|
|
"controllable": false,
|
|
"low-crit-threshold": false,
|
|
"high-threshold": false,
|
|
"minimum-recorded": false,
|
|
"maximum-recorded": false
|
|
}
|
|
],
|
|
"modules": [],
|
|
"sfps": [
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "SFP/SFP+/SFP28"
|
|
},
|
|
{
|
|
"name": "QSFP28 or later"
|
|
},
|
|
{
|
|
"name": "QSFP28 or later"
|
|
},
|
|
{
|
|
"name": "QSFP28 or later"
|
|
}
|
|
]
|
|
},
|
|
"interfaces": {}
|
|
}
|