blob: 73b1ce5d2d9b34c9a14339b79df7f1edadd14748 [file] [log] [blame]
Ed Tanous08eca732022-06-09 14:32:18 -07001{
2 "$id": "http://redfish.dmtf.org/schemas/v1/PCIeSlots.v1_5_0.json",
3 "$ref": "#/definitions/PCIeSlots",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 "copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
9 "description": "The available actions for this Resource.",
10 "longDescription": "This type shall contain the available actions for this Resource.",
11 "patternProperties": {
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
17 "integer",
18 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
26 "Oem": {
27 "$ref": "#/definitions/OemActions",
28 "description": "The available OEM-specific actions for this Resource.",
29 "longDescription": "This property shall contain the available OEM-specific actions for this Resource."
30 }
31 },
32 "type": "object"
33 },
34 "OemActions": {
35 "additionalProperties": true,
36 "description": "The available OEM-specific actions for this Resource.",
37 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
38 "patternProperties": {
39 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40 "description": "This property shall specify a valid odata or Redfish property.",
41 "type": [
42 "array",
43 "boolean",
44 "integer",
45 "number",
46 "null",
47 "object",
48 "string"
49 ]
50 }
51 },
52 "properties": {},
53 "type": "object"
54 },
55 "PCIeLinks": {
56 "additionalProperties": false,
57 "description": "The links to other Resources that are related to this Resource.",
58 "longDescription": "The Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource.",
59 "patternProperties": {
60 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
61 "description": "This property shall specify a valid odata or Redfish property.",
62 "type": [
63 "array",
64 "boolean",
65 "integer",
66 "number",
67 "null",
68 "object",
69 "string"
70 ]
71 }
72 },
73 "properties": {
74 "Oem": {
75 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
76 "description": "The OEM extension property.",
77 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
78 },
79 "PCIeDevice": {
80 "description": "An array of links to the PCIe devices contained in this slot.",
81 "items": {
82 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeDevice"
83 },
84 "longDescription": "This property shall contain an array of links to the Resources of the PCIeDevice type with which this physical slot is associated. If the Status.State of this slot is `Absent`, this property shall not appear in the Resource.",
85 "readonly": true,
86 "type": "array"
87 },
88 "PCIeDevice@odata.count": {
89 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
90 },
91 "Processors": {
92 "description": "An array of links to the processors that are directly connected or directly bridged to this PCIe slot.",
93 "items": {
94 "$ref": "http://redfish.dmtf.org/schemas/v1/Processor.json#/definitions/Processor"
95 },
96 "longDescription": "This property shall contain an array of links to resources of type Processor that represent processors that are directly connected or directly bridged to this PCIe slot.",
97 "readonly": true,
98 "type": "array",
99 "versionAdded": "v1_5_0"
100 },
101 "Processors@odata.count": {
102 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
103 }
104 },
105 "type": "object"
106 },
107 "PCIeSlot": {
108 "additionalProperties": false,
109 "description": "This type defines information for a PCIe slot.",
110 "longDescription": "These properties shall contain the definition for a PCIe Slot for a Redfish implementation.",
111 "patternProperties": {
112 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
113 "description": "This property shall specify a valid odata or Redfish property.",
114 "type": [
115 "array",
116 "boolean",
117 "integer",
118 "number",
119 "null",
120 "object",
121 "string"
122 ]
123 }
124 },
125 "properties": {
126 "HotPluggable": {
127 "description": "An indication of whether this PCIe slot supports hotplug.",
128 "longDescription": "This property shall contain indicating whether this PCIe slot supports hotplug.",
129 "readonly": true,
130 "type": [
131 "boolean",
132 "null"
133 ],
134 "versionAdded": "v1_1_0"
135 },
136 "Lanes": {
137 "description": "The number of PCIe lanes supported by this slot.",
138 "longDescription": "This property shall contain the maximum number of PCIe lanes supported by the slot.",
139 "maximum": 32,
140 "readonly": true,
141 "type": [
142 "integer",
143 "null"
144 ]
145 },
146 "Links": {
147 "$ref": "#/definitions/PCIeLinks",
148 "description": "The links to other Resources that are related to this Resource.",
149 "longDescription": "The Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource."
150 },
151 "Location": {
152 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Location",
153 "description": "The location of the PCIe slot.",
154 "longDescription": "This property shall contain part location information, including a ServiceLabel of the associated PCIe Slot."
155 },
156 "LocationIndicatorActive": {
157 "description": "An indicator allowing an operator to physically locate this resource.",
158 "longDescription": "This property shall contain the state of the indicator used to physically identify or locate this resource. A write to this property shall update the value of IndicatorLED in this resource, if supported, to reflect the implementation of the locating function.",
159 "readonly": false,
160 "type": [
161 "boolean",
162 "null"
163 ],
164 "versionAdded": "v1_4_0"
165 },
166 "Oem": {
167 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
168 "description": "The OEM extension property.",
169 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
170 },
171 "PCIeType": {
172 "anyOf": [
173 {
174 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeTypes"
175 },
176 {
177 "type": "null"
178 }
179 ],
180 "description": "The PCIe specification supported by this slot.",
181 "longDescription": "This property shall contain the maximum PCIe specification that this slot supports.",
182 "readonly": true
183 },
184 "SlotType": {
185 "anyOf": [
186 {
187 "$ref": "#/definitions/SlotTypes"
188 },
189 {
190 "type": "null"
191 }
192 ],
193 "description": "The PCIe slot type for this slot.",
194 "longDescription": "This property shall contain the slot type as specified by the PCIe specification.",
195 "readonly": true
196 },
197 "Status": {
198 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
199 "description": "The status and health of the Resource and its subordinate or dependent Resources.",
200 "longDescription": "This property shall contain any status or health properties of the Resource."
201 }
202 },
203 "type": "object"
204 },
205 "PCIeSlots": {
206 "additionalProperties": false,
207 "description": "The PCIeSlots schema describes PCIe slot properties.",
208 "longDescription": "This Resource shall represent a set of PCIe slot information for a Redfish implementation.",
209 "patternProperties": {
210 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
211 "description": "This property shall specify a valid odata or Redfish property.",
212 "type": [
213 "array",
214 "boolean",
215 "integer",
216 "number",
217 "null",
218 "object",
219 "string"
220 ]
221 }
222 },
223 "properties": {
224 "@odata.context": {
225 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
226 },
227 "@odata.etag": {
228 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
229 },
230 "@odata.id": {
231 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
232 },
233 "@odata.type": {
234 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
235 },
236 "Actions": {
237 "$ref": "#/definitions/Actions",
238 "description": "The available actions for this Resource.",
239 "longDescription": "This property shall contain the available actions for this Resource."
240 },
241 "Description": {
242 "anyOf": [
243 {
244 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
245 },
246 {
247 "type": "null"
248 }
249 ],
250 "readonly": true
251 },
252 "Id": {
253 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
254 "readonly": true
255 },
256 "Name": {
257 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
258 "readonly": true
259 },
260 "Oem": {
261 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
262 "description": "The OEM extension property.",
263 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
264 },
265 "Slots": {
266 "description": "An array of PCI Slot information.",
267 "items": {
268 "$ref": "#/definitions/PCIeSlot"
269 },
270 "longDescription": "This array shall contain an entry for each PCIe slot, including empty slots (with no device or card installed).",
271 "type": "array"
272 }
273 },
274 "required": [
275 "@odata.id",
276 "@odata.type",
277 "Id",
278 "Name"
279 ],
280 "type": "object"
281 },
282 "SlotTypes": {
283 "enum": [
284 "FullLength",
285 "HalfLength",
286 "LowProfile",
287 "Mini",
288 "M2",
289 "OEM",
290 "OCP3Small",
291 "OCP3Large",
292 "U2"
293 ],
294 "enumDescriptions": {
295 "FullLength": "Full-Length PCIe slot.",
296 "HalfLength": "Half-Length PCIe slot.",
297 "LowProfile": "Low-Profile or Slim PCIe slot.",
298 "M2": "PCIe M.2 slot.",
299 "Mini": "Mini PCIe slot.",
300 "OCP3Large": "Open Compute Project 3.0 large form factor slot.",
301 "OCP3Small": "Open Compute Project 3.0 small form factor slot.",
302 "OEM": "An OEM-specific slot.",
303 "U2": "U.2 / SFF-8639 slot or bay."
304 },
305 "enumVersionAdded": {
306 "OCP3Large": "v1_2_0",
307 "OCP3Small": "v1_2_0",
308 "U2": "v1_3_0"
309 },
310 "type": "string"
311 }
312 },
313 "owningEntity": "DMTF",
314 "release": "2021.3",
315 "title": "#PCIeSlots.v1_5_0.PCIeSlots"
316}