Update dbus-property for OS IPL mode state sensor change

When there is a OS IPL mode sensor state change event from PHYP,
the event state value needs to be updated in OSIPLMode dbus property
hosted by com.ibm.PanelApp service.

This commit updates oem state sensor json with the OS IPL Mode sensor
info with the corresponding panel dbus property that needs to get updated.

Test:
Tested on rainier.
case 1: Set OS IPL mode sensor state as ENABLED

root@p10bmc:/tmp# busctl get-property com.ibm.PanelApp /com/ibm/panel_app com.ibm.panel  OSIPLMode
b false
root@p10bmc:/tmp#
root@p10bmc:/tmp# pldmtool raw --data 0x80 0x02 0x0A 0x01 0xD0 0x00 0x05 0x00 0x01 0x00 0x01 0x02
pldmtool: Tx: 08 01 80 02 0a 01 d0 00 05 00 01 00 01 02
pldmtool: Rx: 08 01 00 02 0a 00 00
root@p10bmc:/tmp#
root@p10bmc:/tmp# busctl get-property com.ibm.PanelApp /com/ibm/panel_app com.ibm.panel  OSIPLMode
b true

case 2: Set OS IPL mode sensor state as DISABLED

root@p10bmc:/tmp# busctl get-property com.ibm.PanelApp /com/ibm/panel_app com.ibm.panel  OSIPLMode
b true
root@p10bmc:/tmp# pldmtool raw --data 0x80 0x02 0x0A 0x01 0xD0 0x00 0x05 0x00 0x01 0x00 0x02 0x01
pldmtool: Tx: 08 01 80 02 0a 01 d0 00 05 00 01 00 02 01
pldmtool: Rx: 08 01 00 02 0a 00 00
root@p10bmc:/tmp#
root@p10bmc:/tmp# busctl get-property com.ibm.PanelApp /com/ibm/panel_app com.ibm.panel  OSIPLMode
b false
root@p10bmc:/tmp#

Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: Ica7812138b34e449bcca5aa52673acc726975caf
diff --git a/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json b/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
index b32f207..8eb25f8 100644
--- a/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
+++ b/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
@@ -43,6 +43,27 @@
                     false
                 ]
             }
+        },
+        {
+            "containerID": 1,
+            "entityType": 32801,
+            "entityInstance": 0,
+            "sensorOffset": 0,
+            "stateSetId": 32777,
+            "event_states":[
+                1,
+                2
+            ],
+            "dbus": {
+                "object_path": "/com/ibm/panel_app",
+                "interface": "com.ibm.panel",
+                "property_name":  "OSIPLMode",
+                "property_type": "bool",
+                "property_values": [
+                    true,
+                    false
+                ]
+            }
         }
-     ]
+    ]
 }