yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/State/BMC.interface.yaml b/yaml/xyz/openbmc_project/State/BMC.interface.yaml
index 62d55e2..03186c5 100644
--- a/yaml/xyz/openbmc_project/State/BMC.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/BMC.interface.yaml
@@ -1,83 +1,83 @@
description: >
- Implementation of BMC state management. When rebooting we are in
- transition. When Ready all services required are running
- successfully. When we are Not Ready this implies not all services
- have started that are required to be.
+ Implementation of BMC state management. When rebooting we are in
+ transition. When Ready all services required are running
+ successfully. When we are Not Ready this implies not all services
+ have started that are required to be.
properties:
- - name: RequestedBMCTransition
- type: enum[self.Transition]
- default: 'None'
- description: >
- The desired BMC transition
+ - name: RequestedBMCTransition
+ type: enum[self.Transition]
+ default: "None"
+ description: >
+ The desired BMC transition
- - name: CurrentBMCState
- type: enum[self.BMCState]
- description: >
- The current state of the BMC and is a read-only property.
+ - name: CurrentBMCState
+ type: enum[self.BMCState]
+ description: >
+ The current state of the BMC and is a read-only property.
- - name: LastRebootTime
- type: uint64
- description: >
- The last time at which the BMC came out of a reboot as
- determined by its uptime, in epoch time, in milliseconds.
+ - name: LastRebootTime
+ type: uint64
+ description: >
+ The last time at which the BMC came out of a reboot as
+ determined by its uptime, in epoch time, in milliseconds.
- - name: LastRebootCause
- type: enum[self.RebootCause]
- default: 'Unknown'
- description: >
- The last BMC reboot cause
+ - name: LastRebootCause
+ type: enum[self.RebootCause]
+ default: "Unknown"
+ description: >
+ The last BMC reboot cause
enumerations:
- - name: Transition
- description: >
- The desired transition for the BMC firmware
- values:
- - name: 'Reboot'
- description: >
- BMC system should be rebooted
- - name: 'HardReboot'
- description: >
- BMC system should be non-gracefully rebooted.
- - name: 'None'
- description: >
- No transition is in progress
+ - name: Transition
+ description: >
+ The desired transition for the BMC firmware
+ values:
+ - name: "Reboot"
+ description: >
+ BMC system should be rebooted
+ - name: "HardReboot"
+ description: >
+ BMC system should be non-gracefully rebooted.
+ - name: "None"
+ description: >
+ No transition is in progress
- - name: BMCState
- description: >
- The current state of the BMC firmware
- values:
- - name: 'Ready'
- description: >
- Ready implies all services started and are running successfully
- - name: 'NotReady'
- description: >
- Not ready implies not all services have started or are not running successfully
- - name: 'UpdateInProgress'
- description: >
- UpdateInProgress implies BMC is in firmware update mode. CurrentBMCState
- will be set to "UpdateInProgress" while starting image download and
- reset to Ready, once activation is done or error case during update process.
- - name: 'Quiesced'
- description: >
- BMC firmware is quiesced. The BMC firmware is enabled but either
- unresponsive or only processing a restricted set of commands. This
- state may be the result of a service within the BMC going into a
- failed state.
+ - name: BMCState
+ description: >
+ The current state of the BMC firmware
+ values:
+ - name: "Ready"
+ description: >
+ Ready implies all services started and are running successfully
+ - name: "NotReady"
+ description: >
+ Not ready implies not all services have started or are not running successfully
+ - name: "UpdateInProgress"
+ description: >
+ UpdateInProgress implies BMC is in firmware update mode. CurrentBMCState
+ will be set to "UpdateInProgress" while starting image download and
+ reset to Ready, once activation is done or error case during update process.
+ - name: "Quiesced"
+ description: >
+ BMC firmware is quiesced. The BMC firmware is enabled but either
+ unresponsive or only processing a restricted set of commands. This
+ state may be the result of a service within the BMC going into a
+ failed state.
- - name: RebootCause
- description: >
- The recorded reboot cause of the BMC
- values:
- - name: 'POR'
- description: >
- Last reboot is caused by Power-On-Reset
- - name: 'PinholeReset'
- description: >
- Last reboot is caused by pinhole reset
- - name: 'Watchdog'
- description: >
- Last reboot is caused by Watchdog
- - name: 'Unknown'
- description: >
- Last reboot is caused by Unknown
+ - name: RebootCause
+ description: >
+ The recorded reboot cause of the BMC
+ values:
+ - name: "POR"
+ description: >
+ Last reboot is caused by Power-On-Reset
+ - name: "PinholeReset"
+ description: >
+ Last reboot is caused by pinhole reset
+ - name: "Watchdog"
+ description: >
+ Last reboot is caused by Watchdog
+ - name: "Unknown"
+ description: >
+ Last reboot is caused by Unknown
diff --git a/yaml/xyz/openbmc_project/State/Boot/PostCode.interface.yaml b/yaml/xyz/openbmc_project/State/Boot/PostCode.interface.yaml
index 0dea5c7..d72ef2b 100644
--- a/yaml/xyz/openbmc_project/State/Boot/PostCode.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Boot/PostCode.interface.yaml
@@ -20,29 +20,29 @@
description: >
Method to get the cached post codes of the indicated boot cycle with timestamp.
parameters:
- - name: Index
- type: uint16
- description: >
- Index indicates which boot cycle of post codes is requested.
- 1 is for the most recent boot cycle. CurrentBootCycleCount is for the
- oldest boot cycle.
+ - name: Index
+ type: uint16
+ description: >
+ Index indicates which boot cycle of post codes is requested.
+ 1 is for the most recent boot cycle. CurrentBootCycleCount is for the
+ oldest boot cycle.
returns:
- - name: Codes
- type: dict[uint64, struct[uint64,array[byte]]]
- description: >
- An array of post codes and timestamp in microseconds since epoch
+ - name: Codes
+ type: dict[uint64, struct[uint64,array[byte]]]
+ description: >
+ An array of post codes and timestamp in microseconds since epoch
- name: GetPostCodes
description: >
Method to get the cached post codes of the indicated boot cycle.
parameters:
- - name: Index
- type: uint16
- description: >
- Index indicates which boot cycle of post codes is requested.
- 1 is for the most recent boot cycle. CurrentBootCycleCount is for the
- oldest boot cycle.
+ - name: Index
+ type: uint16
+ description: >
+ Index indicates which boot cycle of post codes is requested.
+ 1 is for the most recent boot cycle. CurrentBootCycleCount is for the
+ oldest boot cycle.
returns:
- - name: Codes
- type: array[struct[uint64,array[byte]]]
- description: >
- An array of post codes of one boot cycle.
+ - name: Codes
+ type: array[struct[uint64,array[byte]]]
+ description: >
+ An array of post codes of one boot cycle.
diff --git a/yaml/xyz/openbmc_project/State/Boot/Progress.interface.yaml b/yaml/xyz/openbmc_project/State/Boot/Progress.interface.yaml
index 45699b1..07f2d82 100644
--- a/yaml/xyz/openbmc_project/State/Boot/Progress.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Boot/Progress.interface.yaml
@@ -6,7 +6,7 @@
type: enum[self.ProgressStages]
default: Unspecified
description: >
- Current boot progress
+ Current boot progress
- name: BootProgressLastUpdate
type: uint64
@@ -19,40 +19,40 @@
to know how long the boot has been on the current boot step.
enumerations:
- - name: ProgressStages
- description: >
- The boot progress stage
- values:
- - name: Unspecified
- description: >
- Unknown state.
- - name: PrimaryProcInit
- description: >
- Primary Processor Initialization
- - name: BusInit
- description: >
- Processor and Memory Bus Initialization
- - name: MemoryInit
- description: >
- Memory Initialization
- - name: SecondaryProcInit
- description: >
- Secondary Processor Initialization
- - name: PCIInit
- description: >
- PCI resource initialization
- - name: SystemInitComplete
- description: >
- System firmware completed booting
- - name: OSStart
- description: >
- Starting Operating System.
- - name: OSRunning
- description: >
- Operating System up and running
- - name: SystemSetup
- description: >
- System firmware has entered a setup state
- - name: MotherboardInit
- description: >
- Motherboard/Basebord Initialization.
+ - name: ProgressStages
+ description: >
+ The boot progress stage
+ values:
+ - name: Unspecified
+ description: >
+ Unknown state.
+ - name: PrimaryProcInit
+ description: >
+ Primary Processor Initialization
+ - name: BusInit
+ description: >
+ Processor and Memory Bus Initialization
+ - name: MemoryInit
+ description: >
+ Memory Initialization
+ - name: SecondaryProcInit
+ description: >
+ Secondary Processor Initialization
+ - name: PCIInit
+ description: >
+ PCI resource initialization
+ - name: SystemInitComplete
+ description: >
+ System firmware completed booting
+ - name: OSStart
+ description: >
+ Starting Operating System.
+ - name: OSRunning
+ description: >
+ Operating System up and running
+ - name: SystemSetup
+ description: >
+ System firmware has entered a setup state
+ - name: MotherboardInit
+ description: >
+ Motherboard/Basebord Initialization.
diff --git a/yaml/xyz/openbmc_project/State/Boot/Raw.interface.yaml b/yaml/xyz/openbmc_project/State/Boot/Raw.interface.yaml
index 7e9d435..b288cb0 100644
--- a/yaml/xyz/openbmc_project/State/Boot/Raw.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Boot/Raw.interface.yaml
@@ -6,4 +6,3 @@
type: struct[uint64,array[byte]]
description: >
The POST code value.
-
diff --git a/yaml/xyz/openbmc_project/State/Chassis.interface.yaml b/yaml/xyz/openbmc_project/State/Chassis.interface.yaml
index 1fc8fe3..0d1fb45 100644
--- a/yaml/xyz/openbmc_project/State/Chassis.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Chassis.interface.yaml
@@ -1,10 +1,9 @@
-description:
- Implement to provide the chassis power management
+description: Implement to provide the chassis power management
properties:
- name: RequestedPowerTransition
type: enum[self.Transition]
- default: 'Off'
+ default: "Off"
description: >
The desired power transition to start on this chassis.
This will be preserved across AC power cycles of the BMC.
@@ -36,55 +35,55 @@
enumerations:
- name: Transition
description: >
- The desired power transition for the chassis
+ The desired power transition for the chassis
values:
- - name: 'Off'
- description: >
- Chassis power should be off
- - name: 'On'
- description: >
- Chassis power should be on
- - name: 'PowerCycle'
- description: >
- Chassis power should be cycled from off to on. There will be a 5
- second delay between the off and the on.
+ - name: "Off"
+ description: >
+ Chassis power should be off
+ - name: "On"
+ description: >
+ Chassis power should be on
+ - name: "PowerCycle"
+ description: >
+ Chassis power should be cycled from off to on. There will be a 5
+ second delay between the off and the on.
- name: PowerState
description: >
- The current state of the chassis power
+ The current state of the chassis power
values:
- - name: 'Off'
- description: >
- Chassis power is off
- - name: 'TransitioningToOff'
- description: >
- Firmware is transitioning the chassis to an Off state
- - name: 'On'
- description: >
- Chassis power is on
- - name: 'TransitioningToOn'
- description: >
- Firmware is transitioning the chassis to an On state
+ - name: "Off"
+ description: >
+ Chassis power is off
+ - name: "TransitioningToOff"
+ description: >
+ Firmware is transitioning the chassis to an Off state
+ - name: "On"
+ description: >
+ Chassis power is on
+ - name: "TransitioningToOn"
+ description: >
+ Firmware is transitioning the chassis to an On state
- name: PowerStatus
description: >
- The current status of the chassis power
+ The current status of the chassis power
values:
- - name: 'Undefined'
- description: >
- Chassis power status is unknown
- - name: 'BrownOut'
- description: >
- Chassis power status is in a brownout condition.
- - name: 'UninterruptiblePowerSupply'
- description: >
- Chassis power is being provided via an uninterruptible power
- supply. Note that some systems may choose to continue to use this
- status, even once power has returned to the system, to indicate the
- uninterruptible power supply is charging or is below a certain
- threshold of charged. This provides system owners the flexibility on
- whether their system requires a certain level of charged
- uninterruptible power supply to be in a 'Good' state or not.
- - name: 'Good'
- description: >
- Chassis power status is in a good condition
+ - name: "Undefined"
+ description: >
+ Chassis power status is unknown
+ - name: "BrownOut"
+ description: >
+ Chassis power status is in a brownout condition.
+ - name: "UninterruptiblePowerSupply"
+ description: >
+ Chassis power is being provided via an uninterruptible power
+ supply. Note that some systems may choose to continue to use this
+ status, even once power has returned to the system, to indicate the
+ uninterruptible power supply is charging or is below a certain
+ threshold of charged. This provides system owners the flexibility on
+ whether their system requires a certain level of charged
+ uninterruptible power supply to be in a 'Good' state or not.
+ - name: "Good"
+ description: >
+ Chassis power status is in a good condition
diff --git a/yaml/xyz/openbmc_project/State/Decorator/Availability.interface.yaml b/yaml/xyz/openbmc_project/State/Decorator/Availability.interface.yaml
index 2db2c17..75f6bcc 100644
--- a/yaml/xyz/openbmc_project/State/Decorator/Availability.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Decorator/Availability.interface.yaml
@@ -4,5 +4,5 @@
- name: Available
type: boolean
description: >
- True if the object can be accessed.
+ True if the object can be accessed.
default: true
diff --git a/yaml/xyz/openbmc_project/State/Decorator/OperationalStatus.interface.yaml b/yaml/xyz/openbmc_project/State/Decorator/OperationalStatus.interface.yaml
index 45ff54e..5667f22 100644
--- a/yaml/xyz/openbmc_project/State/Decorator/OperationalStatus.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Decorator/OperationalStatus.interface.yaml
@@ -4,5 +4,5 @@
- name: Functional
type: boolean
description: >
- The object is functional or not.
- default: false
\ No newline at end of file
+ The object is functional or not.
+ default: false
diff --git a/yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml b/yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml
index 06aa56f..ede4bc7 100644
--- a/yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml
@@ -5,25 +5,25 @@
type: enum[self.State]
default: Unknown
description: >
- The current power status of the object.
+ The current power status of the object.
enumerations:
- - name: State
- description: >
- Power state enum.
- values:
- - name: "On"
- description: >
- The state of the object is powered on.
- - name: "Off"
- description: >
- The state of the object is powered off.
- - name: PoweringOn
- description: >
- The object is in a temporary state between off and on.
- - name: PoweringOff
- description: >
- The object is in a temporary state between on and off.
- - name: Unknown
- description: >
- The power state is unknown.
+ - name: State
+ description: >
+ Power state enum.
+ values:
+ - name: "On"
+ description: >
+ The state of the object is powered on.
+ - name: "Off"
+ description: >
+ The state of the object is powered off.
+ - name: PoweringOn
+ description: >
+ The object is in a temporary state between off and on.
+ - name: PoweringOff
+ description: >
+ The object is in a temporary state between on and off.
+ - name: Unknown
+ description: >
+ The power state is unknown.
diff --git a/yaml/xyz/openbmc_project/State/Host.interface.yaml b/yaml/xyz/openbmc_project/State/Host.interface.yaml
index 3eeafe9..02deb2d 100644
--- a/yaml/xyz/openbmc_project/State/Host.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Host.interface.yaml
@@ -4,7 +4,7 @@
properties:
- name: RequestedHostTransition
type: enum[self.Transition]
- default: 'Off'
+ default: "Off"
description: >
The desired host transition. This will be preserved across AC
power cycles of the BMC.
@@ -19,104 +19,104 @@
- name: RestartCause
type: enum[self.RestartCause]
- default: 'Unknown'
+ default: "Unknown"
description: >
A property to define restart cause of a host.
enumerations:
- name: Transition
description: >
- The desired transition for host firmware
+ The desired transition for host firmware
values:
- - name: 'Off'
- description: >
- Host firmware should be off
- - name: 'On'
- description: >
- Host firmware should be on
- - name: 'Reboot'
- description: >
- Host firmware should be rebooted. Chassis power will be cycled from
- off to on during this reboot
- - name: 'GracefulWarmReboot'
- description: >
- Host firmware be will notified to shutdown and once complete, the
- host firmware will be rebooted. Chassis power will remain on
- throughout the reboot
- - name: 'ForceWarmReboot'
- description: >
- Host firmware will be rebooted without notification and chassis
- power will remain on throughout the reboot
+ - name: "Off"
+ description: >
+ Host firmware should be off
+ - name: "On"
+ description: >
+ Host firmware should be on
+ - name: "Reboot"
+ description: >
+ Host firmware should be rebooted. Chassis power will be cycled from
+ off to on during this reboot
+ - name: "GracefulWarmReboot"
+ description: >
+ Host firmware be will notified to shutdown and once complete, the
+ host firmware will be rebooted. Chassis power will remain on
+ throughout the reboot
+ - name: "ForceWarmReboot"
+ description: >
+ Host firmware will be rebooted without notification and chassis
+ power will remain on throughout the reboot
- name: HostState
description: >
- The current state of the host firmware
+ The current state of the host firmware
values:
- - name: 'Off'
- description: >
- Host firmware is not running
- - name: 'TransitioningToOff'
- description: >
- Host firmware is transitioning to an Off state
- - name: 'Standby'
- description: >
- Host firmware is in a standby state. It is awaiting a Transition
- request to On to move to Running. This is an intermediate state
- that some implementations of this object may move to between Off
- and Running.
- - name: 'Running'
- description: >
- Host firmware is running
- - name: 'TransitioningToRunning'
- description: >
- Host firmware is transitioning to a Running state
- - name: 'Quiesced'
- description: >
- Host firmware is quiesced. The host firmware is enabled but either
- unresponsive or only processing a restricted set of commands. This
- state can be a result of the host entering an error state or booting
- into a BIOS setup environment. The BootProgress property will
- provide details on which it is.
- - name: 'DiagnosticMode'
- description: >
- Host firmware is capturing debug information. Powering off your
- system while the host is in this state will prevent the debug data
- from being properly collected. The host will move to one of the
- other states once complete.
+ - name: "Off"
+ description: >
+ Host firmware is not running
+ - name: "TransitioningToOff"
+ description: >
+ Host firmware is transitioning to an Off state
+ - name: "Standby"
+ description: >
+ Host firmware is in a standby state. It is awaiting a Transition
+ request to On to move to Running. This is an intermediate state
+ that some implementations of this object may move to between Off
+ and Running.
+ - name: "Running"
+ description: >
+ Host firmware is running
+ - name: "TransitioningToRunning"
+ description: >
+ Host firmware is transitioning to a Running state
+ - name: "Quiesced"
+ description: >
+ Host firmware is quiesced. The host firmware is enabled but either
+ unresponsive or only processing a restricted set of commands. This
+ state can be a result of the host entering an error state or booting
+ into a BIOS setup environment. The BootProgress property will
+ provide details on which it is.
+ - name: "DiagnosticMode"
+ description: >
+ Host firmware is capturing debug information. Powering off your
+ system while the host is in this state will prevent the debug data
+ from being properly collected. The host will move to one of the
+ other states once complete.
- name: RestartCause
description: >
- The reason for host restart.
+ The reason for host restart.
values:
- - name: 'Unknown'
- description: >
- Reason Unknown
- - name: 'RemoteCommand'
- description: >
- Remote command issued
- - name: 'ResetButton'
- description: >
- Reset button pressed
- - name: 'PowerButton'
- description: >
- Power button pressed
- - name: 'WatchdogTimer'
- description: >
- Watchdog Timer expired
- - name: 'PowerPolicyAlwaysOn'
- description: >
- Power Policy Host Always on
- - name: 'PowerPolicyPreviousState'
- description: >
- Power Policy Previous State of Host
- - name: 'SoftReset'
- description: >
- Soft reset of Host
- - name: 'ScheduledPowerOn'
- description: >
- The restart was scheduled via the
- xyz.openbmc_project.State.ScheduledHostTransition interface
- - name: 'HostCrash'
- description: >
- The host firmware crashed and the BMC has automatically initiated a
- restart of the host firmware
+ - name: "Unknown"
+ description: >
+ Reason Unknown
+ - name: "RemoteCommand"
+ description: >
+ Remote command issued
+ - name: "ResetButton"
+ description: >
+ Reset button pressed
+ - name: "PowerButton"
+ description: >
+ Power button pressed
+ - name: "WatchdogTimer"
+ description: >
+ Watchdog Timer expired
+ - name: "PowerPolicyAlwaysOn"
+ description: >
+ Power Policy Host Always on
+ - name: "PowerPolicyPreviousState"
+ description: >
+ Power Policy Previous State of Host
+ - name: "SoftReset"
+ description: >
+ Soft reset of Host
+ - name: "ScheduledPowerOn"
+ description: >
+ The restart was scheduled via the
+ xyz.openbmc_project.State.ScheduledHostTransition interface
+ - name: "HostCrash"
+ description: >
+ The host firmware crashed and the BMC has automatically initiated a
+ restart of the host firmware
diff --git a/yaml/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml b/yaml/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml
index 4482eb1..705b4bf 100644
--- a/yaml/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml
@@ -6,34 +6,34 @@
type: enum[self.OSStatus]
default: Inactive
description: >
- Current state of the operating system.
+ Current state of the operating system.
enumerations:
- - name: OSStatus
- description: >
- The operaing system statuses.
- values:
- - name: CBoot
- description: >
- C Boot Completed.
- - name: PXEBoot
- description: >
- PXE Boot Completed.
- - name: DiagBoot
- description: >
- Diagnostic Boot Completed.
- - name: CDROMBoot
- description: >
- CD-ROM Boot completed.
- - name: ROMBoot
- description: >
- ROM Boot Completed
- - name: BootComplete
- description: >
- Boot Completed or Unspecified Boot Device.
- - name: Inactive
- description: >
- System Inactive.
- - name: Standby
- description: >
- Operating system is ready to be booted.
+ - name: OSStatus
+ description: >
+ The operaing system statuses.
+ values:
+ - name: CBoot
+ description: >
+ C Boot Completed.
+ - name: PXEBoot
+ description: >
+ PXE Boot Completed.
+ - name: DiagBoot
+ description: >
+ Diagnostic Boot Completed.
+ - name: CDROMBoot
+ description: >
+ CD-ROM Boot completed.
+ - name: ROMBoot
+ description: >
+ ROM Boot Completed
+ - name: BootComplete
+ description: >
+ Boot Completed or Unspecified Boot Device.
+ - name: Inactive
+ description: >
+ System Inactive.
+ - name: Standby
+ description: >
+ Operating system is ready to be booted.
diff --git a/yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml b/yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml
index 1c68296..660b2ba 100644
--- a/yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml
@@ -4,5 +4,5 @@
- name: POHCounter
type: uint32
description: >
- This counter shows how many hours the system has been running. The value
- is a cumulative one and includes all working hours since production.
+ This counter shows how many hours the system has been running. The value
+ is a cumulative one and includes all working hours since production.
diff --git a/yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml b/yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml
index 93498ad..74f1fd9 100644
--- a/yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml
@@ -25,11 +25,11 @@
to power on/off, e.g. when BMC is rebooting, BMC shall
set the host ScheduledTransition after it is ready.
errors:
- - xyz.openbmc_project.ScheduledTime.Error.InvalidTime
+ - xyz.openbmc_project.ScheduledTime.Error.InvalidTime
- name: ScheduledTransition
type: enum[xyz.openbmc_project.State.Host.Transition]
- default: 'On'
+ default: "On"
description: >
The desired power transition to support scheduled power on/off.
The default operation supports scheduled power on.
diff --git a/yaml/xyz/openbmc_project/State/Watchdog.interface.yaml b/yaml/xyz/openbmc_project/State/Watchdog.interface.yaml
index 8a7335f..ac71e61 100644
--- a/yaml/xyz/openbmc_project/State/Watchdog.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Watchdog.interface.yaml
@@ -9,13 +9,13 @@
into the TimeRemaining. Optionally the watchdog can be enabled
during the reset process.
parameters:
- - name: EnableWatchdog
- type: boolean
- description: >
- If true the watchdog will be enabled when the reset
- is performed.
+ - name: EnableWatchdog
+ type: boolean
+ description: >
+ If true the watchdog will be enabled when the reset
+ is performed.
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InternalFailure
properties:
- name: Initialized
@@ -32,7 +32,7 @@
type: enum[self.Action]
description: >
The action the watchdog should perform when it expires.
- default: 'HardReset'
+ default: "HardReset"
- name: Interval
type: uint64
description: >
@@ -48,60 +48,60 @@
type: enum[self.TimerUse]
description: >
The host defined user of this timer.
- default: 'Reserved'
+ default: "Reserved"
- name: ExpiredTimerUse
type: enum[self.TimerUse]
description: >
The timer user at the time of expiration.
- default: 'Reserved'
+ default: "Reserved"
enumerations:
- - name: Action
- description: >
- The type of action to perform.
- values:
- - name: 'None'
- description: >
- Do nothing.
- - name: 'HardReset'
- description: >
- Perform a reset of the system.
- - name: 'PowerOff'
- description: >
- Perform a power off of the system.
- - name: 'PowerCycle'
- description: >
- Perform a power cycle of the system.
+ - name: Action
+ description: >
+ The type of action to perform.
+ values:
+ - name: "None"
+ description: >
+ Do nothing.
+ - name: "HardReset"
+ description: >
+ Perform a reset of the system.
+ - name: "PowerOff"
+ description: >
+ Perform a power off of the system.
+ - name: "PowerCycle"
+ description: >
+ Perform a power cycle of the system.
- - name: TimerUse
- description: >
- The type of timer use.
- values:
- - name: 'Reserved'
- description: >
- Reserved.
- - name: 'BIOSFRB2'
- description: >
- BIOS FRB2.
- - name: 'BIOSPOST'
- description: >
- BIOS POST.
- - name: 'OSLoad'
- description: >
- OS Load.
- - name: SMSOS
- description: >
- SMS OS.
- - name: 'OEM'
- description: >
- OEM.
+ - name: TimerUse
+ description: >
+ The type of timer use.
+ values:
+ - name: "Reserved"
+ description: >
+ Reserved.
+ - name: "BIOSFRB2"
+ description: >
+ BIOS FRB2.
+ - name: "BIOSPOST"
+ description: >
+ BIOS POST.
+ - name: "OSLoad"
+ description: >
+ OS Load.
+ - name: SMSOS
+ description: >
+ SMS OS.
+ - name: "OEM"
+ description: >
+ OEM.
signals:
- name: Timeout
description: >
- Watchdog timeout event signal
+ Watchdog timeout event signal
properties:
- - name: Action
- type: enum[self.Action]
- description: >
- The action taken during the watchdog timeout event.
+ - name: Action
+ type: enum[self.Action]
+ description: >
+ The action taken during the watchdog timeout event.