xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/OperatingConfig.v1_0_4.json (revision f2a8e57ede74a8252100b2281e3f4d170aa69391)
1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/OperatingConfig.v1_0_4.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/OperatingConfig",
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        "Actions": {
8*f2a8e57eSGunnar Mills            "additionalProperties": false,
9*f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
10*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
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                "Oem": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*f2a8e57eSGunnar Mills                }
31*f2a8e57eSGunnar Mills            },
32*f2a8e57eSGunnar Mills            "type": "object"
33*f2a8e57eSGunnar Mills        },
34*f2a8e57eSGunnar Mills        "BaseSpeedPrioritySettings": {
35*f2a8e57eSGunnar Mills            "additionalProperties": false,
36*f2a8e57eSGunnar Mills            "description": "The clock speed for a set of cores.",
37*f2a8e57eSGunnar Mills            "longDescription": "This type shall specify the clock speed for a set of cores.",
38*f2a8e57eSGunnar Mills            "patternProperties": {
39*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
41*f2a8e57eSGunnar Mills                    "type": [
42*f2a8e57eSGunnar Mills                        "array",
43*f2a8e57eSGunnar Mills                        "boolean",
44*f2a8e57eSGunnar Mills                        "integer",
45*f2a8e57eSGunnar Mills                        "number",
46*f2a8e57eSGunnar Mills                        "null",
47*f2a8e57eSGunnar Mills                        "object",
48*f2a8e57eSGunnar Mills                        "string"
49*f2a8e57eSGunnar Mills                    ]
50*f2a8e57eSGunnar Mills                }
51*f2a8e57eSGunnar Mills            },
52*f2a8e57eSGunnar Mills            "properties": {
53*f2a8e57eSGunnar Mills                "BaseSpeedMHz": {
54*f2a8e57eSGunnar Mills                    "description": "The clock speed to configure the set of cores in MHz.",
55*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the clock speed to configure the set of cores in MHz.",
56*f2a8e57eSGunnar Mills                    "minimum": 0,
57*f2a8e57eSGunnar Mills                    "readonly": true,
58*f2a8e57eSGunnar Mills                    "type": [
59*f2a8e57eSGunnar Mills                        "integer",
60*f2a8e57eSGunnar Mills                        "null"
61*f2a8e57eSGunnar Mills                    ],
62*f2a8e57eSGunnar Mills                    "units": "MHz"
63*f2a8e57eSGunnar Mills                },
64*f2a8e57eSGunnar Mills                "CoreCount": {
65*f2a8e57eSGunnar Mills                    "description": "The number of cores to configure with a specified speed.",
66*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of cores to configure with the speed specified by the `BaseSpeedMHz` property.  The sum of all `CoreCount` properties shall equal the value of the `TotalAvailableCoreCount` property.",
67*f2a8e57eSGunnar Mills                    "minimum": 0,
68*f2a8e57eSGunnar Mills                    "readonly": true,
69*f2a8e57eSGunnar Mills                    "type": [
70*f2a8e57eSGunnar Mills                        "integer",
71*f2a8e57eSGunnar Mills                        "null"
72*f2a8e57eSGunnar Mills                    ]
73*f2a8e57eSGunnar Mills                },
74*f2a8e57eSGunnar Mills                "CoreIDs": {
75*f2a8e57eSGunnar Mills                    "description": "The identifier of the cores to configure with the specified speed.",
76*f2a8e57eSGunnar Mills                    "items": {
77*f2a8e57eSGunnar Mills                        "type": [
78*f2a8e57eSGunnar Mills                            "integer",
79*f2a8e57eSGunnar Mills                            "null"
80*f2a8e57eSGunnar Mills                        ]
81*f2a8e57eSGunnar Mills                    },
82*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array identifying the cores to configure with the speed specified by the `BaseSpeedMHz` property.  The length of the array shall equal the value of the `CoreCount` property.",
83*f2a8e57eSGunnar Mills                    "readonly": true,
84*f2a8e57eSGunnar Mills                    "type": "array"
85*f2a8e57eSGunnar Mills                }
86*f2a8e57eSGunnar Mills            },
87*f2a8e57eSGunnar Mills            "type": "object"
88*f2a8e57eSGunnar Mills        },
89*f2a8e57eSGunnar Mills        "OemActions": {
90*f2a8e57eSGunnar Mills            "additionalProperties": true,
91*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
92*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
93*f2a8e57eSGunnar Mills            "patternProperties": {
94*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
95*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
96*f2a8e57eSGunnar Mills                    "type": [
97*f2a8e57eSGunnar Mills                        "array",
98*f2a8e57eSGunnar Mills                        "boolean",
99*f2a8e57eSGunnar Mills                        "integer",
100*f2a8e57eSGunnar Mills                        "number",
101*f2a8e57eSGunnar Mills                        "null",
102*f2a8e57eSGunnar Mills                        "object",
103*f2a8e57eSGunnar Mills                        "string"
104*f2a8e57eSGunnar Mills                    ]
105*f2a8e57eSGunnar Mills                }
106*f2a8e57eSGunnar Mills            },
107*f2a8e57eSGunnar Mills            "properties": {},
108*f2a8e57eSGunnar Mills            "type": "object"
109*f2a8e57eSGunnar Mills        },
110*f2a8e57eSGunnar Mills        "OperatingConfig": {
111*f2a8e57eSGunnar Mills            "additionalProperties": false,
112*f2a8e57eSGunnar Mills            "description": "The `OperatingConfig` schema specifies a configuration that can be used when the processor is operational.",
113*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent an operational configuration for a processor in the Redfish Specification.",
114*f2a8e57eSGunnar Mills            "patternProperties": {
115*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
116*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
117*f2a8e57eSGunnar Mills                    "type": [
118*f2a8e57eSGunnar Mills                        "array",
119*f2a8e57eSGunnar Mills                        "boolean",
120*f2a8e57eSGunnar Mills                        "integer",
121*f2a8e57eSGunnar Mills                        "number",
122*f2a8e57eSGunnar Mills                        "null",
123*f2a8e57eSGunnar Mills                        "object",
124*f2a8e57eSGunnar Mills                        "string"
125*f2a8e57eSGunnar Mills                    ]
126*f2a8e57eSGunnar Mills                }
127*f2a8e57eSGunnar Mills            },
128*f2a8e57eSGunnar Mills            "properties": {
129*f2a8e57eSGunnar Mills                "@odata.context": {
130*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
131*f2a8e57eSGunnar Mills                },
132*f2a8e57eSGunnar Mills                "@odata.etag": {
133*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
134*f2a8e57eSGunnar Mills                },
135*f2a8e57eSGunnar Mills                "@odata.id": {
136*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
137*f2a8e57eSGunnar Mills                },
138*f2a8e57eSGunnar Mills                "@odata.type": {
139*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
140*f2a8e57eSGunnar Mills                },
141*f2a8e57eSGunnar Mills                "Actions": {
142*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
143*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
144*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
145*f2a8e57eSGunnar Mills                },
146*f2a8e57eSGunnar Mills                "BaseSpeedMHz": {
147*f2a8e57eSGunnar Mills                    "description": "The base (nominal) clock speed of the processor in MHz.",
148*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the base (nominal) clock speed of the processor in MHz.",
149*f2a8e57eSGunnar Mills                    "minimum": 0,
150*f2a8e57eSGunnar Mills                    "readonly": true,
151*f2a8e57eSGunnar Mills                    "type": [
152*f2a8e57eSGunnar Mills                        "integer",
153*f2a8e57eSGunnar Mills                        "null"
154*f2a8e57eSGunnar Mills                    ],
155*f2a8e57eSGunnar Mills                    "units": "MHz"
156*f2a8e57eSGunnar Mills                },
157*f2a8e57eSGunnar Mills                "BaseSpeedPrioritySettings": {
158*f2a8e57eSGunnar Mills                    "description": "The clock speed for sets of cores when the configuration is operational.",
159*f2a8e57eSGunnar Mills                    "items": {
160*f2a8e57eSGunnar Mills                        "anyOf": [
161*f2a8e57eSGunnar Mills                            {
162*f2a8e57eSGunnar Mills                                "$ref": "#/definitions/BaseSpeedPrioritySettings"
163*f2a8e57eSGunnar Mills                            },
164*f2a8e57eSGunnar Mills                            {
165*f2a8e57eSGunnar Mills                                "type": "null"
166*f2a8e57eSGunnar Mills                            }
167*f2a8e57eSGunnar Mills                        ]
168*f2a8e57eSGunnar Mills                    },
169*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of objects that specify the clock speed for sets of cores when the configuration is operational.",
170*f2a8e57eSGunnar Mills                    "type": "array"
171*f2a8e57eSGunnar Mills                },
172*f2a8e57eSGunnar Mills                "Description": {
173*f2a8e57eSGunnar Mills                    "anyOf": [
174*f2a8e57eSGunnar Mills                        {
175*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
176*f2a8e57eSGunnar Mills                        },
177*f2a8e57eSGunnar Mills                        {
178*f2a8e57eSGunnar Mills                            "type": "null"
179*f2a8e57eSGunnar Mills                        }
180*f2a8e57eSGunnar Mills                    ],
181*f2a8e57eSGunnar Mills                    "readonly": true
182*f2a8e57eSGunnar Mills                },
183*f2a8e57eSGunnar Mills                "Id": {
184*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
185*f2a8e57eSGunnar Mills                    "readonly": true
186*f2a8e57eSGunnar Mills                },
187*f2a8e57eSGunnar Mills                "MaxJunctionTemperatureCelsius": {
188*f2a8e57eSGunnar Mills                    "description": "The maximum temperature of the junction in degree Celsius units.",
189*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the maximum temperature of the junction in degree Celsius units.",
190*f2a8e57eSGunnar Mills                    "readonly": true,
191*f2a8e57eSGunnar Mills                    "type": [
192*f2a8e57eSGunnar Mills                        "integer",
193*f2a8e57eSGunnar Mills                        "null"
194*f2a8e57eSGunnar Mills                    ],
195*f2a8e57eSGunnar Mills                    "units": "Cel"
196*f2a8e57eSGunnar Mills                },
197*f2a8e57eSGunnar Mills                "MaxSpeedMHz": {
198*f2a8e57eSGunnar Mills                    "description": "The maximum clock speed to which the processor can be configured in MHz.",
199*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the maximum clock speed to which the processor can be configured in MHz.",
200*f2a8e57eSGunnar Mills                    "minimum": 0,
201*f2a8e57eSGunnar Mills                    "readonly": true,
202*f2a8e57eSGunnar Mills                    "type": [
203*f2a8e57eSGunnar Mills                        "integer",
204*f2a8e57eSGunnar Mills                        "null"
205*f2a8e57eSGunnar Mills                    ],
206*f2a8e57eSGunnar Mills                    "units": "MHz"
207*f2a8e57eSGunnar Mills                },
208*f2a8e57eSGunnar Mills                "Name": {
209*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
210*f2a8e57eSGunnar Mills                    "readonly": true
211*f2a8e57eSGunnar Mills                },
212*f2a8e57eSGunnar Mills                "Oem": {
213*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
214*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
215*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."
216*f2a8e57eSGunnar Mills                },
217*f2a8e57eSGunnar Mills                "TDPWatts": {
218*f2a8e57eSGunnar Mills                    "description": "The thermal design point of the processor in watt units.",
219*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the thermal design point of the processor in watt units.",
220*f2a8e57eSGunnar Mills                    "minimum": 0,
221*f2a8e57eSGunnar Mills                    "readonly": true,
222*f2a8e57eSGunnar Mills                    "type": [
223*f2a8e57eSGunnar Mills                        "integer",
224*f2a8e57eSGunnar Mills                        "null"
225*f2a8e57eSGunnar Mills                    ],
226*f2a8e57eSGunnar Mills                    "units": "W"
227*f2a8e57eSGunnar Mills                },
228*f2a8e57eSGunnar Mills                "TotalAvailableCoreCount": {
229*f2a8e57eSGunnar Mills                    "description": "The number of cores in the processor that can be configured.",
230*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of cores in the processor that can be configured.",
231*f2a8e57eSGunnar Mills                    "minimum": 0,
232*f2a8e57eSGunnar Mills                    "readonly": true,
233*f2a8e57eSGunnar Mills                    "type": [
234*f2a8e57eSGunnar Mills                        "integer",
235*f2a8e57eSGunnar Mills                        "null"
236*f2a8e57eSGunnar Mills                    ]
237*f2a8e57eSGunnar Mills                },
238*f2a8e57eSGunnar Mills                "TurboProfile": {
239*f2a8e57eSGunnar Mills                    "description": "The turbo profiles for the processor.  A turbo profile is the maximum turbo clock speed as a function of the number of active cores.",
240*f2a8e57eSGunnar Mills                    "items": {
241*f2a8e57eSGunnar Mills                        "anyOf": [
242*f2a8e57eSGunnar Mills                            {
243*f2a8e57eSGunnar Mills                                "$ref": "#/definitions/TurboProfileDatapoint"
244*f2a8e57eSGunnar Mills                            },
245*f2a8e57eSGunnar Mills                            {
246*f2a8e57eSGunnar Mills                                "type": "null"
247*f2a8e57eSGunnar Mills                            }
248*f2a8e57eSGunnar Mills                        ]
249*f2a8e57eSGunnar Mills                    },
250*f2a8e57eSGunnar Mills                    "longDescription": "The property shall contain an array of objects that specify the turbo profile for a set of active cores.",
251*f2a8e57eSGunnar Mills                    "type": "array"
252*f2a8e57eSGunnar Mills                }
253*f2a8e57eSGunnar Mills            },
254*f2a8e57eSGunnar Mills            "required": [
255*f2a8e57eSGunnar Mills                "@odata.id",
256*f2a8e57eSGunnar Mills                "@odata.type",
257*f2a8e57eSGunnar Mills                "Id",
258*f2a8e57eSGunnar Mills                "Name"
259*f2a8e57eSGunnar Mills            ],
260*f2a8e57eSGunnar Mills            "type": "object"
261*f2a8e57eSGunnar Mills        },
262*f2a8e57eSGunnar Mills        "TurboProfileDatapoint": {
263*f2a8e57eSGunnar Mills            "additionalProperties": false,
264*f2a8e57eSGunnar Mills            "description": "The turbo profile for a set of active cores.",
265*f2a8e57eSGunnar Mills            "longDescription": "This type shall specify the turbo profile for a set of active cores.",
266*f2a8e57eSGunnar Mills            "patternProperties": {
267*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
268*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
269*f2a8e57eSGunnar Mills                    "type": [
270*f2a8e57eSGunnar Mills                        "array",
271*f2a8e57eSGunnar Mills                        "boolean",
272*f2a8e57eSGunnar Mills                        "integer",
273*f2a8e57eSGunnar Mills                        "number",
274*f2a8e57eSGunnar Mills                        "null",
275*f2a8e57eSGunnar Mills                        "object",
276*f2a8e57eSGunnar Mills                        "string"
277*f2a8e57eSGunnar Mills                    ]
278*f2a8e57eSGunnar Mills                }
279*f2a8e57eSGunnar Mills            },
280*f2a8e57eSGunnar Mills            "properties": {
281*f2a8e57eSGunnar Mills                "ActiveCoreCount": {
282*f2a8e57eSGunnar Mills                    "description": "The number of active cores to be configured with the specified maximum clock speed.",
283*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of cores to be configured with the maximum turbo clock speed.  The value shall be less than or equal to the `TotalAvailableCoreCount` property.",
284*f2a8e57eSGunnar Mills                    "minimum": 0,
285*f2a8e57eSGunnar Mills                    "readonly": true,
286*f2a8e57eSGunnar Mills                    "type": [
287*f2a8e57eSGunnar Mills                        "integer",
288*f2a8e57eSGunnar Mills                        "null"
289*f2a8e57eSGunnar Mills                    ]
290*f2a8e57eSGunnar Mills                },
291*f2a8e57eSGunnar Mills                "MaxSpeedMHz": {
292*f2a8e57eSGunnar Mills                    "description": "The maximum turbo clock speed that correspond to the number of active cores in MHz.",
293*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the maximum turbo clock speed that correspond to the number of active cores in MHz.",
294*f2a8e57eSGunnar Mills                    "minimum": 0,
295*f2a8e57eSGunnar Mills                    "readonly": true,
296*f2a8e57eSGunnar Mills                    "type": [
297*f2a8e57eSGunnar Mills                        "integer",
298*f2a8e57eSGunnar Mills                        "null"
299*f2a8e57eSGunnar Mills                    ],
300*f2a8e57eSGunnar Mills                    "units": "MHz"
301*f2a8e57eSGunnar Mills                }
302*f2a8e57eSGunnar Mills            },
303*f2a8e57eSGunnar Mills            "type": "object"
304*f2a8e57eSGunnar Mills        }
305*f2a8e57eSGunnar Mills    },
306*f2a8e57eSGunnar Mills    "language": "en",
307*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
308*f2a8e57eSGunnar Mills    "release": "2020.2",
309*f2a8e57eSGunnar Mills    "title": "#OperatingConfig.v1_0_4.OperatingConfig"
310*f2a8e57eSGunnar Mills}