xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/AccelerationFunction.v1_0_5.json (revision f2a8e57ede74a8252100b2281e3f4d170aa69391)
1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/AccelerationFunction.v1_0_5.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/AccelerationFunction",
4*f2a8e57eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*f2a8e57eSGunnar Mills    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*f2a8e57eSGunnar Mills    "definitions": {
7*f2a8e57eSGunnar Mills        "AccelerationFunction": {
8*f2a8e57eSGunnar Mills            "additionalProperties": false,
9*f2a8e57eSGunnar Mills            "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*f2a8e57eSGunnar Mills            "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.",
11*f2a8e57eSGunnar Mills            "patternProperties": {
12*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*f2a8e57eSGunnar Mills                    "type": [
15*f2a8e57eSGunnar Mills                        "array",
16*f2a8e57eSGunnar Mills                        "boolean",
17*f2a8e57eSGunnar Mills                        "integer",
18*f2a8e57eSGunnar Mills                        "number",
19*f2a8e57eSGunnar Mills                        "null",
20*f2a8e57eSGunnar Mills                        "object",
21*f2a8e57eSGunnar Mills                        "string"
22*f2a8e57eSGunnar Mills                    ]
23*f2a8e57eSGunnar Mills                }
24*f2a8e57eSGunnar Mills            },
25*f2a8e57eSGunnar Mills            "properties": {
26*f2a8e57eSGunnar Mills                "@odata.context": {
27*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
28*f2a8e57eSGunnar Mills                },
29*f2a8e57eSGunnar Mills                "@odata.etag": {
30*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
31*f2a8e57eSGunnar Mills                },
32*f2a8e57eSGunnar Mills                "@odata.id": {
33*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
34*f2a8e57eSGunnar Mills                },
35*f2a8e57eSGunnar Mills                "@odata.type": {
36*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
37*f2a8e57eSGunnar Mills                },
38*f2a8e57eSGunnar Mills                "AccelerationFunctionType": {
39*f2a8e57eSGunnar Mills                    "anyOf": [
40*f2a8e57eSGunnar Mills                        {
41*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/AccelerationFunctionType"
42*f2a8e57eSGunnar Mills                        },
43*f2a8e57eSGunnar Mills                        {
44*f2a8e57eSGunnar Mills                            "type": "null"
45*f2a8e57eSGunnar Mills                        }
46*f2a8e57eSGunnar Mills                    ],
47*f2a8e57eSGunnar Mills                    "description": "The acceleration function type.",
48*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the string that identifies the acceleration function type.",
49*f2a8e57eSGunnar Mills                    "readonly": true
50*f2a8e57eSGunnar Mills                },
51*f2a8e57eSGunnar Mills                "Actions": {
52*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
53*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
54*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
55*f2a8e57eSGunnar Mills                },
56*f2a8e57eSGunnar Mills                "Description": {
57*f2a8e57eSGunnar Mills                    "anyOf": [
58*f2a8e57eSGunnar Mills                        {
59*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
60*f2a8e57eSGunnar Mills                        },
61*f2a8e57eSGunnar Mills                        {
62*f2a8e57eSGunnar Mills                            "type": "null"
63*f2a8e57eSGunnar Mills                        }
64*f2a8e57eSGunnar Mills                    ],
65*f2a8e57eSGunnar Mills                    "readonly": true
66*f2a8e57eSGunnar Mills                },
67*f2a8e57eSGunnar Mills                "FpgaReconfigurationSlots": {
68*f2a8e57eSGunnar Mills                    "description": "An array of the reconfiguration slot identifiers of the FPGA that this acceleration function occupies.",
69*f2a8e57eSGunnar Mills                    "items": {
70*f2a8e57eSGunnar Mills                        "type": "string"
71*f2a8e57eSGunnar Mills                    },
72*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of the FPGA reconfiguration slot identifiers that this acceleration function occupies.",
73*f2a8e57eSGunnar Mills                    "readonly": true,
74*f2a8e57eSGunnar Mills                    "type": "array"
75*f2a8e57eSGunnar Mills                },
76*f2a8e57eSGunnar Mills                "Id": {
77*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
78*f2a8e57eSGunnar Mills                    "readonly": true
79*f2a8e57eSGunnar Mills                },
80*f2a8e57eSGunnar Mills                "Links": {
81*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Links",
82*f2a8e57eSGunnar Mills                    "description": "The links to other resources that are related to this resource.",
83*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."
84*f2a8e57eSGunnar Mills                },
85*f2a8e57eSGunnar Mills                "Manufacturer": {
86*f2a8e57eSGunnar Mills                    "description": "The acceleration function code manufacturer.",
87*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a string that identifies the manufacturer of the acceleration function.",
88*f2a8e57eSGunnar Mills                    "readonly": true,
89*f2a8e57eSGunnar Mills                    "type": "string"
90*f2a8e57eSGunnar Mills                },
91*f2a8e57eSGunnar Mills                "Name": {
92*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
93*f2a8e57eSGunnar Mills                    "readonly": true
94*f2a8e57eSGunnar Mills                },
95*f2a8e57eSGunnar Mills                "Oem": {
96*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
97*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
98*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
99*f2a8e57eSGunnar Mills                },
100*f2a8e57eSGunnar Mills                "PowerWatts": {
101*f2a8e57eSGunnar Mills                    "description": "The acceleration function power consumption, in watt units.",
102*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total acceleration function power consumption, in watt units.",
103*f2a8e57eSGunnar Mills                    "readonly": true,
104*f2a8e57eSGunnar Mills                    "type": "integer",
105*f2a8e57eSGunnar Mills                    "units": "W"
106*f2a8e57eSGunnar Mills                },
107*f2a8e57eSGunnar Mills                "Status": {
108*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
109*f2a8e57eSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
110*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource."
111*f2a8e57eSGunnar Mills                },
112*f2a8e57eSGunnar Mills                "UUID": {
113*f2a8e57eSGunnar Mills                    "anyOf": [
114*f2a8e57eSGunnar Mills                        {
115*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID"
116*f2a8e57eSGunnar Mills                        },
117*f2a8e57eSGunnar Mills                        {
118*f2a8e57eSGunnar Mills                            "type": "null"
119*f2a8e57eSGunnar Mills                        }
120*f2a8e57eSGunnar Mills                    ],
121*f2a8e57eSGunnar Mills                    "description": "The UUID for this acceleration function.",
122*f2a8e57eSGunnar Mills                    "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 subfields within the UUID.",
123*f2a8e57eSGunnar Mills                    "readonly": true
124*f2a8e57eSGunnar Mills                },
125*f2a8e57eSGunnar Mills                "Version": {
126*f2a8e57eSGunnar Mills                    "description": "The acceleration function version.",
127*f2a8e57eSGunnar Mills                    "longDescription": "This property shall describe the acceleration function version.",
128*f2a8e57eSGunnar Mills                    "readonly": true,
129*f2a8e57eSGunnar Mills                    "type": "string"
130*f2a8e57eSGunnar Mills                }
131*f2a8e57eSGunnar Mills            },
132*f2a8e57eSGunnar Mills            "required": [
133*f2a8e57eSGunnar Mills                "@odata.id",
134*f2a8e57eSGunnar Mills                "@odata.type",
135*f2a8e57eSGunnar Mills                "Id",
136*f2a8e57eSGunnar Mills                "Name"
137*f2a8e57eSGunnar Mills            ],
138*f2a8e57eSGunnar Mills            "type": "object"
139*f2a8e57eSGunnar Mills        },
140*f2a8e57eSGunnar Mills        "AccelerationFunctionType": {
141*f2a8e57eSGunnar Mills            "enum": [
142*f2a8e57eSGunnar Mills                "Encryption",
143*f2a8e57eSGunnar Mills                "Compression",
144*f2a8e57eSGunnar Mills                "PacketInspection",
145*f2a8e57eSGunnar Mills                "PacketSwitch",
146*f2a8e57eSGunnar Mills                "Scheduler",
147*f2a8e57eSGunnar Mills                "AudioProcessing",
148*f2a8e57eSGunnar Mills                "VideoProcessing",
149*f2a8e57eSGunnar Mills                "OEM"
150*f2a8e57eSGunnar Mills            ],
151*f2a8e57eSGunnar Mills            "enumDescriptions": {
152*f2a8e57eSGunnar Mills                "AudioProcessing": "An audio processing function.",
153*f2a8e57eSGunnar Mills                "Compression": "A compression function.",
154*f2a8e57eSGunnar Mills                "Encryption": "An encryption function.",
155*f2a8e57eSGunnar Mills                "OEM": "An OEM-defined acceleration function.",
156*f2a8e57eSGunnar Mills                "PacketInspection": "A packet inspection function.",
157*f2a8e57eSGunnar Mills                "PacketSwitch": "A packet switch function.",
158*f2a8e57eSGunnar Mills                "Scheduler": "A scheduler function.",
159*f2a8e57eSGunnar Mills                "VideoProcessing": "A video processing function."
160*f2a8e57eSGunnar Mills            },
161*f2a8e57eSGunnar Mills            "type": "string"
162*f2a8e57eSGunnar Mills        },
163*f2a8e57eSGunnar Mills        "Actions": {
164*f2a8e57eSGunnar Mills            "additionalProperties": false,
165*f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
166*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
167*f2a8e57eSGunnar Mills            "patternProperties": {
168*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
169*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
170*f2a8e57eSGunnar Mills                    "type": [
171*f2a8e57eSGunnar Mills                        "array",
172*f2a8e57eSGunnar Mills                        "boolean",
173*f2a8e57eSGunnar Mills                        "integer",
174*f2a8e57eSGunnar Mills                        "number",
175*f2a8e57eSGunnar Mills                        "null",
176*f2a8e57eSGunnar Mills                        "object",
177*f2a8e57eSGunnar Mills                        "string"
178*f2a8e57eSGunnar Mills                    ]
179*f2a8e57eSGunnar Mills                }
180*f2a8e57eSGunnar Mills            },
181*f2a8e57eSGunnar Mills            "properties": {
182*f2a8e57eSGunnar Mills                "Oem": {
183*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
184*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
185*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
186*f2a8e57eSGunnar Mills                }
187*f2a8e57eSGunnar Mills            },
188*f2a8e57eSGunnar Mills            "type": "object"
189*f2a8e57eSGunnar Mills        },
190*f2a8e57eSGunnar Mills        "Links": {
191*f2a8e57eSGunnar Mills            "additionalProperties": false,
192*f2a8e57eSGunnar Mills            "description": "The links to other resources that are related to this resource.",
193*f2a8e57eSGunnar Mills            "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.",
194*f2a8e57eSGunnar Mills            "patternProperties": {
195*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
196*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
197*f2a8e57eSGunnar Mills                    "type": [
198*f2a8e57eSGunnar Mills                        "array",
199*f2a8e57eSGunnar Mills                        "boolean",
200*f2a8e57eSGunnar Mills                        "integer",
201*f2a8e57eSGunnar Mills                        "number",
202*f2a8e57eSGunnar Mills                        "null",
203*f2a8e57eSGunnar Mills                        "object",
204*f2a8e57eSGunnar Mills                        "string"
205*f2a8e57eSGunnar Mills                    ]
206*f2a8e57eSGunnar Mills                }
207*f2a8e57eSGunnar Mills            },
208*f2a8e57eSGunnar Mills            "properties": {
209*f2a8e57eSGunnar Mills                "Endpoints": {
210*f2a8e57eSGunnar Mills                    "description": "An array of links to the endpoints that connect to this acceleration function.",
211*f2a8e57eSGunnar Mills                    "items": {
212*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint"
213*f2a8e57eSGunnar Mills                    },
214*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of links to resources type `Endpoint` that are associated with this acceleration function.",
215*f2a8e57eSGunnar Mills                    "readonly": true,
216*f2a8e57eSGunnar Mills                    "type": "array"
217*f2a8e57eSGunnar Mills                },
218*f2a8e57eSGunnar Mills                "Endpoints@odata.count": {
219*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
220*f2a8e57eSGunnar Mills                },
221*f2a8e57eSGunnar Mills                "Oem": {
222*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
223*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
224*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
225*f2a8e57eSGunnar Mills                },
226*f2a8e57eSGunnar Mills                "PCIeFunctions": {
227*f2a8e57eSGunnar Mills                    "description": "An array of links to the PCIe functions associated with this acceleration function.",
228*f2a8e57eSGunnar Mills                    "items": {
229*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction"
230*f2a8e57eSGunnar Mills                    },
231*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of links to resources of type `PCIeFunction` that represent the PCIe functions associated with this acceleration function.",
232*f2a8e57eSGunnar Mills                    "readonly": true,
233*f2a8e57eSGunnar Mills                    "type": "array"
234*f2a8e57eSGunnar Mills                },
235*f2a8e57eSGunnar Mills                "PCIeFunctions@odata.count": {
236*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
237*f2a8e57eSGunnar Mills                }
238*f2a8e57eSGunnar Mills            },
239*f2a8e57eSGunnar Mills            "type": "object"
240*f2a8e57eSGunnar Mills        },
241*f2a8e57eSGunnar Mills        "OemActions": {
242*f2a8e57eSGunnar Mills            "additionalProperties": true,
243*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
244*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
245*f2a8e57eSGunnar Mills            "patternProperties": {
246*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
247*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
248*f2a8e57eSGunnar Mills                    "type": [
249*f2a8e57eSGunnar Mills                        "array",
250*f2a8e57eSGunnar Mills                        "boolean",
251*f2a8e57eSGunnar Mills                        "integer",
252*f2a8e57eSGunnar Mills                        "number",
253*f2a8e57eSGunnar Mills                        "null",
254*f2a8e57eSGunnar Mills                        "object",
255*f2a8e57eSGunnar Mills                        "string"
256*f2a8e57eSGunnar Mills                    ]
257*f2a8e57eSGunnar Mills                }
258*f2a8e57eSGunnar Mills            },
259*f2a8e57eSGunnar Mills            "properties": {},
260*f2a8e57eSGunnar Mills            "type": "object"
261*f2a8e57eSGunnar Mills        }
262*f2a8e57eSGunnar Mills    },
263*f2a8e57eSGunnar Mills    "language": "en",
264*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
265*f2a8e57eSGunnar Mills    "release": "2018.3",
266*f2a8e57eSGunnar Mills    "title": "#AccelerationFunction.v1_0_5.AccelerationFunction"
267*f2a8e57eSGunnar Mills}