yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/Chassis/Buttons/HostSelector.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Buttons/HostSelector.interface.yaml
index 397460e..378f5f4 100644
--- a/yaml/xyz/openbmc_project/Chassis/Buttons/HostSelector.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Buttons/HostSelector.interface.yaml
@@ -10,13 +10,13 @@
type: size
default: 0
description: >
- The current position of the selector. Position 1 to N selects
- Host Instance t to N,Position 0 selects the BMC
- ( N is maximum number of hosts ).
+ The current position of the selector. Position 1 to N selects
+ Host Instance t to N,Position 0 selects the BMC
+ ( N is maximum number of hosts ).
- name: MaxPosition
type: size
default: 0
flags:
- readonly
description: >
- Maximum number for position value.
+ Maximum number for position value.
diff --git a/yaml/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml
index 0751ca4..5962652 100644
--- a/yaml/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml
@@ -6,15 +6,15 @@
methods:
- name: simPress
description: >
- Emulate ID button press.
+ Emulate ID button press.
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
signals:
- name: Released
description: >
- ID button released signal
+ ID button released signal
- name: Pressed
description: >
- ID button pressed signal
+ ID button pressed signal
diff --git a/yaml/xyz/openbmc_project/Chassis/Buttons/NMI.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Buttons/NMI.interface.yaml
index bd4f5a3..ba36a69 100644
--- a/yaml/xyz/openbmc_project/Chassis/Buttons/NMI.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Buttons/NMI.interface.yaml
@@ -7,27 +7,27 @@
methods:
- name: simPress
description: >
- Emulate NMI button press.
+ Emulate NMI button press.
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: Enabled
type: boolean
default: true
description: >
- Enable/disable NMI button.
- false means NMI button is disabled
- true means NMI button is enabled
+ Enable/disable NMI button.
+ false means NMI button is disabled
+ true means NMI button is enabled
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
signals:
- name: Released
description: >
- NMI button released signal
+ NMI button released signal
- name: Pressed
description: >
- NMI button pressed signal
+ NMI button pressed signal
diff --git a/yaml/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml
index 466fc03..d594bd0 100644
--- a/yaml/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml
@@ -3,37 +3,37 @@
methods:
- name: simPress
description: >
- Emulate power button press.
+ Emulate power button press.
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
- name: simLongPress
description: >
- Emulate power button long press.
+ Emulate power button long press.
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: Enabled
type: boolean
default: true
description: >
- Enable/disable power button.
- false means power button is disabled
- true means power button is enabled
+ 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
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
signals:
- name: Released
description: >
- Power button released signal
+ Power button released signal
- name: Pressed
description: >
- Power button pressed signal
+ Power button pressed signal
- name: PressedLong
description: >
- Power button long pressed signal
+ Power button long pressed signal
diff --git a/yaml/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml
index 7db8bd5..f67ed71 100644
--- a/yaml/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml
@@ -3,27 +3,27 @@
methods:
- name: simPress
description: >
- Emulate reset button press.
+ Emulate reset button press.
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: Enabled
type: boolean
default: true
description: >
- Enable/disable reset button.
- false means reset button is disabled
- true means reset button is enabled
+ 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
+ - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
+ - xyz.openbmc_project.Chassis.Common.Error.IOError
signals:
- name: Released
description: >
- Reset button released signal
+ Reset button released signal
- name: Pressed
description: >
- Reset button pressed signal
+ Reset button pressed signal
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.
diff --git a/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
index b3fba48..2f9f50f 100644
--- a/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
@@ -5,6 +5,6 @@
- name: Status
type: string
description: >
- Status string of chassis intrusion detector.
- The value is defined in chassis redfish schema.
- Can be "Normal" or "HardwareIntrusion".
+ Status string of chassis intrusion detector.
+ The value is defined in chassis redfish schema.
+ Can be "Normal" or "HardwareIntrusion".