summaryrefslogtreecommitdiff
path: root/meta-bytedance/meta-g220a/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json
diff options
context:
space:
mode:
Diffstat (limited to 'meta-bytedance/meta-g220a/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json')
-rw-r--r--meta-bytedance/meta-g220a/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json396
1 files changed, 396 insertions, 0 deletions
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json b/meta-bytedance/meta-g220a/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json
new file mode 100644
index 000000000..dec59d5fd
--- /dev/null
+++ b/meta-bytedance/meta-g220a/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json
@@ -0,0 +1,396 @@
+[
+ {
+ "Desc":
+ {
+ "Name": "total_power",
+ "SensorType": "power"
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "PSU0_Input_Power",
+ "SensorType": "power"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "PSU1_Input_Power",
+ "SensorType": "power"
+ }
+ }
+ ]
+ },
+ "Expression": "T0 + T1"
+ },
+ {
+ "Desc":
+ {
+ "Name": "P0_DIMM_VR_Pwr",
+ "SensorType": "power"
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "CPU0_DIMM_VR_0_Input_Power",
+ "SensorType": "power"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "CPU0_DIMM_VR_1_Input_Power",
+ "SensorType": "power"
+ }
+ }
+ ]
+ },
+ "Expression": "T0 + T1"
+ },
+ {
+ "Desc":
+ {
+ "Name": "P1_DIMM_VR_Pwr",
+ "SensorType": "power"
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "CPU1_DIMM_VR_0_Input_Power",
+ "SensorType": "power"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "CPU1_DIMM_VR_1_Input_Power",
+ "SensorType": "power"
+ }
+ }
+ ]
+ },
+ "Expression": "T0 + T1"
+ },
+ {
+ "Desc":
+ {
+ "Name": "CPU0_VR_Pwr",
+ "SensorType": "power"
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "CPU0_VR_0_Input_Power",
+ "SensorType": "power"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "CPU0_VR_1_Input_Power",
+ "SensorType": "power"
+ }
+ },
+ {
+ "ParamName": "T2",
+ "Desc":
+ {
+ "Name": "CPU0_VR_2_Input_Power",
+ "SensorType": "power"
+ }
+ }
+ ]
+ },
+ "Expression": "T0 + T1 + T2"
+ },
+ {
+ "Desc":
+ {
+ "Name": "CPU1_VR_Pwr",
+ "SensorType": "power"
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "CPU1_VR_0_Input_Power",
+ "SensorType": "power"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "CPU1_VR_1_Input_Power",
+ "SensorType": "power"
+ }
+ },
+ {
+ "ParamName": "T2",
+ "Desc":
+ {
+ "Name": "CPU1_VR_2_Input_Power",
+ "SensorType": "power"
+ }
+ }
+ ]
+ },
+ "Expression": "T0 + T1 + T2"
+ },
+ {
+ "Desc":
+ {
+ "Name": "P0_DIMM_VR_Temp",
+ "SensorType": "temperature"
+ },
+ "Threshold" :
+ {
+ "CriticalHigh": 125,
+ "WarningHigh": 105
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "CPU0_DIMM_VR_0_Temperature",
+ "SensorType": "temperature"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "CPU0_DIMM_VR_1_Temperature",
+ "SensorType": "temperature"
+ }
+ }
+ ]
+ },
+ "Expression": "max(T0, T1)"
+ },
+ {
+ "Desc":
+ {
+ "Name": "P1_DIMM_VR_Temp",
+ "SensorType": "temperature"
+ },
+ "Threshold" :
+ {
+ "CriticalHigh": 125,
+ "WarningHigh": 105
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "CPU1_DIMM_VR_0_Temperature",
+ "SensorType": "temperature"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "CPU1_DIMM_VR_1_Temperature",
+ "SensorType": "temperature"
+ }
+ }
+ ]
+ },
+ "Expression": "max(T0, T1)"
+ },
+ {
+ "Desc":
+ {
+ "Name": "CPU0_VR_Temp",
+ "SensorType": "temperature"
+ },
+ "Threshold" :
+ {
+ "CriticalHigh": 125,
+ "WarningHigh": 105
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "CPU0_VR_0_Temperature",
+ "SensorType": "temperature"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "CPU0_VR_1_Temperature",
+ "SensorType": "temperature"
+ }
+ },
+ {
+ "ParamName": "T2",
+ "Desc":
+ {
+ "Name": "CPU0_VR_2_Temperature",
+ "SensorType": "temperature"
+ }
+ }
+ ]
+ },
+ "Expression": "max(T0, T1, T2)"
+ },
+ {
+ "Desc":
+ {
+ "Name": "CPU1_VR_Temp",
+ "SensorType": "temperature"
+ },
+ "Threshold" :
+ {
+ "CriticalHigh": 125,
+ "WarningHigh": 105
+ },
+ "Associations":
+ [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/G220A"
+ ]
+ ],
+ "Params":
+ {
+ "DbusParam":
+ [
+ {
+ "ParamName": "T0",
+ "Desc":
+ {
+ "Name": "CPU1_VR_0_Temperature",
+ "SensorType": "temperature"
+ }
+ },
+ {
+ "ParamName": "T1",
+ "Desc":
+ {
+ "Name": "CPU1_VR_1_Temperature",
+ "SensorType": "temperature"
+ }
+ },
+ {
+ "ParamName": "T2",
+ "Desc":
+ {
+ "Name": "CPU1_VR_2_Temperature",
+ "SensorType": "temperature"
+ }
+ }
+ ]
+ },
+ "Expression": "max(T0, T1, T2)"
+ }
+]