Gunnar Mills | 5fd5eea | 2018-01-26 13:50:51 -0600 | [diff] [blame] | 1 | description: > |
| 2 | An interface to set whether the power supplies are redundant. |
| 3 | properties: |
| 4 | - name: PowerSupplyRedundancyEnabled |
| 5 | type: boolean |
Adriana Kobylak | 5af83f1 | 2018-08-17 13:04:41 -0500 | [diff] [blame] | 6 | flags: |
| 7 | - const |
Gunnar Mills | 5fd5eea | 2018-01-26 13:50:51 -0600 | [diff] [blame] | 8 | description: > |
| 9 | When true, the power supplies are redundant. |
Cheng C Yang | 1f0e2ce | 2019-05-27 21:49:09 +0800 | [diff] [blame] | 10 | - name: RotationEnabled |
| 11 | type: boolean |
| 12 | description: > |
| 13 | Cold redundancy rotation enabled or not. |
| 14 | - name: RotationAlgorithm |
| 15 | type: enum[self.Algo] |
| 16 | description: > |
| 17 | Rotation algorithm use for cold redundancy. 0 is BMC Specific, 1 is User |
| 18 | Specific. |
| 19 | - name: RotationRankOrder |
| 20 | type: array[byte] |
| 21 | description: > |
| 22 | The rank order for each PSU, 0 means will not go into cold standby |
| 23 | state. |
| 24 | - name: PeriodOfRotation |
| 25 | type: uint32 |
| 26 | description: > |
| 27 | 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. |
| 30 | - name: ColdRedundancyStatus |
| 31 | type: enum[self.Status] |
| 32 | description: > |
| 33 | Cold redundancy setting status, set in progress or set completed. |
| 34 | - name: PSUNumber |
| 35 | type: byte |
| 36 | description: > |
| 37 | Number of PSUs are currently on system. |
| 38 | |
| 39 | enumerations: |
| 40 | - name: Algo |
| 41 | description: > |
| 42 | Rotation algorithm use for cold redundancy. |
| 43 | values: |
| 44 | - name: bmcSpecific |
| 45 | description: > |
| 46 | With BMC Specific algorithm, when rotation happen, BMC will add 1 to |
| 47 | the rank order in each PSU and change the last rank order to the |
| 48 | first rank order. |
| 49 | - name: userSpecific |
| 50 | description: > |
| 51 | With User Specific algorithm, user need to set the RotationRankOrder |
| 52 | every time before rotation happen, then BMC will update the rank |
| 53 | order to PSU. |
| 54 | - name: Status |
| 55 | description: > |
| 56 | Cold redundancy setting status. |
| 57 | values: |
| 58 | - name: inProgress |
| 59 | description: > |
| 60 | This status is only use for multi-node system, after any of the |
| 61 | property setting on one node, before all the nodes sync to same |
| 62 | value, the status will show in progress. |
| 63 | - name: completed |
| 64 | description: > |
| 65 | For single ndoe system, the status always keep show completed. For |
| 66 | multi-node system, only after all the nodes sync to same value of |
| 67 | the properties, the status will be completed. |