blob: ef790fa2542258cef47a6d312cfcfc22cc475420 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05002 "$id": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.v1_5_0.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/PCIeDevice",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05005 "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -07009 "description": "The available actions for this Resource.",
10 "longDescription": "This type shall contain the available actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070011 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070012 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070013 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080017 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070018 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
26 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080027 "$ref": "#/definitions/OemActions",
Ed Tanouscb103132019-10-08 11:34:22 -070028 "description": "The available OEM-specific actions for this Resource.",
29 "longDescription": "This property shall contain the available OEM-specific actions for this Resource.",
30 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070031 }
32 },
33 "type": "object"
34 },
35 "DeviceType": {
36 "enum": [
37 "SingleFunction",
38 "MultiFunction",
39 "Simulated"
40 ],
41 "enumDescriptions": {
42 "MultiFunction": "A multi-function PCIe device.",
Ed Tanouscb103132019-10-08 11:34:22 -070043 "Simulated": "A PCIe device that is not currently physically present, but is being simulated by the PCIe infrastructure.",
Ed Tanous118b1c72018-09-13 13:45:51 -070044 "SingleFunction": "A single-function PCIe device."
45 },
46 "type": "string"
47 },
48 "Links": {
49 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070050 "description": "The links to other Resources that are related to this Resource.",
51 "longDescription": "The Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070052 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070053 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070054 "description": "This property shall specify a valid odata or Redfish property.",
55 "type": [
56 "array",
57 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080058 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070059 "number",
60 "null",
61 "object",
62 "string"
63 ]
64 }
65 },
66 "properties": {
67 "Chassis": {
Ed Tanouscb103132019-10-08 11:34:22 -070068 "description": "An array of links to the chassis in which the PCIe device is contained.",
Ed Tanous118b1c72018-09-13 13:45:51 -070069 "items": {
70 "$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis"
71 },
Ed Tanouscb103132019-10-08 11:34:22 -070072 "longDescription": "This property shall link to a Resource of type Chassis that represents the physical container associated with this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070073 "readonly": true,
74 "type": "array"
75 },
76 "Chassis@odata.count": {
Ed Tanouscb103132019-10-08 11:34:22 -070077 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -070078 },
79 "Oem": {
80 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -070081 "description": "The OEM extension property.",
82 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -070083 },
84 "PCIeFunctions": {
Ed Tanouscb103132019-10-08 11:34:22 -070085 "deprecated": "This property has been deprecated in favor of the PCIeFunctions property in the root that provides a link to a Resource Collection.",
86 "description": "An array of links to PCIeFunctions exposed by this device.",
Ed Tanous118b1c72018-09-13 13:45:51 -070087 "items": {
88 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction"
89 },
Ed Tanouscb103132019-10-08 11:34:22 -070090 "longDescription": "This property shall contain a link to the Resources of the PCIeFunction type that this device exposes.",
Ed Tanous118b1c72018-09-13 13:45:51 -070091 "readonly": true,
Ed Tanouscb103132019-10-08 11:34:22 -070092 "type": "array",
93 "versionDeprecated": "v1_4_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070094 },
95 "PCIeFunctions@odata.count": {
Ed Tanouscb103132019-10-08 11:34:22 -070096 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -070097 }
98 },
99 "type": "object"
100 },
101 "OemActions": {
102 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700103 "description": "The available OEM-specific actions for this Resource.",
104 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700105 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700106 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700107 "description": "This property shall specify a valid odata or Redfish property.",
108 "type": [
109 "array",
110 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800111 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700112 "number",
113 "null",
114 "object",
115 "string"
116 ]
117 }
118 },
119 "properties": {},
120 "type": "object"
121 },
122 "PCIeDevice": {
123 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700124 "description": "The PCIeDevice schema describes the properties of a PCIe device that is attached to a system.",
125 "longDescription": "This Resource contains a PCIeDevice that is attached to a system.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700126 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700127 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700128 "description": "This property shall specify a valid odata or Redfish property.",
129 "type": [
130 "array",
131 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800132 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700133 "number",
134 "null",
135 "object",
136 "string"
137 ]
138 }
139 },
140 "properties": {
141 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -0700142 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous530520e2019-01-02 13:41:37 -0800143 },
144 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -0700145 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -0700146 },
147 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -0700148 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -0700149 },
150 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -0700151 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -0700152 },
153 "Actions": {
154 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -0700155 "description": "The available actions for this Resource.",
156 "longDescription": "This property shall contain the available actions for this Resource.",
157 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700158 },
159 "Assembly": {
160 "$ref": "http://redfish.dmtf.org/schemas/v1/Assembly.json#/definitions/Assembly",
Ed Tanouscb103132019-10-08 11:34:22 -0700161 "description": "The link to the assembly Resource associated with this PCIe device.",
162 "longDescription": "This property shall contain a link to a Resource of type assembly.",
163 "readonly": true,
164 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700165 },
166 "AssetTag": {
Ed Tanouscb103132019-10-08 11:34:22 -0700167 "description": "The user-assigned asset tag for this PCIe device.",
168 "longDescription": "This property shall contain an identifying string that tracks the PCIe device for inventory purposes.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700169 "readonly": false,
170 "type": [
171 "string",
172 "null"
173 ]
174 },
175 "Description": {
176 "anyOf": [
177 {
178 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
179 },
180 {
181 "type": "null"
182 }
183 ],
184 "readonly": true
185 },
186 "DeviceType": {
187 "$ref": "#/definitions/DeviceType",
188 "description": "The device type for this PCIe device.",
Ed Tanouscb103132019-10-08 11:34:22 -0700189 "longDescription": "This property shall contain the device type of the PCIe device such as SingleFunction or MultiFunction.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700190 "readonly": true
191 },
192 "FirmwareVersion": {
193 "description": "The version of firmware for this PCIe device.",
Ed Tanouscb103132019-10-08 11:34:22 -0700194 "longDescription": "This property shall contain the firmware version of the PCIe device.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700195 "readonly": true,
196 "type": [
197 "string",
198 "null"
199 ]
200 },
201 "Id": {
202 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
203 "readonly": true
204 },
205 "Links": {
206 "$ref": "#/definitions/Links",
Ed Tanouscb103132019-10-08 11:34:22 -0700207 "description": "The links to other Resources that are related to this Resource.",
208 "longDescription": "This property shall contain links to Resources that are related to but are not contained by, or subordinate to, this Resource."
Ed Tanous118b1c72018-09-13 13:45:51 -0700209 },
210 "Manufacturer": {
Ed Tanouscb103132019-10-08 11:34:22 -0700211 "description": "The manufacturer of this PCIe device.",
212 "longDescription": "This property shall contain the name of the organization responsible for producing the PCIe device. This organization might be the entity from whom the PCIe device is purchased, but this is not necessarily true.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700213 "readonly": true,
214 "type": [
215 "string",
216 "null"
217 ]
218 },
219 "Model": {
Ed Tanouscb103132019-10-08 11:34:22 -0700220 "description": "The model number for the PCIe device.",
221 "longDescription": "This property shall contain the name by which the manufacturer generally refers to the PCIe device.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700222 "readonly": true,
223 "type": [
224 "string",
225 "null"
226 ]
227 },
228 "Name": {
229 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
230 "readonly": true
231 },
232 "Oem": {
233 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700234 "description": "The OEM extension property.",
235 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
236 },
237 "PCIeFunctions": {
238 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunctionCollection.json#/definitions/PCIeFunctionCollection",
239 "description": "The link to the collection of PCIe functions associated with this PCIe device.",
240 "longDescription": "This property shall contain a link to a Resource Collection of type PCIeFunctionCollection.",
241 "readonly": true,
242 "versionAdded": "v1_4_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700243 },
Ed Tanous530520e2019-01-02 13:41:37 -0800244 "PCIeInterface": {
Ed Tanouscb103132019-10-08 11:34:22 -0700245 "$ref": "#/definitions/PCIeInterface",
Ed Tanous530520e2019-01-02 13:41:37 -0800246 "description": "The PCIe interface details for this PCIe device.",
Ed Tanouscb103132019-10-08 11:34:22 -0700247 "longDescription": "This object shall contain details for the PCIe interface that connects this PCIe device to its host or upstream switch.",
248 "versionAdded": "v1_3_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800249 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700250 "PartNumber": {
251 "description": "The part number for this PCIe device.",
Ed Tanouscb103132019-10-08 11:34:22 -0700252 "longDescription": "This property shall contain a part number assigned by the organization that is responsible for producing or manufacturing the PCIe device.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700253 "readonly": true,
254 "type": [
255 "string",
256 "null"
257 ]
258 },
259 "SKU": {
Ed Tanouscb103132019-10-08 11:34:22 -0700260 "description": "The SKU for this PCIe device.",
261 "longDescription": "This property shall contain the stock-keeping unit number for this PCIe device.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700262 "readonly": true,
263 "type": [
264 "string",
265 "null"
266 ]
267 },
268 "SerialNumber": {
269 "description": "The serial number for this PCIe device.",
Ed Tanouscb103132019-10-08 11:34:22 -0700270 "longDescription": "This property shall contain a manufacturer-allocated number that identifies the PCIe device.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700271 "readonly": true,
272 "type": [
273 "string",
274 "null"
275 ]
276 },
277 "Status": {
Ed Tanous530520e2019-01-02 13:41:37 -0800278 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Ed Tanouscb103132019-10-08 11:34:22 -0700279 "description": "The status and health of the Resource and its subordinate or dependent Resources.",
280 "longDescription": "This property shall contain any status or health properties of the Resource."
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500281 },
282 "UUID": {
283 "anyOf": [
284 {
285 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID"
286 },
287 {
288 "type": "null"
289 }
290 ],
291 "description": "The UUID for this PCIe device.",
292 "longDescription": "This property shall contain the universal unique identifier number for this PCIe device.",
293 "readonly": true,
294 "versionAdded": "v1_5_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700295 }
296 },
297 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800298 "@odata.id",
299 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700300 "Id",
301 "Name"
302 ],
303 "type": "object"
Ed Tanous530520e2019-01-02 13:41:37 -0800304 },
305 "PCIeInterface": {
306 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700307 "description": "This type defines a PCI interface.",
308 "longDescription": "These properties shall contain the definition for a PCIe Interface for a Redfish implementation.",
Ed Tanous530520e2019-01-02 13:41:37 -0800309 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700310 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -0800311 "description": "This property shall specify a valid odata or Redfish property.",
312 "type": [
313 "array",
314 "boolean",
315 "integer",
316 "number",
317 "null",
318 "object",
319 "string"
320 ]
321 }
322 },
323 "properties": {
324 "LanesInUse": {
Ed Tanouscb103132019-10-08 11:34:22 -0700325 "description": "The number of PCIe lanes in use by this device.",
326 "longDescription": "This property shall contain the number of PCIe lanes in use by this device, which shall be equal to or less than the MaxLanes property value.",
Ed Tanous530520e2019-01-02 13:41:37 -0800327 "maximum": 32,
328 "readonly": true,
329 "type": [
330 "integer",
331 "null"
Ed Tanouscb103132019-10-08 11:34:22 -0700332 ],
333 "versionAdded": "v1_3_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800334 },
335 "MaxLanes": {
Ed Tanouscb103132019-10-08 11:34:22 -0700336 "description": "The number of PCIe lanes supported by this device.",
337 "longDescription": "This property shall contain the maximum number of PCIe lanes supported by this device.",
Ed Tanous530520e2019-01-02 13:41:37 -0800338 "maximum": 32,
339 "readonly": true,
340 "type": [
341 "integer",
342 "null"
Ed Tanouscb103132019-10-08 11:34:22 -0700343 ],
344 "versionAdded": "v1_3_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800345 },
346 "MaxPCIeType": {
347 "anyOf": [
348 {
349 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeTypes"
350 },
351 {
352 "type": "null"
353 }
354 ],
355 "description": "The highest version of the PCIe specification supported by this device.",
Ed Tanouscb103132019-10-08 11:34:22 -0700356 "longDescription": "This property shall contain the maximum PCIe specification that this device supports.",
357 "readonly": true,
358 "versionAdded": "v1_3_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800359 },
360 "Oem": {
361 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700362 "description": "The OEM extension property.",
363 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.",
364 "versionAdded": "v1_3_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800365 },
366 "PCIeType": {
367 "anyOf": [
368 {
369 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeTypes"
370 },
371 {
372 "type": "null"
373 }
374 ],
375 "description": "The version of the PCIe specification in use by this device.",
Ed Tanouscb103132019-10-08 11:34:22 -0700376 "longDescription": "This property shall contain the negotiated PCIe interface version in use by this device.",
377 "readonly": true,
378 "versionAdded": "v1_3_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800379 }
380 },
381 "type": "object"
Ed Tanous118b1c72018-09-13 13:45:51 -0700382 }
383 },
Ed Tanous530520e2019-01-02 13:41:37 -0800384 "owningEntity": "DMTF",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500385 "release": "2020.3",
386 "title": "#PCIeDevice.v1_5_0.PCIeDevice"
Ed Tanous118b1c72018-09-13 13:45:51 -0700387}