Skip to content

Commit

Permalink
[BFN] Fans and Fantray platform APIs update (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
KostiantynYarovyiBf authored and Your Name committed Dec 22, 2021
1 parent b37f657 commit 365e7ea
Show file tree
Hide file tree
Showing 5 changed files with 949 additions and 62 deletions.
269 changes: 246 additions & 23 deletions device/barefoot/x86_64-accton_as9516_32d-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,272 @@
"name": "Newport",
"fans": [
{
"name": "counter-rotating-fan-1"
},
{
"name": "counter-rotating-fan-2"
},
"name": "FAN-1F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-1R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-2F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-2R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-3F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-3R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-4F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-4R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-5F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-5R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-6F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-6R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
}
],
"fan_drawers":[
{
"name": "counter-rotating-fan-3"
"name": "fantray-1",
"status_led": {
"controllable": false
},
"fans": [
{
"name": "FAN-1F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-1R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
}
]
},
{
"name": "counter-rotating-fan-4"
"name": "fantray-2",
"status_led": {
"controllable": false
},
"fans": [
{
"name": "FAN-2F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-2R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
}
]
},
{
"name": "counter-rotating-fan-5"
"name": "fantray-3",
"status_led": {
"controllable": false
},
"fans": [
{
"name": "FAN-3F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "FAN-3R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
}
]
},
{
"name": "counter-rotating-fan-6"
}
],
"fan_drawers":[
{
"name": "fantray",
"num_fans" : 6,
"name": "fantray-4",
"status_led": {
"controllable": false
},
"fans": [
{
"name": "counter-rotating-fan-1"
"name": "FAN-4F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "counter-rotating-fan-2"
},
"name": "FAN-4R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
}
]
},
{
"name": "fantray-5",
"status_led": {
"controllable": false
},
"fans": [
{
"name": "counter-rotating-fan-3"
"name": "FAN-5F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "counter-rotating-fan-4"
},
"name": "FAN-5R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
}
]
},
{
"name": "fantray-6",
"status_led": {
"controllable": false
},
"fans": [
{
"name": "counter-rotating-fan-5"
"name": "FAN-6F",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
},
{
"name": "counter-rotating-fan-6"
"name": "FAN-6R",
"status_led": {
"controllable": false
},
"speed": {
"controllable": false
}
}
]
}

],
"psus": [
{
Expand Down
Loading

0 comments on commit 365e7ea

Please sign in to comment.