Skip to content

Commit

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

],
"psus": [
{
Expand Down
Loading

0 comments on commit d4551d5

Please sign in to comment.