configurations: Add virtual sensor to Bellavista

Add a new virtual sensor that is the median temperature of the processor
cores.  It has a hard shutdown threshold so system can be powered off if
the cores get too hot. That is the sole reason for the sensor.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ic91609996b712ac795183f7c3e2d5035d56ab4f2
diff --git a/configurations/bellavista.json b/configurations/bellavista.json
index 9ff6835..23bc2a1 100644
--- a/configurations/bellavista.json
+++ b/configurations/bellavista.json
@@ -29,6 +29,280 @@
             "Type": "IBMCFFPSConnector"
         },
         {
+            "MaxValue": 128,
+            "MinValue": -127,
+            "Name": "Processor Core Median Temp",
+            "Sensors": [
+                "proc0_core0_0_temp",
+                "proc0_core0_1_temp",
+                "proc0_core10_0_temp",
+                "proc0_core10_1_temp",
+                "proc0_core11_0_temp",
+                "proc0_core11_1_temp",
+                "proc0_core12_0_temp",
+                "proc0_core12_1_temp",
+                "proc0_core13_0_temp",
+                "proc0_core13_1_temp",
+                "proc0_core14_0_temp",
+                "proc0_core14_1_temp",
+                "proc0_core15_0_temp",
+                "proc0_core15_1_temp",
+                "proc0_core1_0_temp",
+                "proc0_core1_1_temp",
+                "proc0_core2_0_temp",
+                "proc0_core2_1_temp",
+                "proc0_core3_0_temp",
+                "proc0_core3_1_temp",
+                "proc0_core4_0_temp",
+                "proc0_core4_1_temp",
+                "proc0_core5_0_temp",
+                "proc0_core5_1_temp",
+                "proc0_core6_0_temp",
+                "proc0_core6_1_temp",
+                "proc0_core7_0_temp",
+                "proc0_core7_1_temp",
+                "proc0_core8_0_temp",
+                "proc0_core8_1_temp",
+                "proc0_core9_0_temp",
+                "proc0_core9_1_temp",
+                "proc1_core0_0_temp",
+                "proc1_core0_1_temp",
+                "proc1_core10_0_temp",
+                "proc1_core10_1_temp",
+                "proc1_core11_0_temp",
+                "proc1_core11_1_temp",
+                "proc1_core12_0_temp",
+                "proc1_core12_1_temp",
+                "proc1_core13_0_temp",
+                "proc1_core13_1_temp",
+                "proc1_core14_0_temp",
+                "proc1_core14_1_temp",
+                "proc1_core15_0_temp",
+                "proc1_core15_1_temp",
+                "proc1_core1_0_temp",
+                "proc1_core1_1_temp",
+                "proc1_core2_0_temp",
+                "proc1_core2_1_temp",
+                "proc1_core3_0_temp",
+                "proc1_core3_1_temp",
+                "proc1_core4_0_temp",
+                "proc1_core4_1_temp",
+                "proc1_core5_0_temp",
+                "proc1_core5_1_temp",
+                "proc1_core6_0_temp",
+                "proc1_core6_1_temp",
+                "proc1_core7_0_temp",
+                "proc1_core7_1_temp",
+                "proc1_core8_0_temp",
+                "proc1_core8_1_temp",
+                "proc1_core9_0_temp",
+                "proc1_core9_1_temp",
+                "proc2_core0_0_temp",
+                "proc2_core0_1_temp",
+                "proc2_core10_0_temp",
+                "proc2_core10_1_temp",
+                "proc2_core11_0_temp",
+                "proc2_core11_1_temp",
+                "proc2_core12_0_temp",
+                "proc2_core12_1_temp",
+                "proc2_core13_0_temp",
+                "proc2_core13_1_temp",
+                "proc2_core14_0_temp",
+                "proc2_core14_1_temp",
+                "proc2_core15_0_temp",
+                "proc2_core15_1_temp",
+                "proc2_core1_0_temp",
+                "proc2_core1_1_temp",
+                "proc2_core2_0_temp",
+                "proc2_core2_1_temp",
+                "proc2_core3_0_temp",
+                "proc2_core3_1_temp",
+                "proc2_core4_0_temp",
+                "proc2_core4_1_temp",
+                "proc2_core5_0_temp",
+                "proc2_core5_1_temp",
+                "proc2_core6_0_temp",
+                "proc2_core6_1_temp",
+                "proc2_core7_0_temp",
+                "proc2_core7_1_temp",
+                "proc2_core8_0_temp",
+                "proc2_core8_1_temp",
+                "proc2_core9_0_temp",
+                "proc2_core9_1_temp",
+                "proc3_core0_0_temp",
+                "proc3_core0_1_temp",
+                "proc3_core10_0_temp",
+                "proc3_core10_1_temp",
+                "proc3_core11_0_temp",
+                "proc3_core11_1_temp",
+                "proc3_core12_0_temp",
+                "proc3_core12_1_temp",
+                "proc3_core13_0_temp",
+                "proc3_core13_1_temp",
+                "proc3_core14_0_temp",
+                "proc3_core14_1_temp",
+                "proc3_core15_0_temp",
+                "proc3_core15_1_temp",
+                "proc3_core1_0_temp",
+                "proc3_core1_1_temp",
+                "proc3_core2_0_temp",
+                "proc3_core2_1_temp",
+                "proc3_core3_0_temp",
+                "proc3_core3_1_temp",
+                "proc3_core4_0_temp",
+                "proc3_core4_1_temp",
+                "proc3_core5_0_temp",
+                "proc3_core5_1_temp",
+                "proc3_core6_0_temp",
+                "proc3_core6_1_temp",
+                "proc3_core7_0_temp",
+                "proc3_core7_1_temp",
+                "proc3_core8_0_temp",
+                "proc3_core8_1_temp",
+                "proc3_core9_0_temp",
+                "proc3_core9_1_temp",
+                "proc4_core0_0_temp",
+                "proc4_core0_1_temp",
+                "proc4_core10_0_temp",
+                "proc4_core10_1_temp",
+                "proc4_core11_0_temp",
+                "proc4_core11_1_temp",
+                "proc4_core12_0_temp",
+                "proc4_core12_1_temp",
+                "proc4_core13_0_temp",
+                "proc4_core13_1_temp",
+                "proc4_core14_0_temp",
+                "proc4_core14_1_temp",
+                "proc4_core15_0_temp",
+                "proc4_core15_1_temp",
+                "proc4_core1_0_temp",
+                "proc4_core1_1_temp",
+                "proc4_core2_0_temp",
+                "proc4_core2_1_temp",
+                "proc4_core3_0_temp",
+                "proc4_core3_1_temp",
+                "proc4_core4_0_temp",
+                "proc4_core4_1_temp",
+                "proc4_core5_0_temp",
+                "proc4_core5_1_temp",
+                "proc4_core6_0_temp",
+                "proc4_core6_1_temp",
+                "proc4_core7_0_temp",
+                "proc4_core7_1_temp",
+                "proc4_core8_0_temp",
+                "proc4_core8_1_temp",
+                "proc4_core9_0_temp",
+                "proc4_core9_1_temp",
+                "proc5_core0_0_temp",
+                "proc5_core0_1_temp",
+                "proc5_core10_0_temp",
+                "proc5_core10_1_temp",
+                "proc5_core11_0_temp",
+                "proc5_core11_1_temp",
+                "proc5_core12_0_temp",
+                "proc5_core12_1_temp",
+                "proc5_core13_0_temp",
+                "proc5_core13_1_temp",
+                "proc5_core14_0_temp",
+                "proc5_core14_1_temp",
+                "proc5_core15_0_temp",
+                "proc5_core15_1_temp",
+                "proc5_core1_0_temp",
+                "proc5_core1_1_temp",
+                "proc5_core2_0_temp",
+                "proc5_core2_1_temp",
+                "proc5_core3_0_temp",
+                "proc5_core3_1_temp",
+                "proc5_core4_0_temp",
+                "proc5_core4_1_temp",
+                "proc5_core5_0_temp",
+                "proc5_core5_1_temp",
+                "proc5_core6_0_temp",
+                "proc5_core6_1_temp",
+                "proc5_core7_0_temp",
+                "proc5_core7_1_temp",
+                "proc5_core8_0_temp",
+                "proc5_core8_1_temp",
+                "proc5_core9_0_temp",
+                "proc5_core9_1_temp",
+                "proc6_core0_0_temp",
+                "proc6_core0_1_temp",
+                "proc6_core10_0_temp",
+                "proc6_core10_1_temp",
+                "proc6_core11_0_temp",
+                "proc6_core11_1_temp",
+                "proc6_core12_0_temp",
+                "proc6_core12_1_temp",
+                "proc6_core13_0_temp",
+                "proc6_core13_1_temp",
+                "proc6_core14_0_temp",
+                "proc6_core14_1_temp",
+                "proc6_core15_0_temp",
+                "proc6_core15_1_temp",
+                "proc6_core1_0_temp",
+                "proc6_core1_1_temp",
+                "proc6_core2_0_temp",
+                "proc6_core2_1_temp",
+                "proc6_core3_0_temp",
+                "proc6_core3_1_temp",
+                "proc6_core4_0_temp",
+                "proc6_core4_1_temp",
+                "proc6_core5_0_temp",
+                "proc6_core5_1_temp",
+                "proc6_core6_0_temp",
+                "proc6_core6_1_temp",
+                "proc6_core7_0_temp",
+                "proc6_core7_1_temp",
+                "proc6_core8_0_temp",
+                "proc6_core8_1_temp",
+                "proc6_core9_0_temp",
+                "proc6_core9_1_temp",
+                "proc7_core0_0_temp",
+                "proc7_core0_1_temp",
+                "proc7_core10_0_temp",
+                "proc7_core10_1_temp",
+                "proc7_core11_0_temp",
+                "proc7_core11_1_temp",
+                "proc7_core12_0_temp",
+                "proc7_core12_1_temp",
+                "proc7_core13_0_temp",
+                "proc7_core13_1_temp",
+                "proc7_core14_0_temp",
+                "proc7_core14_1_temp",
+                "proc7_core15_0_temp",
+                "proc7_core15_1_temp",
+                "proc7_core1_0_temp",
+                "proc7_core1_1_temp",
+                "proc7_core2_0_temp",
+                "proc7_core2_1_temp",
+                "proc7_core3_0_temp",
+                "proc7_core3_1_temp",
+                "proc7_core4_0_temp",
+                "proc7_core4_1_temp",
+                "proc7_core5_0_temp",
+                "proc7_core5_1_temp",
+                "proc7_core6_0_temp",
+                "proc7_core6_1_temp",
+                "proc7_core7_0_temp",
+                "proc7_core7_1_temp",
+                "proc7_core8_0_temp",
+                "proc7_core8_1_temp",
+                "proc7_core9_0_temp",
+                "proc7_core9_1_temp"
+            ],
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 10,
+                    "Name": "HardShutdown",
+                    "Severity": 4,
+                    "Value": 110
+                }
+            ],
+            "Type": "ModifiedMedian",
+            "Units": "DegreesC"
+        },
+        {
             "Address": "0x48",
             "Bus": 8,
             "Name": "PCIE 0 Temp",