yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml b/yaml/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml
index 7f7d27b..28b8474 100644
--- a/yaml/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml
+++ b/yaml/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml
@@ -4,69 +4,69 @@
- name: PowerSupplyRedundancyEnabled
type: boolean
flags:
- - const
+ - const
description: >
When true, the power supplies are redundant.
- name: RotationEnabled
type: boolean
description: >
- Cold redundancy rotation enabled or not.
+ Cold redundancy rotation enabled or not.
- name: RotationAlgorithm
type: enum[self.Algo]
description: >
- Rotation algorithm use for cold redundancy. 0 is BMC Specific, 1 is User
- Specific.
+ Rotation algorithm use for cold redundancy. 0 is BMC Specific, 1 is User
+ Specific.
- name: RotationRankOrder
type: array[byte]
description: >
- The rank order for each PSU, 0 means will not go into cold standby
- state.
+ The rank order for each PSU, 0 means will not go into cold standby
+ state.
- name: PeriodOfRotation
type: uint32
description: >
- Rotation Period for cold redundancy. If rotation algorithm is BMC
- Specific, and rotation is enabled, BMC will change PSU rank order after
- this time. The unit of this PeriodOfRotation is in seconds.
+ Rotation Period for cold redundancy. If rotation algorithm is BMC
+ Specific, and rotation is enabled, BMC will change PSU rank order after
+ this time. The unit of this PeriodOfRotation is in seconds.
- name: ColdRedundancyStatus
type: enum[self.Status]
description: >
- Cold redundancy setting status, set in progress or set completed.
+ Cold redundancy setting status, set in progress or set completed.
- name: PSUNumber
type: byte
description: >
- Number of PSUs are currently on system.
+ Number of PSUs are currently on system.
- name: RedundantCount
type: byte
description: >
- The min number of PSUs in the system required to obtain redundancy
+ The min number of PSUs in the system required to obtain redundancy
default: 2
enumerations:
- name: Algo
description: >
- Rotation algorithm use for cold redundancy.
+ Rotation algorithm use for cold redundancy.
values:
- - name: bmcSpecific
- description: >
- With BMC Specific algorithm, when rotation happen, BMC will add 1 to
- the rank order in each PSU and change the last rank order to the
- first rank order.
- - name: userSpecific
- description: >
- With User Specific algorithm, user need to set the RotationRankOrder
- every time before rotation happen, then BMC will update the rank
- order to PSU.
+ - name: bmcSpecific
+ description: >
+ With BMC Specific algorithm, when rotation happen, BMC will add 1 to
+ the rank order in each PSU and change the last rank order to the
+ first rank order.
+ - name: userSpecific
+ description: >
+ With User Specific algorithm, user need to set the RotationRankOrder
+ every time before rotation happen, then BMC will update the rank
+ order to PSU.
- name: Status
description: >
- Cold redundancy setting status.
+ Cold redundancy setting status.
values:
- - name: inProgress
- description: >
- This status is only use for multi-node system, after any of the
- property setting on one node, before all the nodes sync to same
- value, the status will show in progress.
- - name: completed
- description: >
- For single ndoe system, the status always keep show completed. For
- multi-node system, only after all the nodes sync to same value of
- the properties, the status will be completed.
+ - name: inProgress
+ description: >
+ This status is only use for multi-node system, after any of the
+ property setting on one node, before all the nodes sync to same
+ value, the status will show in progress.
+ - name: completed
+ description: >
+ For single ndoe system, the status always keep show completed. For
+ multi-node system, only after all the nodes sync to same value of
+ the properties, the status will be completed.