Add index to fans
For dual rotar fans, its impossible to know what fan
is what index in the connector. Add index into fan
definition. Hopefully in the future we can remove this
field from the connector, but that requires changes to
the overlay generator.
Also run autojson
Change-Id: Ic5205650e0c2ecdc5883861702fe5e4a7fcb8e61
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/R2000 Chassis.json b/configurations/R2000 Chassis.json
index f0dc3a2..7743b77 100644
--- a/configurations/R2000 Chassis.json
+++ b/configurations/R2000 Chassis.json
@@ -2,6 +2,7 @@
"exposes": [
{
"bind_connector": "2U System Fan connector 1",
+ "index": 0,
"name": "Fan 1",
"thresholds": [
{
@@ -21,6 +22,7 @@
},
{
"bind_connector": "2U System Fan connector 2",
+ "index": 1,
"name": "Fan 2",
"thresholds": [
{
@@ -40,6 +42,7 @@
},
{
"bind_connector": "2U System Fan connector 3",
+ "index": 2,
"name": "Fan 3",
"thresholds": [
{
@@ -59,6 +62,7 @@
},
{
"bind_connector": "2U System Fan connector 4",
+ "index": 3,
"name": "Fan 4",
"thresholds": [
{
@@ -78,6 +82,7 @@
},
{
"bind_connector": "2U System Fan connector 5",
+ "index": 4,
"name": "Fan 5",
"thresholds": [
{
@@ -97,6 +102,7 @@
},
{
"bind_connector": "2U System Fan connector 6",
+ "index": 5,
"name": "Fan 6",
"thresholds": [
{