meta-facebook: format JSON with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib44e34dca94b94a04e47f638ef1e9bd5b8920ece
diff --git a/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json
index f079091..5416be7 100644
--- a/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json
+++ b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json
@@ -1,2 +1,8 @@
-{"id": 32, "revision": 129, "addn_dev_support": 191,
- "manuf_id": 40981, "prod_id": 12614, "aux": 0}
+{
+ "id": 32,
+ "revision": 129,
+ "addn_dev_support": 191,
+ "manuf_id": 40981,
+ "prod_id": 12614,
+ "aux": 0
+}
diff --git a/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
index a394fae..17dacba 100644
--- a/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
+++ b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
@@ -1,46 +1,39 @@
[
- {
- "Desc" :
- {
- "Name" : "Virtual_Inlet_Temp",
- "SensorType" : "temperature"
- },
- "Threshold" :
- {
- "CriticalHigh": 90,
- "CriticalLow": 20,
- "WarningHigh": 70,
- "WarningLow": 30
- },
- "Params":
- {
- "ConstParam" :
- [
- {
- "ParamName" : "P1",
- "Value" : 1.1
- }
- ],
- "DbusParam" :
- [
- {
- "ParamName" : "P2",
- "Desc" :
- {
- "Name" : "MB_INLET_TEMP",
- "SensorType" : "temperature"
- }
- },
- {
- "ParamName" : "P3",
- "Desc" :
- {
- "Name" : "MB_FAN0_TACH",
- "SensorType" : "fan_tach"
- }
- }
- ]
- },
- "Expression" : "P1 * (P2 + 5 - P3 * 0.01)"
- }
+ {
+ "Desc": {
+ "Name": "Virtual_Inlet_Temp",
+ "SensorType": "temperature"
+ },
+ "Threshold": {
+ "CriticalHigh": 90,
+ "CriticalLow": 20,
+ "WarningHigh": 70,
+ "WarningLow": 30
+ },
+ "Params": {
+ "ConstParam": [
+ {
+ "ParamName": "P1",
+ "Value": 1.1
+ }
+ ],
+ "DbusParam": [
+ {
+ "ParamName": "P2",
+ "Desc": {
+ "Name": "MB_INLET_TEMP",
+ "SensorType": "temperature"
+ }
+ },
+ {
+ "ParamName": "P3",
+ "Desc": {
+ "Name": "MB_FAN0_TACH",
+ "SensorType": "fan_tach"
+ }
+ }
+ ]
+ },
+ "Expression": "P1 * (P2 + 5 - P3 * 0.01)"
+ }
]
diff --git a/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json
index c56712d..8864f9c 100644
--- a/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json
+++ b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json
@@ -1,51 +1,43 @@
[
- {
- "Desc" :
- {
- "Name" : "Virtual_CFM_Sensor",
- "SensorType" : "airflow"
- },
- "Threshold" :
- {
- "CriticalHigh": 40,
- "CriticalLow": 10,
- "WarningHigh": 30,
- "WarningLow": 15
- },
- "Params":
- {
- "ConstParam" :
- [
- {
- "ParamName" : "P1",
- "Value" : 0.00565
- },
- {
- "ParamName" : "P2",
- "Value" : 3.7427
- }
- ],
- "DbusParam" :
- [
- {
- "ParamName" : "P3",
- "Desc" :
- {
- "Name" : "SP_FAN0_TACH",
- "SensorType" : "fan_tach"
- }
- },
- {
- "ParamName" : "P4",
- "Desc" :
- {
- "Name" : "SP_FAN1_TACH",
- "SensorType" : "fan_tach"
- }
- }
- ]
- },
- "Expression" : "(P3 * P1) + (P4 * P1) - P2"
- }
+ {
+ "Desc": {
+ "Name": "Virtual_CFM_Sensor",
+ "SensorType": "airflow"
+ },
+ "Threshold": {
+ "CriticalHigh": 40,
+ "CriticalLow": 10,
+ "WarningHigh": 30,
+ "WarningLow": 15
+ },
+ "Params": {
+ "ConstParam": [
+ {
+ "ParamName": "P1",
+ "Value": 0.00565
+ },
+ {
+ "ParamName": "P2",
+ "Value": 3.7427
+ }
+ ],
+ "DbusParam": [
+ {
+ "ParamName": "P3",
+ "Desc": {
+ "Name": "SP_FAN0_TACH",
+ "SensorType": "fan_tach"
+ }
+ },
+ {
+ "ParamName": "P4",
+ "Desc": {
+ "Name": "SP_FAN1_TACH",
+ "SensorType": "fan_tach"
+ }
+ }
+ ]
+ },
+ "Expression": "(P3 * P1) + (P4 * P1) - P2"
+ }
]
-