diff options
Diffstat (limited to 'xyz')
-rw-r--r-- | xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml | 12 | ||||
-rw-r--r-- | xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml b/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml index dc1c5ab..466fc03 100644 --- a/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml +++ b/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml @@ -15,6 +15,18 @@ methods: - 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: > diff --git a/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml b/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml index 3c91afd..7db8bd5 100644 --- a/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml +++ b/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml @@ -8,6 +8,18 @@ methods: - 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: > |