blob: dc1b17e6f97de7caa800490eeae97b7cd9d56950 [file] [log] [blame]
Marri Devender Raod45d2d02019-01-21 10:11:34 -06001{
Ed Tanouscb103132019-10-08 11:34:22 -07002 "$id": "http://redfish.dmtf.org/schemas/v1/AccelerationFunction.v1_0_2.json",
Marri Devender Raod45d2d02019-01-21 10:11:34 -06003 "$ref": "#/definitions/AccelerationFunction",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Ed Tanouscb103132019-10-08 11:34:22 -07005 "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Marri Devender Raod45d2d02019-01-21 10:11:34 -06006 "definitions": {
7 "AccelerationFunction": {
8 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -07009 "description": "The AccelerationFunction schema describes an acceleration function that a processor implements. This can include functions such as audio processing, compression, encryption, packet inspection, packet switching, scheduling, or video processing.",
10 "longDescription": "This Resource shall represent the acceleration function that a processor implements in a Redfish implementation. This can include functions such as audio processing, compression, encryption, packet inspection, packet switching, scheduling, or video processing.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060011 "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_]*$": {
Marri Devender Raod45d2d02019-01-21 10:11:34 -060013 "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 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -070027 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Marri Devender Raod45d2d02019-01-21 10:11:34 -060028 },
29 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -070030 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Marri Devender Raod45d2d02019-01-21 10:11:34 -060031 },
32 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -070033 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Marri Devender Raod45d2d02019-01-21 10:11:34 -060034 },
35 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -070036 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Marri Devender Raod45d2d02019-01-21 10:11:34 -060037 },
38 "AccelerationFunctionType": {
39 "anyOf": [
40 {
41 "$ref": "#/definitions/AccelerationFunctionType"
42 },
43 {
44 "type": "null"
45 }
46 ],
Ed Tanouscb103132019-10-08 11:34:22 -070047 "description": "The acceleration function type.",
48 "longDescription": "This property shall contain the string that identifies the acceleration function type.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060049 "readonly": true
50 },
51 "Actions": {
52 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -070053 "description": "The available actions for this Resource.",
54 "longDescription": "This property shall contain the available actions for this Resource."
Marri Devender Raod45d2d02019-01-21 10:11:34 -060055 },
56 "Description": {
57 "anyOf": [
58 {
59 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
60 },
61 {
62 "type": "null"
63 }
64 ],
65 "readonly": true
66 },
67 "FpgaReconfigurationSlots": {
Ed Tanouscb103132019-10-08 11:34:22 -070068 "description": "An array of the reconfiguration slot identifiers of the FPGA that this acceleration function occupies.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060069 "items": {
70 "type": "string"
71 },
Ed Tanouscb103132019-10-08 11:34:22 -070072 "longDescription": "This property shall contain an array of the FPGA reconfiguration slot identifiers that this acceleration function occupies.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060073 "readonly": true,
74 "type": "array"
75 },
76 "Id": {
77 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
78 "readonly": true
79 },
80 "Links": {
81 "$ref": "#/definitions/Links",
Ed Tanouscb103132019-10-08 11:34:22 -070082 "description": "The links to other Resources that are related to this Resource.",
83 "longDescription": "This property shall contain links to Resources that are related to but are not contained by, or subordinate to, this Resource."
Marri Devender Raod45d2d02019-01-21 10:11:34 -060084 },
85 "Manufacturer": {
86 "description": "The acceleration function code manufacturer.",
Ed Tanouscb103132019-10-08 11:34:22 -070087 "longDescription": "This property shall contain a string that identifies the manufacturer of the acceleration function.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060088 "readonly": true,
89 "type": "string"
90 },
91 "Name": {
92 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
93 "readonly": true
94 },
95 "Oem": {
96 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -070097 "description": "The OEM extension property.",
98 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
Marri Devender Raod45d2d02019-01-21 10:11:34 -060099 },
100 "PowerWatts": {
Ed Tanouscb103132019-10-08 11:34:22 -0700101 "description": "The acceleration function power consumption, in watts.",
102 "longDescription": "This property shall contain the total acceleration function power consumption, in watts.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600103 "readonly": true,
104 "type": "integer",
105 "units": "W"
106 },
107 "Status": {
108 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Ed Tanouscb103132019-10-08 11:34:22 -0700109 "description": "The status and health of the Resource and its subordinate or dependent Resources.",
110 "longDescription": "This property shall contain any status or health properties of the Resource."
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600111 },
112 "UUID": {
113 "anyOf": [
114 {
115 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID"
116 },
117 {
118 "type": "null"
119 }
120 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700121 "description": "The UUID for this acceleration function.",
122 "longDescription": "This property shall contain a UUID for the acceleration function. RFC4122 describes methods that can create the value. The value should be considered to be opaque. Client software should only treat the overall value as a UUID and should not interpret any sub-fields within the UUID.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600123 "readonly": true
124 },
125 "Version": {
126 "description": "The acceleration function version.",
Ed Tanouscb103132019-10-08 11:34:22 -0700127 "longDescription": "This property shall describe the acceleration function version.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600128 "readonly": true,
129 "type": "string"
130 }
131 },
132 "required": [
133 "@odata.id",
134 "@odata.type",
135 "Id",
136 "Name"
137 ],
138 "type": "object"
139 },
140 "AccelerationFunctionType": {
141 "enum": [
142 "Encryption",
143 "Compression",
144 "PacketInspection",
145 "PacketSwitch",
146 "Scheduler",
147 "AudioProcessing",
148 "VideoProcessing",
149 "OEM"
150 ],
151 "enumDescriptions": {
152 "AudioProcessing": "An audio processing function.",
153 "Compression": "A compression function.",
154 "Encryption": "An encryption function.",
155 "OEM": "An OEM-defined acceleration function.",
156 "PacketInspection": "A packet inspection function.",
157 "PacketSwitch": "A packet switch function.",
158 "Scheduler": "A scheduler function.",
159 "VideoProcessing": "A video processing function."
160 },
161 "type": "string"
162 },
163 "Actions": {
164 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700165 "description": "The available actions for this Resource.",
166 "longDescription": "This type shall contain the available actions for this Resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600167 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700168 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600169 "description": "This property shall specify a valid odata or Redfish property.",
170 "type": [
171 "array",
172 "boolean",
173 "integer",
174 "number",
175 "null",
176 "object",
177 "string"
178 ]
179 }
180 },
181 "properties": {
182 "Oem": {
183 "$ref": "#/definitions/OemActions",
Ed Tanouscb103132019-10-08 11:34:22 -0700184 "description": "The available OEM-specific actions for this Resource.",
185 "longDescription": "This property shall contain the available OEM-specific actions for this Resource."
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600186 }
187 },
188 "type": "object"
189 },
190 "Links": {
191 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700192 "description": "The links to other Resources that are related to this Resource.",
193 "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.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600194 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700195 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600196 "description": "This property shall specify a valid odata or Redfish property.",
197 "type": [
198 "array",
199 "boolean",
200 "integer",
201 "number",
202 "null",
203 "object",
204 "string"
205 ]
206 }
207 },
208 "properties": {
209 "Endpoints": {
Ed Tanouscb103132019-10-08 11:34:22 -0700210 "description": "An array of links to the endpoints that connect to this acceleration function.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600211 "items": {
212 "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint"
213 },
Ed Tanouscb103132019-10-08 11:34:22 -0700214 "longDescription": "This property shall contain an array of links to Resources of the Endpoint type that are associated with this acceleration function.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600215 "readonly": true,
216 "type": "array"
217 },
218 "Endpoints@odata.count": {
Ed Tanouscb103132019-10-08 11:34:22 -0700219 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600220 },
221 "Oem": {
222 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700223 "description": "The OEM extension property.",
224 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600225 },
226 "PCIeFunctions": {
Ed Tanouscb103132019-10-08 11:34:22 -0700227 "description": "An array of links to the PCIeFunctions associated with this acceleration function.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600228 "items": {
229 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction"
230 },
Ed Tanouscb103132019-10-08 11:34:22 -0700231 "longDescription": "This property shall contain an array of links of the PCIeFunction type that represent the PCIe functions associated with this acceleration function.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600232 "readonly": true,
233 "type": "array"
234 },
235 "PCIeFunctions@odata.count": {
Ed Tanouscb103132019-10-08 11:34:22 -0700236 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600237 }
238 },
239 "type": "object"
240 },
241 "OemActions": {
242 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700243 "description": "The available OEM-specific actions for this Resource.",
244 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600245 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700246 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600247 "description": "This property shall specify a valid odata or Redfish property.",
248 "type": [
249 "array",
250 "boolean",
251 "integer",
252 "number",
253 "null",
254 "object",
255 "string"
256 ]
257 }
258 },
259 "properties": {},
260 "type": "object"
261 }
262 },
263 "owningEntity": "DMTF",
264 "release": "2018.3",
Ed Tanouscb103132019-10-08 11:34:22 -0700265 "title": "#AccelerationFunction.v1_0_2.AccelerationFunction"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600266}