1b1b4d261SWilliam A. Kennington IIIdescription: >
2b1b4d261SWilliam A. Kennington III    An interface to set whether the power supplies are redundant.
3b1b4d261SWilliam A. Kennington IIIproperties:
4b1b4d261SWilliam A. Kennington III    - name: PowerSupplyRedundancyEnabled
5b1b4d261SWilliam A. Kennington III      type: boolean
6b1b4d261SWilliam A. Kennington III      flags:
7b1b4d261SWilliam A. Kennington III          - const
8b1b4d261SWilliam A. Kennington III      description: >
9b1b4d261SWilliam A. Kennington III          When true, the power supplies are redundant.
10b1b4d261SWilliam A. Kennington III    - name: RotationEnabled
11b1b4d261SWilliam A. Kennington III      type: boolean
12b1b4d261SWilliam A. Kennington III      description: >
13b1b4d261SWilliam A. Kennington III          Cold redundancy rotation enabled or not.
14b1b4d261SWilliam A. Kennington III    - name: RotationAlgorithm
15b1b4d261SWilliam A. Kennington III      type: enum[self.Algo]
16b1b4d261SWilliam A. Kennington III      description: >
17*a1347418SPatrick Williams          Rotation algorithm use for cold redundancy. 0 is BMC Specific, 1 is
18*a1347418SPatrick Williams          User Specific.
19b1b4d261SWilliam A. Kennington III    - name: RotationRankOrder
20b1b4d261SWilliam A. Kennington III      type: array[byte]
21b1b4d261SWilliam A. Kennington III      description: >
22b1b4d261SWilliam A. Kennington III          The rank order for each PSU, 0 means will not go into cold standby
23b1b4d261SWilliam A. Kennington III          state.
24b1b4d261SWilliam A. Kennington III    - name: PeriodOfRotation
25b1b4d261SWilliam A. Kennington III      type: uint32
26b1b4d261SWilliam A. Kennington III      description: >
27b1b4d261SWilliam A. Kennington III          Rotation Period for cold redundancy. If rotation algorithm is BMC
28*a1347418SPatrick Williams          Specific, and rotation is enabled, BMC will change PSU rank order
29*a1347418SPatrick Williams          after this time. The unit of this PeriodOfRotation is in seconds.
30b1b4d261SWilliam A. Kennington III    - name: ColdRedundancyStatus
31b1b4d261SWilliam A. Kennington III      type: enum[self.Status]
32b1b4d261SWilliam A. Kennington III      description: >
33b1b4d261SWilliam A. Kennington III          Cold redundancy setting status, set in progress or set completed.
34b1b4d261SWilliam A. Kennington III    - name: PSUNumber
35b1b4d261SWilliam A. Kennington III      type: byte
36b1b4d261SWilliam A. Kennington III      description: >
37b1b4d261SWilliam A. Kennington III          Number of PSUs are currently on system.
38b1b4d261SWilliam A. Kennington III    - name: RedundantCount
39b1b4d261SWilliam A. Kennington III      type: byte
40b1b4d261SWilliam A. Kennington III      description: >
41b1b4d261SWilliam A. Kennington III          The min number of PSUs in the system required to obtain redundancy
42b1b4d261SWilliam A. Kennington III      default: 2
43b1b4d261SWilliam A. Kennington III
44b1b4d261SWilliam A. Kennington IIIenumerations:
45b1b4d261SWilliam A. Kennington III    - name: Algo
46b1b4d261SWilliam A. Kennington III      description: >
47b1b4d261SWilliam A. Kennington III          Rotation algorithm use for cold redundancy.
48b1b4d261SWilliam A. Kennington III      values:
49b1b4d261SWilliam A. Kennington III          - name: bmcSpecific
50b1b4d261SWilliam A. Kennington III            description: >
51*a1347418SPatrick Williams                With BMC Specific algorithm, when rotation happen, BMC will add
52*a1347418SPatrick Williams                1 to the rank order in each PSU and change the last rank order
53*a1347418SPatrick Williams                to the first rank order.
54b1b4d261SWilliam A. Kennington III          - name: userSpecific
55b1b4d261SWilliam A. Kennington III            description: >
56*a1347418SPatrick Williams                With User Specific algorithm, user need to set the
57*a1347418SPatrick Williams                RotationRankOrder every time before rotation happen, then BMC
58*a1347418SPatrick Williams                will update the rank order to PSU.
59b1b4d261SWilliam A. Kennington III    - name: Status
60b1b4d261SWilliam A. Kennington III      description: >
61b1b4d261SWilliam A. Kennington III          Cold redundancy setting status.
62b1b4d261SWilliam A. Kennington III      values:
63b1b4d261SWilliam A. Kennington III          - name: inProgress
64b1b4d261SWilliam A. Kennington III            description: >
65b1b4d261SWilliam A. Kennington III                This status is only use for multi-node system, after any of the
66b1b4d261SWilliam A. Kennington III                property setting on one node, before all the nodes sync to same
67b1b4d261SWilliam A. Kennington III                value, the status will show in progress.
68b1b4d261SWilliam A. Kennington III          - name: completed
69b1b4d261SWilliam A. Kennington III            description: >
70*a1347418SPatrick Williams                For single ndoe system, the status always keep show completed.
71*a1347418SPatrick Williams                For multi-node system, only after all the nodes sync to same
72*a1347418SPatrick Williams                value of the properties, the status will be completed.
73