reformat with latest settings
Reformat with the latest settings from openbmc-build-scripts (and
copy latest config files where appropriate). Fix a few minor
markdownlint issues.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I55205817c29dc3f182a165ddf9cd5d4e07b90063
diff --git a/yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml b/yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml
index 74f1fd9..e364ca7 100644
--- a/yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml
@@ -5,25 +5,21 @@
type: uint64
default: 0
description: >
- ScheduledTime is a date time when the host will be
- powered on/off. The time is the Epoch time, number
- of seconds since 1 Jan 1970 00::00::00 UTC.
+ ScheduledTime is a date time when the host will be powered on/off. The
+ time is the Epoch time, number of seconds since 1 Jan 1970 00::00::00
+ UTC.
- When ScheduledTime is 0, it means the functionality
- is disabled.
- When ScheduledTime is smaller than current time,
- error InvalidTime will be thrown.
- When the controller detects the ScheduledTime has passed,
- it will execute the ScheduledTransition and reset the
- value to 0. Once the transition starts, there won't be
- any retries.
- When the real time changes, the controller shall check if
- the time is still in the future. If so, it will stop the
- existing timer and restart it with new wait time. Otherwise,
- stop the existing timer and execute the ScheduledTransition.
- When ScheduledTime is reached, but the host is not ready
- to power on/off, e.g. when BMC is rebooting, BMC shall
- set the host ScheduledTransition after it is ready.
+ When ScheduledTime is 0, it means the functionality is disabled. When
+ ScheduledTime is smaller than current time, error InvalidTime will be
+ thrown. When the controller detects the ScheduledTime has passed, it
+ will execute the ScheduledTransition and reset the value to 0. Once
+ the transition starts, there won't be any retries. When the real time
+ changes, the controller shall check if the time is still in the
+ future. If so, it will stop the existing timer and restart it with new
+ wait time. Otherwise, stop the existing timer and execute the
+ ScheduledTransition. When ScheduledTime is reached, but the host is
+ not ready 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
@@ -31,5 +27,5 @@
type: enum[xyz.openbmc_project.State.Host.Transition]
default: "On"
description: >
- The desired power transition to support scheduled power on/off.
- The default operation supports scheduled power on.
+ The desired power transition to support scheduled power on/off. The
+ default operation supports scheduled power on.