LockOut: add events for Lock-Out / Tag-Out style devices
It is common practice for dangerous machinery to have a Lock-Out-Tag-Out
process (LOTO) to prevent the system from operating while the machine
is being worked on. Servers may have Lock-Out style devices to prevent
either power or liquid cooling operations while the system is in
service. For example, a switch may disable all liquid cooling pumps so
that the coolant does not pump onto the floor while coolant lines are
being repaired.
Add events to indicate the state of a Lock-Out style device.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9ae6cfe02ed492c02e6f19725955ff6b0f0e7afa
diff --git a/yaml/xyz/openbmc_project/State/LockOut.events.yaml b/yaml/xyz/openbmc_project/State/LockOut.events.yaml
new file mode 100644
index 0000000..8e6b384
--- /dev/null
+++ b/yaml/xyz/openbmc_project/State/LockOut.events.yaml
@@ -0,0 +1,21 @@
+version: 1.0.0
+
+events:
+ - name: LockOutEnabled
+ metadata:
+ - name: Identifier
+ type: object_path
+ primary: true
+ description: The name or identifier of the Lock Out device.
+ en:
+ description: A Lock Out device has been enabled.
+ message: The Lock Out device '{Identifier}' has been enabled.
+ - name: LockOutDisabled
+ metadata:
+ - name: Identifier
+ type: object_path
+ primary: true
+ description: The name or identifier of the Lock Out device.
+ en:
+ description: A Lock Out device has been disabled.
+ message: The Lock Out device '{Identifier}' has been disabled.