configurations: add Host effecter JSONs
This commit adds a JSON related to host effecters.
There is code, that on finding the JSON, will set
relevant host effecter when the associated D-Bus
property is set in the BMC.
Change-Id: I38e6cfaf0213797bd069cf23d9fd2bbad4fde45e
Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
diff --git a/configurations/host/dbus_to_host_effecter.json b/configurations/host/dbus_to_host_effecter.json
new file mode 100644
index 0000000..dd95b17
--- /dev/null
+++ b/configurations/host/dbus_to_host_effecter.json
@@ -0,0 +1,37 @@
+{
+ "entries": [
+ {
+ "mctp_eid": 9,
+ "effecter_info": {
+ "effecterID": 4,
+ "containerID": 0,
+ "entityType": 33,
+ "entityInstance": 0,
+ "compositeEffecterCount": 1
+ },
+ "effecters": [
+ {
+ "dbus_info": {
+ "object_path": "/xyz/openbmc_project/control/host0/boot",
+ "interface": "xyz.openbmc_project.Control.Boot.Mode",
+ "property_name": "BootMode",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.Control.Boot.Mode.Modes.Regular"
+ ]
+ },
+ "state" : {
+ "id" : 196,
+ "state_values": [
+ 2
+ ]
+ }
+ }
+
+ ]
+
+ }
+
+ ]
+
+}
diff --git a/configurations/meson.build b/configurations/meson.build
index b61bf75..4acb650 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -14,3 +14,5 @@
endif
install_subdir('pdr', install_dir: packagedir)
+
+install_subdir('host', install_dir: packagedir)