VMI sensors: Add JSON changes to support VMI sensors

The handling for state sensor events for VMI network status sensors
were hardcoded. This patch makes the sensor handling for VMI sensors
data driven and also to handle for host sensors which are standard and
OEM. The OCC sensors handling is moved to openpower-occ-control app
so removing it from event_state_sensor.json file.

Tested:

By using pldmtool, the PlatformEventMessage is generated for VMI
sensors and verified the D-Bus propert in settings manager.

Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: I851573e54e2c1984bed142fdc1c2d40f37e544a9
diff --git a/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json b/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
new file mode 100644
index 0000000..1eb8c8a
--- /dev/null
+++ b/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
@@ -0,0 +1,44 @@
+{

+    "entries": [

+        {

+            "containerID": 0,

+            "entityType": 57346,

+            "entityInstance": 0,

+            "sensorOffset": 1,

+            "event_states": [

+                1,

+                2

+            ],

+            "dbus": {

+                "object_path": "/xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0",

+                "interface": "xyz.openbmc_project.Object.Enable",

+                "property_name": "Enabled",

+                "property_type": "bool",

+                "property_values": [

+                    true,

+                    false

+                ]

+            }

+        },

+        {

+            "containerID": 0,

+            "entityType": 57346,

+            "entityInstance": 1,

+            "sensorOffset": 1,

+            "event_states": [

+                1,

+                2

+            ],

+            "dbus": {

+                "object_path": "/xyz/openbmc_project/network/hypervisor/eth1/ipv4/addr0",

+                "interface": "xyz.openbmc_project.Object.Enable",

+                "property_name": "Enabled",

+                "property_type": "bool",

+                "property_values": [

+                    true,

+                    false

+                ]

+            }

+        }

+     ]

+}
\ No newline at end of file