yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/Chassis/Control/NMISource.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Control/NMISource.interface.yaml
index a04bd10..cb1d037 100644
--- a/yaml/xyz/openbmc_project/Chassis/Control/NMISource.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Control/NMISource.interface.yaml
@@ -5,42 +5,42 @@
description: >
Enables the BMC NMI out event.
errors:
- - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
- - xyz.openbmc_project.Chassis.Common.Error.IOError
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
properties:
- name: BMCSource
type: enum[self.BMCSourceSignal]
description: >
Keeps track of NMI signal source in BMC.
- default: 'None'
+ default: "None"
enumerations:
- - name: BMCSourceSignal
- description: >
- The type of NMI source.
- values:
- - name: None
- description: >
- NONE NMI signal.
- - name: FrontPanelButton
- description: >
- Via Front Panel NMI button.
- - name: Watchdog
- description: >
- Via watchdog pre-timeout.
- - name: ChassisCmd
- description: >
- Via Chassis command.
- - name: MemoryError
- description: >
- Via memory error.
- - name: PciBusError
- description: >
- Via PCI bus error(PERR & SERR).
- - name: PCH
- description: >
- Via southbridge NMI.
- - name: Chipset
- description: >
- Via chipset NMI.
+ - name: BMCSourceSignal
+ description: >
+ The type of NMI source.
+ values:
+ - name: None
+ description: >
+ NONE NMI signal.
+ - name: FrontPanelButton
+ description: >
+ Via Front Panel NMI button.
+ - name: Watchdog
+ description: >
+ Via watchdog pre-timeout.
+ - name: ChassisCmd
+ description: >
+ Via Chassis command.
+ - name: MemoryError
+ description: >
+ Via memory error.
+ - name: PciBusError
+ description: >
+ Via PCI bus error(PERR & SERR).
+ - name: PCH
+ description: >
+ Via southbridge NMI.
+ - name: Chipset
+ description: >
+ Via chipset NMI.
diff --git a/yaml/xyz/openbmc_project/Chassis/Control/Power.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Control/Power.interface.yaml
index 082586f..702152e 100644
--- a/yaml/xyz/openbmc_project/Chassis/Control/Power.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Control/Power.interface.yaml
@@ -3,29 +3,29 @@
methods:
- name: forcePowerOff
description: >
- Force power off the host.
+ Force power off the host.
returns:
- - name: status
- type: boolean
- description: >
- The result of power off command.
+ - name: status
+ type: boolean
+ description: >
+ The result of power off command.
errors:
- - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
- - xyz.openbmc_project.Chassis.Common.Error.IOError
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
properties:
- name: PGood
type: boolean
default: false
description: >
- PSU Power good property
- It is a read-only property.
+ PSU Power good property
+ It is a read-only property.
- name: State
type: int32
default: 0
description: >
- System power status
- 0: power is off
- 1: power is on
- Setting its value to change the system state
- Read its value to get the system state.
\ No newline at end of file
+ System power status
+ 0: power is off
+ 1: power is on
+ Setting its value to change the system state
+ Read its value to get the system state.