Skip to content

Commit

Permalink
In platform.json, replaced 'false' with '0' to workaround ast.literal…
Browse files Browse the repository at this point in the history
…_eval() issue

Signed-off-by: Andriy Kokhan <andriyx.kokhan@intel.com>
  • Loading branch information
Andriy Kokhan authored and Your Name committed Dec 22, 2021
1 parent ec5afc4 commit 1e73127
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 51 deletions.
56 changes: 28 additions & 28 deletions device/barefoot/x86_64-accton_as9516_32d-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,117 +5,117 @@
{
"name": "counter-rotating-fan-1",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-2",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-3",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-4",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-5",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-6",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
}
],
"fan_drawers": [
{
"name": "fantray-1",
"status_led": {
"controllable": false
"controllable": 0
},
"fans": [
{
"name": "counter-rotating-fan-1",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-2",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-3",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-4",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-5",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-6",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
}
]
Expand All @@ -124,11 +124,11 @@
"psus": [
{
"name": "psu-1",
"temperature": false
"temperature": 0
},
{
"name": "psu-2",
"temperature": false
"temperature": 0
}
],
"thermals": [
Expand Down Expand Up @@ -666,4 +666,4 @@
}
}
}
}
}
46 changes: 23 additions & 23 deletions device/barefoot/x86_64-accton_wedge100bf_32x-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,99 +5,99 @@
{
"name": "counter-rotating-fan-1",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-2",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-3",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-4",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-5",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
}
],
"fan_drawers": [
{
"name": "fantray-1",
"status_led": {
"controllable": false
"controllable": 0
},
"fans": [
{
"name": "counter-rotating-fan-1",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-2",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-3",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-4",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
},
{
"name": "counter-rotating-fan-5",
"status_led": {
"controllable": false
"controllable": 0
},
"speed": {
"controllable": false
"controllable": 0
}
}
]
Expand All @@ -106,11 +106,11 @@
"psus": [
{
"name": "psu-1",
"temperature": false
"temperature": 0
},
{
"name": "psu-2",
"temperature": false
"temperature": 0
}
],
"thermals": [
Expand Down

0 comments on commit 1e73127

Please sign in to comment.