summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Chassis/Buttons
diff options
context:
space:
mode:
Diffstat (limited to 'xyz/openbmc_project/Chassis/Buttons')
-rw-r--r--xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml20
-rw-r--r--xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml39
-rw-r--r--xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml29
3 files changed, 88 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml b/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml
new file mode 100644
index 0000000..0751ca4
--- /dev/null
+++ b/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml
@@ -0,0 +1,20 @@
+description: >
+ ID button is the system identification button, that allows the server to be
+ located in a rack, and can be enabled remotely via WebUI;
+ user can press ID button on the front panel and then walk around to the back
+ and quickly identify the rear bulkhead of the same server unit.
+methods:
+ - name: simPress
+ description: >
+ Emulate ID button press.
+ errors:
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
+
+signals:
+ - name: Released
+ description: >
+ ID button released signal
+ - name: Pressed
+ description: >
+ ID button pressed signal
diff --git a/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml b/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml
new file mode 100644
index 0000000..466fc03
--- /dev/null
+++ b/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml
@@ -0,0 +1,39 @@
+description: >
+ Power button control service
+methods:
+ - name: simPress
+ description: >
+ Emulate power button press.
+ errors:
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
+
+ - name: simLongPress
+ description: >
+ Emulate power button long press.
+ errors:
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
+
+properties:
+ - name: Enabled
+ type: boolean
+ default: true
+ description: >
+ Enable/disable power button.
+ false means power button is disabled
+ true means power button is enabled
+ errors:
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
+
+signals:
+ - name: Released
+ description: >
+ Power button released signal
+ - name: Pressed
+ description: >
+ Power button pressed signal
+ - name: PressedLong
+ description: >
+ Power button long pressed signal
diff --git a/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml b/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml
new file mode 100644
index 0000000..7db8bd5
--- /dev/null
+++ b/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml
@@ -0,0 +1,29 @@
+description: >
+ Reset button control service
+methods:
+ - name: simPress
+ description: >
+ Emulate reset button press.
+ errors:
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
+
+properties:
+ - name: Enabled
+ type: boolean
+ default: true
+ description: >
+ Enable/disable reset button.
+ false means reset button is disabled
+ true means reset button is enabled
+ errors:
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
+
+signals:
+ - name: Released
+ description: >
+ Reset button released signal
+ - name: Pressed
+ description: >
+ Reset button pressed signal
OpenPOWER on IntegriCloud