blob: 28b84745713c31ade538cd1cc6c7e5838eaf8262 [file] [log] [blame]
Gunnar Mills5fd5eea2018-01-26 13:50:51 -06001description: >
2 An interface to set whether the power supplies are redundant.
3properties:
4 - name: PowerSupplyRedundancyEnabled
5 type: boolean
Adriana Kobylak5af83f12018-08-17 13:04:41 -05006 flags:
Patrick Williams8da396c2022-03-14 14:21:02 -05007 - const
Gunnar Mills5fd5eea2018-01-26 13:50:51 -06008 description: >
9 When true, the power supplies are redundant.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080010 - name: RotationEnabled
11 type: boolean
12 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050013 Cold redundancy rotation enabled or not.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080014 - name: RotationAlgorithm
15 type: enum[self.Algo]
16 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050017 Rotation algorithm use for cold redundancy. 0 is BMC Specific, 1 is User
18 Specific.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080019 - name: RotationRankOrder
20 type: array[byte]
21 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050022 The rank order for each PSU, 0 means will not go into cold standby
23 state.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080024 - name: PeriodOfRotation
25 type: uint32
26 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050027 Rotation Period for cold redundancy. If rotation algorithm is BMC
28 Specific, and rotation is enabled, BMC will change PSU rank order after
29 this time. The unit of this PeriodOfRotation is in seconds.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080030 - name: ColdRedundancyStatus
31 type: enum[self.Status]
32 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050033 Cold redundancy setting status, set in progress or set completed.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080034 - name: PSUNumber
35 type: byte
36 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050037 Number of PSUs are currently on system.
Kuiying Wang446ce842020-09-01 13:52:30 +080038 - name: RedundantCount
39 type: byte
40 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050041 The min number of PSUs in the system required to obtain redundancy
Kuiying Wang446ce842020-09-01 13:52:30 +080042 default: 2
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080043
44enumerations:
45 - name: Algo
46 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050047 Rotation algorithm use for cold redundancy.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080048 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050049 - name: bmcSpecific
50 description: >
51 With BMC Specific algorithm, when rotation happen, BMC will add 1 to
52 the rank order in each PSU and change the last rank order to the
53 first rank order.
54 - name: userSpecific
55 description: >
56 With User Specific algorithm, user need to set the RotationRankOrder
57 every time before rotation happen, then BMC will update the rank
58 order to PSU.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080059 - name: Status
60 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050061 Cold redundancy setting status.
Cheng C Yang1f0e2ce2019-05-27 21:49:09 +080062 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050063 - name: inProgress
64 description: >
65 This status is only use for multi-node system, after any of the
66 property setting on one node, before all the nodes sync to same
67 value, the status will show in progress.
68 - name: completed
69 description: >
70 For single ndoe system, the status always keep show completed. For
71 multi-node system, only after all the nodes sync to same value of
72 the properties, the status will be completed.