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/R1000 Chassis.json b/configurations/R1000 Chassis.json
index 23331a6..fdb5d27 100644
--- a/configurations/R1000 Chassis.json
+++ b/configurations/R1000 Chassis.json
@@ -2,6 +2,7 @@
"exposes": [
{
"bind_connector": "1U System Fan connector 1",
+ "index": 0,
"name": "Fan 1a",
"thresholds": [
{
@@ -21,6 +22,7 @@
},
{
"bind_connector": "1U System Fan connector 1",
+ "index": 1,
"name": "Fan 1b",
"thresholds": [
{
@@ -40,6 +42,7 @@
},
{
"bind_connector": "1U System Fan connector 2",
+ "index": 2,
"name": "Fan 2a",
"thresholds": [
{
@@ -59,6 +62,7 @@
},
{
"bind_connector": "1U System Fan connector 2",
+ "index": 3,
"name": "Fan 2b",
"thresholds": [
{
@@ -78,6 +82,7 @@
},
{
"bind_connector": "1U System Fan connector 3",
+ "index": 4,
"name": "Fan 3a",
"thresholds": [
{
@@ -97,6 +102,7 @@
},
{
"bind_connector": "1U System Fan connector 3",
+ "index": 5,
"name": "Fan 3b",
"thresholds": [
{
@@ -116,6 +122,7 @@
},
{
"bind_connector": "1U System Fan connector 4",
+ "index": 6,
"name": "Fan 4a",
"thresholds": [
{
@@ -135,6 +142,7 @@
},
{
"bind_connector": "1U System Fan connector 4",
+ "index": 7,
"name": "Fan 4b",
"thresholds": [
{
@@ -154,6 +162,7 @@
},
{
"bind_connector": "1U System Fan connector 5",
+ "index": 8,
"name": "Fan 5a",
"thresholds": [
{
@@ -173,6 +182,7 @@
},
{
"bind_connector": "1U System Fan connector 5",
+ "index": 9,
"name": "Fan 5b",
"thresholds": [
{
@@ -192,6 +202,7 @@
},
{
"bind_connector": "1U System Fan connector 6",
+ "index": 10,
"name": "Fan 6a",
"thresholds": [
{
@@ -211,6 +222,7 @@
},
{
"bind_connector": "1U System Fan connector 6",
+ "index": 11,
"name": "Fan 6b",
"thresholds": [
{