Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.v1_7_0.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/PCIeDevice", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 5 | "copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 9 | "description": "The available actions for this resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 11 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 17 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 27 | "$ref": "#/definitions/OemActions", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 28 | "description": "The available OEM-specific actions for this resource.", |
| 29 | "longDescription": "This property shall contain the available OEM-specific actions for this resource.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 30 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 31 | } |
| 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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 43 | "Simulated": "A PCIe device that is not currently physically present, but is being simulated by the PCIe infrastructure.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 44 | "SingleFunction": "A single-function PCIe device." |
| 45 | }, |
| 46 | "type": "string" |
| 47 | }, |
| 48 | "Links": { |
| 49 | "additionalProperties": false, |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 50 | "description": "The links to other resources that are related to this resource.", |
| 51 | "longDescription": "This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 52 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 53 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 54 | "description": "This property shall specify a valid odata or Redfish property.", |
| 55 | "type": [ |
| 56 | "array", |
| 57 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 58 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 59 | "number", |
| 60 | "null", |
| 61 | "object", |
| 62 | "string" |
| 63 | ] |
| 64 | } |
| 65 | }, |
| 66 | "properties": { |
| 67 | "Chassis": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 68 | "description": "An array of links to the chassis in which the PCIe device is contained.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 69 | "items": { |
| 70 | "$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis" |
| 71 | }, |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 72 | "longDescription": "This property shall contain an array of links to resources of type Chassis that represent the physical containers associated with this resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 73 | "readonly": true, |
| 74 | "type": "array" |
| 75 | }, |
| 76 | "Chassis@odata.count": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 77 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 78 | }, |
| 79 | "Oem": { |
| 80 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 81 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 83 | }, |
| 84 | "PCIeFunctions": { |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 85 | "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 PCIe functions exposed by this device.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 87 | "items": { |
| 88 | "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction" |
| 89 | }, |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 90 | "longDescription": "This property shall contain an array of links to resources of type PCIeFunction that represent the PCIe functions this device exposes.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 91 | "readonly": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 92 | "type": "array", |
| 93 | "versionDeprecated": "v1_4_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 94 | }, |
| 95 | "PCIeFunctions@odata.count": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 96 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 97 | } |
| 98 | }, |
| 99 | "type": "object" |
| 100 | }, |
| 101 | "OemActions": { |
| 102 | "additionalProperties": true, |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 103 | "description": "The available OEM-specific actions for this resource.", |
| 104 | "longDescription": "This type shall contain the available OEM-specific actions for this resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 105 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 106 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 107 | "description": "This property shall specify a valid odata or Redfish property.", |
| 108 | "type": [ |
| 109 | "array", |
| 110 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 111 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 112 | "number", |
| 113 | "null", |
| 114 | "object", |
| 115 | "string" |
| 116 | ] |
| 117 | } |
| 118 | }, |
| 119 | "properties": {}, |
| 120 | "type": "object" |
| 121 | }, |
| 122 | "PCIeDevice": { |
| 123 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 124 | "description": "The PCIeDevice schema describes the properties of a PCIe device that is attached to a system.", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 125 | "longDescription": "This resource shall represent a PCIe device in a Redfish implementation.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 126 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 127 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 128 | "description": "This property shall specify a valid odata or Redfish property.", |
| 129 | "type": [ |
| 130 | "array", |
| 131 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 132 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 133 | "number", |
| 134 | "null", |
| 135 | "object", |
| 136 | "string" |
| 137 | ] |
| 138 | } |
| 139 | }, |
| 140 | "properties": { |
| 141 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 142 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 143 | }, |
| 144 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 145 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 146 | }, |
| 147 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 148 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 149 | }, |
| 150 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 151 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 152 | }, |
| 153 | "Actions": { |
| 154 | "$ref": "#/definitions/Actions", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 155 | "description": "The available actions for this resource.", |
| 156 | "longDescription": "The actions property shall contain the available actions for this resource.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 157 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 158 | }, |
| 159 | "Assembly": { |
| 160 | "$ref": "http://redfish.dmtf.org/schemas/v1/Assembly.json#/definitions/Assembly", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 161 | "description": "The link to the assembly associated with this PCIe device.", |
| 162 | "longDescription": "This property shall contain a link to a resource of type Assembly.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 163 | "readonly": true, |
| 164 | "versionAdded": "v1_2_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 165 | }, |
| 166 | "AssetTag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 167 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 169 | "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.", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 189 | "longDescription": "This property shall contain the device type of the PCIe device such as `SingleFunction` or `MultiFunction`.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 190 | "readonly": true |
| 191 | }, |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 192 | "EnvironmentMetrics": { |
| 193 | "$ref": "http://redfish.dmtf.org/schemas/v1/EnvironmentMetrics.json#/definitions/EnvironmentMetrics", |
| 194 | "description": "The link to the environment metrics for this PCIe device.", |
| 195 | "longDescription": "This property shall contain a link to a resource of type EnvironmentMetrics that specifies the environment metrics for this PCIe device.", |
| 196 | "readonly": true, |
| 197 | "versionAdded": "v1_7_0" |
| 198 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 199 | "FirmwareVersion": { |
| 200 | "description": "The version of firmware for this PCIe device.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 201 | "longDescription": "This property shall contain the firmware version of the PCIe device.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 202 | "readonly": true, |
| 203 | "type": [ |
| 204 | "string", |
| 205 | "null" |
| 206 | ] |
| 207 | }, |
| 208 | "Id": { |
| 209 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 210 | "readonly": true |
| 211 | }, |
| 212 | "Links": { |
| 213 | "$ref": "#/definitions/Links", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 214 | "description": "The links to other resources that are related to this resource.", |
| 215 | "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 216 | }, |
| 217 | "Manufacturer": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 218 | "description": "The manufacturer of this PCIe device.", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 219 | "longDescription": "This property shall contain the name of the organization responsible for producing the PCIe device. This organization may be the entity from whom the PCIe device is purchased, but this is not necessarily true.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 220 | "readonly": true, |
| 221 | "type": [ |
| 222 | "string", |
| 223 | "null" |
| 224 | ] |
| 225 | }, |
| 226 | "Model": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 227 | "description": "The model number for the PCIe device.", |
| 228 | "longDescription": "This property shall contain the name by which the manufacturer generally refers to the PCIe device.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 229 | "readonly": true, |
| 230 | "type": [ |
| 231 | "string", |
| 232 | "null" |
| 233 | ] |
| 234 | }, |
| 235 | "Name": { |
| 236 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 237 | "readonly": true |
| 238 | }, |
| 239 | "Oem": { |
| 240 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 241 | "description": "The OEM extension property.", |
| 242 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
| 243 | }, |
| 244 | "PCIeFunctions": { |
| 245 | "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunctionCollection.json#/definitions/PCIeFunctionCollection", |
| 246 | "description": "The link to the collection of PCIe functions associated with this PCIe device.", |
| 247 | "longDescription": "This property shall contain a link to a Resource Collection of type PCIeFunctionCollection.", |
| 248 | "readonly": true, |
| 249 | "versionAdded": "v1_4_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 250 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 251 | "PCIeInterface": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 252 | "$ref": "#/definitions/PCIeInterface", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 253 | "description": "The PCIe interface details for this PCIe device.", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 254 | "longDescription": "This property shall contain details for the PCIe interface that connects this PCIe device to its host or upstream switch.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 255 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 256 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 257 | "PartNumber": { |
| 258 | "description": "The part number for this PCIe device.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 259 | "longDescription": "This property shall contain a part number assigned by the organization that is responsible for producing or manufacturing the PCIe device.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 260 | "readonly": true, |
| 261 | "type": [ |
| 262 | "string", |
| 263 | "null" |
| 264 | ] |
| 265 | }, |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 266 | "ReadyToRemove": { |
| 267 | "description": "An indication of whether the PCIe device is prepared by the system for removal.", |
| 268 | "longDescription": "This property shall indicate whether the PCIe device is ready for removal. Setting the value to `true` shall cause the service to perform appropriate actions to quiesce the device. A task may spawn while the device is quiescing.", |
| 269 | "readonly": false, |
| 270 | "type": [ |
| 271 | "boolean", |
| 272 | "null" |
| 273 | ], |
| 274 | "versionAdded": "v1_7_0" |
| 275 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 276 | "SKU": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 277 | "description": "The SKU for this PCIe device.", |
| 278 | "longDescription": "This property shall contain the stock-keeping unit number for this PCIe device.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 279 | "readonly": true, |
| 280 | "type": [ |
| 281 | "string", |
| 282 | "null" |
| 283 | ] |
| 284 | }, |
| 285 | "SerialNumber": { |
| 286 | "description": "The serial number for this PCIe device.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 287 | "longDescription": "This property shall contain a manufacturer-allocated number that identifies the PCIe device.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 288 | "readonly": true, |
| 289 | "type": [ |
| 290 | "string", |
| 291 | "null" |
| 292 | ] |
| 293 | }, |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame] | 294 | "SparePartNumber": { |
| 295 | "description": "The spare part number of the PCIe device.", |
| 296 | "longDescription": "This property shall contain the spare part number of the PCIe device.", |
| 297 | "readonly": true, |
| 298 | "type": [ |
| 299 | "string", |
| 300 | "null" |
| 301 | ], |
| 302 | "versionAdded": "v1_6_0" |
| 303 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 304 | "Status": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 305 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 306 | "description": "The status and health of the resource and its subordinate or dependent resources.", |
| 307 | "longDescription": "This property shall contain any status or health properties of the resource." |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 308 | }, |
| 309 | "UUID": { |
| 310 | "anyOf": [ |
| 311 | { |
| 312 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID" |
| 313 | }, |
| 314 | { |
| 315 | "type": "null" |
| 316 | } |
| 317 | ], |
| 318 | "description": "The UUID for this PCIe device.", |
| 319 | "longDescription": "This property shall contain the universal unique identifier number for this PCIe device.", |
| 320 | "readonly": true, |
| 321 | "versionAdded": "v1_5_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 322 | } |
| 323 | }, |
| 324 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 325 | "@odata.id", |
| 326 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 327 | "Id", |
| 328 | "Name" |
| 329 | ], |
| 330 | "type": "object" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 331 | }, |
| 332 | "PCIeInterface": { |
| 333 | "additionalProperties": false, |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 334 | "description": "Properties that describe a PCIe interface.", |
| 335 | "longDescription": "This type shall contain the definition for a PCIe interface for a Redfish implementation.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 336 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 337 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 338 | "description": "This property shall specify a valid odata or Redfish property.", |
| 339 | "type": [ |
| 340 | "array", |
| 341 | "boolean", |
| 342 | "integer", |
| 343 | "number", |
| 344 | "null", |
| 345 | "object", |
| 346 | "string" |
| 347 | ] |
| 348 | } |
| 349 | }, |
| 350 | "properties": { |
| 351 | "LanesInUse": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 352 | "description": "The number of PCIe lanes in use by this device.", |
| 353 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 354 | "maximum": 32, |
| 355 | "readonly": true, |
| 356 | "type": [ |
| 357 | "integer", |
| 358 | "null" |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 359 | ], |
| 360 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 361 | }, |
| 362 | "MaxLanes": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 363 | "description": "The number of PCIe lanes supported by this device.", |
| 364 | "longDescription": "This property shall contain the maximum number of PCIe lanes supported by this device.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 365 | "maximum": 32, |
| 366 | "readonly": true, |
| 367 | "type": [ |
| 368 | "integer", |
| 369 | "null" |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 370 | ], |
| 371 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 372 | }, |
| 373 | "MaxPCIeType": { |
| 374 | "anyOf": [ |
| 375 | { |
| 376 | "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeTypes" |
| 377 | }, |
| 378 | { |
| 379 | "type": "null" |
| 380 | } |
| 381 | ], |
| 382 | "description": "The highest version of the PCIe specification supported by this device.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 383 | "longDescription": "This property shall contain the maximum PCIe specification that this device supports.", |
| 384 | "readonly": true, |
| 385 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 386 | }, |
| 387 | "Oem": { |
| 388 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 389 | "description": "The OEM extension property.", |
| 390 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.", |
| 391 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 392 | }, |
| 393 | "PCIeType": { |
| 394 | "anyOf": [ |
| 395 | { |
| 396 | "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeTypes" |
| 397 | }, |
| 398 | { |
| 399 | "type": "null" |
| 400 | } |
| 401 | ], |
| 402 | "description": "The version of the PCIe specification in use by this device.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 403 | "longDescription": "This property shall contain the negotiated PCIe interface version in use by this device.", |
| 404 | "readonly": true, |
| 405 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 406 | } |
| 407 | }, |
| 408 | "type": "object" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 409 | } |
| 410 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 411 | "owningEntity": "DMTF", |
Gunnar Mills | 10f270b | 2021-05-19 15:34:06 -0500 | [diff] [blame] | 412 | "release": "2021.1", |
| 413 | "title": "#PCIeDevice.v1_7_0.PCIeDevice" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 414 | } |