summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml')
-rw-r--r--xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml29
1 files changed, 29 insertions, 0 deletions
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