blob: 4085619dc633334983b536eff26f67d30560e3d8 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
2 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_3_0.json",
3 "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
4 "definitions": {
5 "Actions": {
6 "additionalProperties": false,
7 "description": "The available actions for this resource.",
8 "longDescription": "This type shall contain the available actions for this resource.",
9 "patternProperties": {
10 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
11 "description": "This property shall specify a valid odata or Redfish property.",
12 "type": [
13 "array",
14 "boolean",
15 "number",
16 "null",
17 "object",
18 "string"
19 ]
20 }
21 },
22 "properties": {
23 "Oem": {
24 "$ref": "#/definitions/OemActions"
25 }
26 },
27 "type": "object"
28 },
29 "OemActions": {
30 "additionalProperties": true,
31 "description": "The available OEM specific actions for this resource.",
32 "longDescription": "This type shall contain any additional OEM actions for this resource.",
33 "patternProperties": {
34 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
35 "description": "This property shall specify a valid odata or Redfish property.",
36 "type": [
37 "array",
38 "boolean",
39 "number",
40 "null",
41 "object",
42 "string"
43 ]
44 }
45 },
46 "properties": {},
47 "type": "object"
48 },
49 "Redundancy": {
50 "additionalProperties": false,
51 "description": "This is the redundancy definition to be used in other resource schemas.",
52 "longDescription": "This object represents the Redundancy element property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification. The value of this string shall be of the format for the reserved word *Redundancy*.",
53 "patternProperties": {
54 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
55 "description": "This property shall specify a valid odata or Redfish property.",
56 "type": [
57 "array",
58 "boolean",
59 "number",
60 "null",
61 "object",
62 "string"
63 ]
64 }
65 },
66 "properties": {
67 "Actions": {
68 "$ref": "#/definitions/Actions",
69 "description": "The available actions for this resource.",
70 "longDescription": "The Actions property shall contain the available actions for this resource."
71 },
72 "MaxNumSupported": {
73 "description": "This is the maximum number of members allowable for this particular redundancy group.",
74 "longDescription": "The value of this property shall contain the maximum number of members allowed in the redundancy group.",
75 "readonly": true,
76 "type": [
77 "number",
78 "null"
79 ]
80 },
81 "MemberId": {
82 "description": "This is the identifier for the member within the collection.",
83 "longDescription": "The value of this string shall uniquely identify the member within the collection.",
84 "readonly": true,
85 "type": "string"
86 },
87 "MinNumNeeded": {
88 "description": "This is the minumum number of members needed for this group to be redundant.",
89 "longDescription": "The value of this property shall contain the minimum number of members allowed in the redundancy group for the current redundancy mode to still be fault tolerant.",
90 "readonly": true,
91 "type": [
92 "number",
93 "null"
94 ]
95 },
96 "Mode": {
97 "anyOf": [
98 {
99 "$ref": "#/definitions/RedundancyMode"
100 },
101 {
102 "type": "null"
103 }
104 ],
105 "description": "This is the redundancy mode of the group.",
106 "longDescription": "The value of this property shall contain the information about the redundancy mode of this subsystem.",
107 "readonly": false
108 },
109 "Name": {
110 "description": "The name of the resource or array element.",
111 "longDescription": "This object represents the Name property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification. The value of this string shall be of the format for the reserved word *Name*.",
112 "readonly": true,
113 "type": "string"
114 },
115 "Oem": {
116 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
117 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
118 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
119 },
120 "RedundancyEnabled": {
121 "description": "This indicates whether redundancy is enabled.",
122 "longDescription": "The value of this property shall be a boolean indicating whether the redundancy is enabled.",
123 "readonly": false,
124 "type": [
125 "boolean",
126 "null"
127 ]
128 },
129 "RedundancySet": {
130 "description": "Contains any ids that represent components of this redundancy set.",
131 "items": {
132 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/idRef"
133 },
134 "longDescription": "The value of this property shall contain the ids of components that are part of this redundancy set. The id values may or may not be dereferenceable.",
135 "readonly": true,
136 "type": "array"
137 },
138 "RedundancySet@odata.count": {
139 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/count"
140 },
141 "Status": {
142 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
143 }
144 },
145 "required": [
146 "Name",
147 "Mode",
148 "MaxNumSupported",
149 "MinNumNeeded",
150 "Status",
151 "RedundancySet"
152 ],
153 "type": "object"
154 },
155 "RedundancyMode": {
156 "enum": [
157 "Failover",
158 "N+m",
159 "Sharing",
160 "Sparing",
161 "NotRedundant"
162 ],
163 "enumDescriptions": {
164 "Failover": "Failure of one unit will automatically cause its functions to be taken over by a standby or offline unit in the redundancy set.",
165 "N+m": "Multiple units are available and active such that normal operation will continue if one or more units fail.",
166 "NotRedundant": "The subsystem is not configured in a redundancy mode, either due to configuration or the functionality has been disabled by the user.",
167 "Sharing": "Multiple units contribute or share such that operation will continue, but at a reduced capacity, if one or more units fail.",
168 "Sparing": "One or more spare units are available to take over the function of a failed unit, but takeover is not automatic."
169 },
170 "type": "string"
171 }
172 },
173 "title": "#Redundancy.v1_3_0"
174}