Port in intel-dbus-interfaces content
This takes the com.intel.Control.* content from the
intel-dbus-interfaces repo and puts it into the yaml/com/intel subdir.
Tested:
meson build -Ddata_com_intel=true && ninja -C build
Configures and builds, creating a library with the
com.intel.Control.* interfaces in it (inspected using nm)
Change-Id: I42b07b734483a4a2c9ba89e1bcadbc08d5b074b5
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/yaml/com/intel/Control/OCOTShutdownPolicy.interface.yaml b/yaml/com/intel/Control/OCOTShutdownPolicy.interface.yaml
new file mode 100644
index 0000000..ccbb6e2
--- /dev/null
+++ b/yaml/com/intel/Control/OCOTShutdownPolicy.interface.yaml
@@ -0,0 +1,24 @@
+description: >
+ An interface for node shutdown policy on multi-node products.
+ It is used by Intel OEM IPMI command.
+properties:
+ - name: OCOTPolicy
+ type: enum[self.Policy]
+ description: >
+ Node shutdown policy on a power supply over current(OC)
+ or over temperature(OT) event,
+ Only available on multi-node products.
+
+ default: 'NoShutdownOnOCOT'
+
+enumerations:
+ - name: Policy
+ description: >
+ The type of shutdown policy.
+ values:
+ - name: 'NoShutdownOnOCOT'
+ description: >
+ Do not shutdown node on an OC/OT event.
+ - name: 'ShutdownOnOCOT'
+ description: >
+ Shutdown node on an OC/OT event.
\ No newline at end of file