configurations: move more configs in-repo
Move configs from openbmc/openbmc's PLDM recipe dirs to the PLDM
repository.
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I36afe9a6717e1135219253fb0fe8c60b5f623935
diff --git a/configurations/events/event_state_sensor.json b/configurations/events/event_state_sensor.json
new file mode 100755
index 0000000..aecb474
--- /dev/null
+++ b/configurations/events/event_state_sensor.json
@@ -0,0 +1,44 @@
+{
+ "entries": [
+ {
+ "containerID": 0,
+ "entityType": 67,
+ "entityInstance": 1,
+ "sensorOffset": 0,
+ "event_states": [
+ 3,
+ 4
+ ],
+ "dbus": {
+ "object_path": "/org/open_power/control/occ0",
+ "interface": "org.open_power.OCC.Status",
+ "property_name": "OccActive",
+ "property_type": "bool",
+ "property_values": [
+ false,
+ true
+ ]
+ }
+ },
+ {
+ "containerID": 0,
+ "entityType": 67,
+ "entityInstance": 2,
+ "sensorOffset": 0,
+ "event_states": [
+ 3,
+ 4
+ ],
+ "dbus": {
+ "object_path": "/org/open_power/control/occ1",
+ "interface": "org.open_power.OCC.Status",
+ "property_name": "OccActive",
+ "property_type": "bool",
+ "property_values": [
+ false,
+ true
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/configurations/host/host_frus.json b/configurations/host/host_frus.json
new file mode 100644
index 0000000..3181f42
--- /dev/null
+++ b/configurations/host/host_frus.json
@@ -0,0 +1,20 @@
+{
+ "entities":[
+ {
+ "entity_type" : 66,
+ "parent":
+ {
+ "entity_type" : 64,
+ "entity_instance" : 1
+ }
+ },
+ {
+ "entity_type" : 67,
+ "parent":
+ {
+ "entity_type" : 64,
+ "entity_instance" : 1
+ }
+ }
+ ]
+}
diff --git a/configurations/meson.build b/configurations/meson.build
index 4acb650..10ec58d 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -11,8 +11,13 @@
install_subdir('fru', install_dir: packagedir)
if get_option('oem-ibm').enabled()
install_subdir('../oem/ibm/configurations/fru', install_dir: packagedir)
+ install_data('../oem/ibm/configurations/fileTable.json',
+ install_dir: packagedir)
+ install_data('../oem/ibm/configurations/host_eid', install_dir: packagedir)
endif
install_subdir('pdr', install_dir: packagedir)
install_subdir('host', install_dir: packagedir)
+
+install_subdir('events', install_dir: packagedir)
diff --git a/oem/ibm/configurations/fileTable.json b/oem/ibm/configurations/fileTable.json
new file mode 100755
index 0000000..9d9750a
--- /dev/null
+++ b/oem/ibm/configurations/fileTable.json
@@ -0,0 +1,10 @@
+[
+ {
+ "path":"/var/lib/pldm/PHYP-NVRAM",
+ "file_traits":1
+ },
+ {
+ "path":"/var/lib/pldm/PHYP-NVRAM-CKSUM",
+ "file_traits":4
+ }
+]
diff --git a/oem/ibm/configurations/host_eid b/oem/ibm/configurations/host_eid
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/oem/ibm/configurations/host_eid
@@ -0,0 +1 @@
+9