yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/Software/Activation.interface.yaml b/yaml/xyz/openbmc_project/Software/Activation.interface.yaml
index 6af2984..7153c41 100644
--- a/yaml/xyz/openbmc_project/Software/Activation.interface.yaml
+++ b/yaml/xyz/openbmc_project/Software/Activation.interface.yaml
@@ -4,54 +4,55 @@
- name: Activation
type: enum[self.Activations]
description: >
- The current Activation state of the Software.Version.
+ The current Activation state of the Software.Version.
- name: RequestedActivation
type: enum[self.RequestedActivations]
description: >
- The desired Activation state of the Software.Version.
+ The desired Activation state of the Software.Version.
enumerations:
- name: Activations
description: >
- The possible Activation states of the Software.Version.
+ The possible Activation states of the Software.Version.
values:
- - name: NotReady
- description: >
- The system is still analyzing the Software.Version and is
- currently unable to activate.
- - name: Invalid
- description: >
- The Software.Version is invalid and unable to be activated.
- - name: Ready
- description: >
- The Software.Version has been processed and is ready for
- Activation.
- - name: Activating
- description: >
- The Software.Version is in the process of being Activated.
- - name: Active
- description: >
- The Software.Version is currently Active.
- - name: Failed
- description: >
- The Software.Version failed during or after Activation.
- - name: Staged
- description: >
- The Software.Version is currently in staged flash area.
- This is moved from staged flash area to active upon reset.
- - name: Staging
- description: >
- The Software.Version is currently being staged into the
- staging flash area.
+ - name: NotReady
+ description: >
+ The system is still analyzing the Software.Version and is
+ currently unable to activate.
+ - name: Invalid
+ description: >
+ The Software.Version is invalid and unable to be activated.
+ - name: Ready
+ description: >
+ The Software.Version has been processed and is ready for
+ Activation.
+ - name: Activating
+ description: >
+ The Software.Version is in the process of being Activated.
+ - name: Active
+ description: >
+ The Software.Version is currently Active.
+ - name: Failed
+ description: >
+ The Software.Version failed during or after Activation.
+ - name: Staged
+ description: >
+ The Software.Version is currently in staged flash area.
+ This is moved from staged flash area to active upon reset.
+ - name: Staging
+ description: >
+ The Software.Version is currently being staged into the
+ staging flash area.
- name: RequestedActivations
description: >
- The possible RequestedActivation states of a Software.Version.
+ The possible RequestedActivation states of a Software.Version.
values:
- - name: None
- description: >
- No action has been directed for this Software.Version.
- - name: Active
- description: >
- The Software.Version has been requested for Activation.
+ - name: None
+ description: >
+ No action has been directed for this Software.Version.
+ - name: Active
+ description: >
+ The Software.Version has been requested for Activation.
+
# TODO: Specify "EAGAIN" type error when requested is unable to be acted on
# due to current system state. Currently, sdbusplus does not support
# errors on properties.
diff --git a/yaml/xyz/openbmc_project/Software/ActivationProgress.interface.yaml b/yaml/xyz/openbmc_project/Software/ActivationProgress.interface.yaml
index edb01d8..d22df72 100644
--- a/yaml/xyz/openbmc_project/Software/ActivationProgress.interface.yaml
+++ b/yaml/xyz/openbmc_project/Software/ActivationProgress.interface.yaml
@@ -5,5 +5,5 @@
- name: Progress
type: byte
description: >
- An integer between 0 and 100 representing the percentage complete of
- the current step in software update.
+ An integer between 0 and 100 representing the percentage complete of
+ the current step in software update.
diff --git a/yaml/xyz/openbmc_project/Software/ApplyOptions.interface.yaml b/yaml/xyz/openbmc_project/Software/ApplyOptions.interface.yaml
index 96fe78f..715af7c 100644
--- a/yaml/xyz/openbmc_project/Software/ApplyOptions.interface.yaml
+++ b/yaml/xyz/openbmc_project/Software/ApplyOptions.interface.yaml
@@ -11,7 +11,7 @@
type: boolean
default: false
description: >
- This property indicates whether to clear the software configurations
- when the firmware image update is getting applied. A value of true
- indicates the firmware configurations should be cleared along with
- firmware image activation.
+ This property indicates whether to clear the software configurations
+ when the firmware image update is getting applied. A value of true
+ indicates the firmware configurations should be cleared along with
+ firmware image activation.
diff --git a/yaml/xyz/openbmc_project/Software/ApplyTime.interface.yaml b/yaml/xyz/openbmc_project/Software/ApplyTime.interface.yaml
index 0fff06a..6cdedcf 100644
--- a/yaml/xyz/openbmc_project/Software/ApplyTime.interface.yaml
+++ b/yaml/xyz/openbmc_project/Software/ApplyTime.interface.yaml
@@ -6,17 +6,17 @@
- name: RequestedApplyTime
type: enum[self.RequestedApplyTimes]
description: >
- This property indicates when the software image update should be
- applied.
+ This property indicates when the software image update should be
+ applied.
enumerations:
- name: RequestedApplyTimes
description: >
- The possible values of this property indicate when the newly
- updated software image will be activated.
+ The possible values of this property indicate when the newly
+ updated software image will be activated.
values:
- - name: Immediate
- description: >
- Apply immediately.
- - name: OnReset
- description: >
- Apply on a reset.
+ - name: Immediate
+ description: >
+ Apply immediately.
+ - name: OnReset
+ description: >
+ Apply on a reset.
diff --git a/yaml/xyz/openbmc_project/Software/ExtendedVersion.interface.yaml b/yaml/xyz/openbmc_project/Software/ExtendedVersion.interface.yaml
index 0bcc419..513bc2e 100644
--- a/yaml/xyz/openbmc_project/Software/ExtendedVersion.interface.yaml
+++ b/yaml/xyz/openbmc_project/Software/ExtendedVersion.interface.yaml
@@ -4,4 +4,4 @@
- name: ExtendedVersion
type: string
description: >
- Extended version of the level.
+ Extended version of the level.
diff --git a/yaml/xyz/openbmc_project/Software/RedundancyPriority.interface.yaml b/yaml/xyz/openbmc_project/Software/RedundancyPriority.interface.yaml
index 5290218..4b3e088 100644
--- a/yaml/xyz/openbmc_project/Software/RedundancyPriority.interface.yaml
+++ b/yaml/xyz/openbmc_project/Software/RedundancyPriority.interface.yaml
@@ -5,19 +5,20 @@
- name: Priority
type: byte
description: >
- The priority order specified for the associated Software.Version,
- represented as a value between 0 (High) and 127 (Low). Any value
- above 127 has implementation-specific purpose.
+ The priority order specified for the associated Software.Version,
+ represented as a value between 0 (High) and 127 (Low). Any value
+ above 127 has implementation-specific purpose.
- Only one Software.Version, per associated device, may be at any
- particular priority. A requested priority change may cause other
- Software.Versions to change priority.
+ Only one Software.Version, per associated device, may be at any
+ particular priority. A requested priority change may cause other
+ Software.Versions to change priority.
- A dual-sided redundancy model could be represented by two
- Software.Version associations, one of which is at priority 0 and the
- other at priority 1. When a new image is Activated, the old
- priority-1 association is deleted, the old priority-0 association
- becomes priority-1, and the new image is assigned priority-0.
+ A dual-sided redundancy model could be represented by two
+ Software.Version associations, one of which is at priority 0 and the
+ other at priority 1. When a new image is Activated, the old
+ priority-1 association is deleted, the old priority-0 association
+ becomes priority-1, and the new image is assigned priority-0.
+
# TODO: Specify "EAGAIN" type error when priority is unable to be modified
# due to current system state. Currently, sdbusplus does not support
# errors on properties.
diff --git a/yaml/xyz/openbmc_project/Software/Version.interface.yaml b/yaml/xyz/openbmc_project/Software/Version.interface.yaml
index 22a90ce..6176010 100644
--- a/yaml/xyz/openbmc_project/Software/Version.interface.yaml
+++ b/yaml/xyz/openbmc_project/Software/Version.interface.yaml
@@ -9,35 +9,35 @@
- name: Version
type: string
description: >
- The version identifier.
+ The version identifier.
- name: Purpose
type: enum[self.VersionPurpose]
description: >
- The purpose of the version. As in, what can it be used for or
- applied to?
+ The purpose of the version. As in, what can it be used for or
+ applied to?
- This property is deprecated in favor of Compatible strings and inventory
- associations. The enumeration should not be expanded further.
+ This property is deprecated in favor of Compatible strings and inventory
+ associations. The enumeration should not be expanded further.
enumerations:
- name: VersionPurpose
description: >
- An enumeration of possible purposes of the version.
+ An enumeration of possible purposes of the version.
values:
- - name: Unknown
- description: >
- The version is of unknown purpose.
- - name: Other
- description: >
- The version is of some other purpose.
- - name: System
- description: >
- The version is an aggregate for the system as a whole.
- - name: BMC
- description: >
- The version is a version for the BMC.
- - name: Host
- description: >
- The version is a version for a managed host.
- - name: PSU
- description: >
- The version is a version for a PSU.
+ - name: Unknown
+ description: >
+ The version is of unknown purpose.
+ - name: Other
+ description: >
+ The version is of some other purpose.
+ - name: System
+ description: >
+ The version is an aggregate for the system as a whole.
+ - name: BMC
+ description: >
+ The version is a version for the BMC.
+ - name: Host
+ description: >
+ The version is a version for a managed host.
+ - name: PSU
+ description: >
+ The version is a version for a PSU.