xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/ManagerDiagnosticData.v1_2_3.json (revision f2a8e57ede74a8252100b2281e3f4d170aa69391)
1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/ManagerDiagnosticData.v1_2_3.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/ManagerDiagnosticData",
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                "#ManagerDiagnosticData.ResetMetrics": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/ResetMetrics"
28*f2a8e57eSGunnar Mills                },
29*f2a8e57eSGunnar Mills                "Oem": {
30*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
31*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
32*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
33*f2a8e57eSGunnar Mills                }
34*f2a8e57eSGunnar Mills            },
35*f2a8e57eSGunnar Mills            "type": "object"
36*f2a8e57eSGunnar Mills        },
37*f2a8e57eSGunnar Mills        "BootTimeStatistics": {
38*f2a8e57eSGunnar Mills            "additionalProperties": false,
39*f2a8e57eSGunnar Mills            "description": "The boot-time statistics of a manager.",
40*f2a8e57eSGunnar Mills            "longDescription": "This object shall contain the boot-time statistics of a manager.",
41*f2a8e57eSGunnar Mills            "patternProperties": {
42*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
43*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
44*f2a8e57eSGunnar Mills                    "type": [
45*f2a8e57eSGunnar Mills                        "array",
46*f2a8e57eSGunnar Mills                        "boolean",
47*f2a8e57eSGunnar Mills                        "integer",
48*f2a8e57eSGunnar Mills                        "number",
49*f2a8e57eSGunnar Mills                        "null",
50*f2a8e57eSGunnar Mills                        "object",
51*f2a8e57eSGunnar Mills                        "string"
52*f2a8e57eSGunnar Mills                    ]
53*f2a8e57eSGunnar Mills                }
54*f2a8e57eSGunnar Mills            },
55*f2a8e57eSGunnar Mills            "properties": {
56*f2a8e57eSGunnar Mills                "FirmwareTimeSeconds": {
57*f2a8e57eSGunnar Mills                    "description": "The number of seconds the manager spent in the firmware stage.",
58*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of seconds the manager spent in the firmware stage.",
59*f2a8e57eSGunnar Mills                    "readonly": true,
60*f2a8e57eSGunnar Mills                    "type": [
61*f2a8e57eSGunnar Mills                        "number",
62*f2a8e57eSGunnar Mills                        "null"
63*f2a8e57eSGunnar Mills                    ]
64*f2a8e57eSGunnar Mills                },
65*f2a8e57eSGunnar Mills                "InitrdTimeSeconds": {
66*f2a8e57eSGunnar Mills                    "description": "The number of seconds the manager spent in the initrd boot stage.",
67*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of seconds the manager spent in the initrd boot stage.",
68*f2a8e57eSGunnar Mills                    "readonly": true,
69*f2a8e57eSGunnar Mills                    "type": [
70*f2a8e57eSGunnar Mills                        "number",
71*f2a8e57eSGunnar Mills                        "null"
72*f2a8e57eSGunnar Mills                    ]
73*f2a8e57eSGunnar Mills                },
74*f2a8e57eSGunnar Mills                "KernelTimeSeconds": {
75*f2a8e57eSGunnar Mills                    "description": "The number of seconds the manager spent in the kernel stage.",
76*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of seconds the manager spent in the kernel stage.",
77*f2a8e57eSGunnar Mills                    "readonly": true,
78*f2a8e57eSGunnar Mills                    "type": [
79*f2a8e57eSGunnar Mills                        "number",
80*f2a8e57eSGunnar Mills                        "null"
81*f2a8e57eSGunnar Mills                    ]
82*f2a8e57eSGunnar Mills                },
83*f2a8e57eSGunnar Mills                "LoaderTimeSeconds": {
84*f2a8e57eSGunnar Mills                    "description": "The number of seconds the manager spent in the loader stage.",
85*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of seconds the manager spent in the loader stage.",
86*f2a8e57eSGunnar Mills                    "readonly": true,
87*f2a8e57eSGunnar Mills                    "type": [
88*f2a8e57eSGunnar Mills                        "number",
89*f2a8e57eSGunnar Mills                        "null"
90*f2a8e57eSGunnar Mills                    ]
91*f2a8e57eSGunnar Mills                },
92*f2a8e57eSGunnar Mills                "UserSpaceTimeSeconds": {
93*f2a8e57eSGunnar Mills                    "description": "The number of seconds the manager spent in the user space boot stage.",
94*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of seconds the manager spent in the user space boot stage.",
95*f2a8e57eSGunnar Mills                    "readonly": true,
96*f2a8e57eSGunnar Mills                    "type": [
97*f2a8e57eSGunnar Mills                        "number",
98*f2a8e57eSGunnar Mills                        "null"
99*f2a8e57eSGunnar Mills                    ]
100*f2a8e57eSGunnar Mills                }
101*f2a8e57eSGunnar Mills            },
102*f2a8e57eSGunnar Mills            "type": "object"
103*f2a8e57eSGunnar Mills        },
104*f2a8e57eSGunnar Mills        "I2CBusStatistics": {
105*f2a8e57eSGunnar Mills            "additionalProperties": false,
106*f2a8e57eSGunnar Mills            "description": "The statistics of an I2C bus.",
107*f2a8e57eSGunnar Mills            "longDescription": "This object shall contain statistics of an I2C bus.",
108*f2a8e57eSGunnar Mills            "patternProperties": {
109*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
110*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
111*f2a8e57eSGunnar Mills                    "type": [
112*f2a8e57eSGunnar Mills                        "array",
113*f2a8e57eSGunnar Mills                        "boolean",
114*f2a8e57eSGunnar Mills                        "integer",
115*f2a8e57eSGunnar Mills                        "number",
116*f2a8e57eSGunnar Mills                        "null",
117*f2a8e57eSGunnar Mills                        "object",
118*f2a8e57eSGunnar Mills                        "string"
119*f2a8e57eSGunnar Mills                    ]
120*f2a8e57eSGunnar Mills                }
121*f2a8e57eSGunnar Mills            },
122*f2a8e57eSGunnar Mills            "properties": {
123*f2a8e57eSGunnar Mills                "BusErrorCount": {
124*f2a8e57eSGunnar Mills                    "description": "The number of bus errors on this I2C bus.",
125*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of bus errors on this I2C bus.  Bus errors include, but are not limited to, an SDA rising or falling edge while SCL is high or a stuck bus signal.",
126*f2a8e57eSGunnar Mills                    "readonly": true,
127*f2a8e57eSGunnar Mills                    "type": [
128*f2a8e57eSGunnar Mills                        "integer",
129*f2a8e57eSGunnar Mills                        "null"
130*f2a8e57eSGunnar Mills                    ]
131*f2a8e57eSGunnar Mills                },
132*f2a8e57eSGunnar Mills                "I2CBusName": {
133*f2a8e57eSGunnar Mills                    "description": "The name of the I2C bus.",
134*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the name of the I2C bus.",
135*f2a8e57eSGunnar Mills                    "readonly": true,
136*f2a8e57eSGunnar Mills                    "type": "string"
137*f2a8e57eSGunnar Mills                },
138*f2a8e57eSGunnar Mills                "NACKCount": {
139*f2a8e57eSGunnar Mills                    "description": "The number of NACKs on this I2C bus.",
140*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of NACKs on this I2C bus.",
141*f2a8e57eSGunnar Mills                    "readonly": true,
142*f2a8e57eSGunnar Mills                    "type": [
143*f2a8e57eSGunnar Mills                        "integer",
144*f2a8e57eSGunnar Mills                        "null"
145*f2a8e57eSGunnar Mills                    ]
146*f2a8e57eSGunnar Mills                },
147*f2a8e57eSGunnar Mills                "TotalTransactionCount": {
148*f2a8e57eSGunnar Mills                    "description": "The total number of transactions on this I2C bus.",
149*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of transactions on this I2C bus.  The count shall include the number of I2C transactions initiated by the manager and the number of I2C transactions where the manager is the target device.",
150*f2a8e57eSGunnar Mills                    "readonly": true,
151*f2a8e57eSGunnar Mills                    "type": [
152*f2a8e57eSGunnar Mills                        "integer",
153*f2a8e57eSGunnar Mills                        "null"
154*f2a8e57eSGunnar Mills                    ]
155*f2a8e57eSGunnar Mills                }
156*f2a8e57eSGunnar Mills            },
157*f2a8e57eSGunnar Mills            "type": "object"
158*f2a8e57eSGunnar Mills        },
159*f2a8e57eSGunnar Mills        "ManagerDiagnosticData": {
160*f2a8e57eSGunnar Mills            "additionalProperties": false,
161*f2a8e57eSGunnar Mills            "description": "The `ManagerDiagnosticData` schema defines internal diagnostic data for a manager.  It contains information that might be used by vendors to collect debug information about the manager.  Clients should not make decisions for raising alerts, creating service events, or other actions based on information in this resource.",
162*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent internal diagnostic data for a manager for a Redfish implementation.  Clients should not make decisions for raising alerts, creating service events, or other actions based on information in this resource.",
163*f2a8e57eSGunnar Mills            "patternProperties": {
164*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
165*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
166*f2a8e57eSGunnar Mills                    "type": [
167*f2a8e57eSGunnar Mills                        "array",
168*f2a8e57eSGunnar Mills                        "boolean",
169*f2a8e57eSGunnar Mills                        "integer",
170*f2a8e57eSGunnar Mills                        "number",
171*f2a8e57eSGunnar Mills                        "null",
172*f2a8e57eSGunnar Mills                        "object",
173*f2a8e57eSGunnar Mills                        "string"
174*f2a8e57eSGunnar Mills                    ]
175*f2a8e57eSGunnar Mills                }
176*f2a8e57eSGunnar Mills            },
177*f2a8e57eSGunnar Mills            "properties": {
178*f2a8e57eSGunnar Mills                "@odata.context": {
179*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
180*f2a8e57eSGunnar Mills                },
181*f2a8e57eSGunnar Mills                "@odata.etag": {
182*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
183*f2a8e57eSGunnar Mills                },
184*f2a8e57eSGunnar Mills                "@odata.id": {
185*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
186*f2a8e57eSGunnar Mills                },
187*f2a8e57eSGunnar Mills                "@odata.type": {
188*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
189*f2a8e57eSGunnar Mills                },
190*f2a8e57eSGunnar Mills                "Actions": {
191*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
192*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
193*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
194*f2a8e57eSGunnar Mills                },
195*f2a8e57eSGunnar Mills                "BootTimeStatistics": {
196*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/BootTimeStatistics",
197*f2a8e57eSGunnar Mills                    "description": "The boot-time statistics of the manager.",
198*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the boot-time statistics of the manager."
199*f2a8e57eSGunnar Mills                },
200*f2a8e57eSGunnar Mills                "Description": {
201*f2a8e57eSGunnar Mills                    "anyOf": [
202*f2a8e57eSGunnar Mills                        {
203*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
204*f2a8e57eSGunnar Mills                        },
205*f2a8e57eSGunnar Mills                        {
206*f2a8e57eSGunnar Mills                            "type": "null"
207*f2a8e57eSGunnar Mills                        }
208*f2a8e57eSGunnar Mills                    ],
209*f2a8e57eSGunnar Mills                    "readonly": true
210*f2a8e57eSGunnar Mills                },
211*f2a8e57eSGunnar Mills                "FreeStorageSpaceKiB": {
212*f2a8e57eSGunnar Mills                    "description": "The available storage space on this manager in kibibytes (KiB).",
213*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available storage space on this manager in kibibytes (KiB).",
214*f2a8e57eSGunnar Mills                    "readonly": true,
215*f2a8e57eSGunnar Mills                    "type": [
216*f2a8e57eSGunnar Mills                        "integer",
217*f2a8e57eSGunnar Mills                        "null"
218*f2a8e57eSGunnar Mills                    ],
219*f2a8e57eSGunnar Mills                    "units": "KiBy"
220*f2a8e57eSGunnar Mills                },
221*f2a8e57eSGunnar Mills                "I2CBuses": {
222*f2a8e57eSGunnar Mills                    "description": "The statistics of the I2C buses.",
223*f2a8e57eSGunnar Mills                    "items": {
224*f2a8e57eSGunnar Mills                        "$ref": "#/definitions/I2CBusStatistics"
225*f2a8e57eSGunnar Mills                    },
226*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the statistics of the I2C buses.  Services may subdivide a physical bus into multiple entries in this property based on how the manager tracks bus segments, virtual buses from a controller, and other segmentation capabilities.",
227*f2a8e57eSGunnar Mills                    "type": "array"
228*f2a8e57eSGunnar Mills                },
229*f2a8e57eSGunnar Mills                "Id": {
230*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
231*f2a8e57eSGunnar Mills                    "readonly": true
232*f2a8e57eSGunnar Mills                },
233*f2a8e57eSGunnar Mills                "MemoryECCStatistics": {
234*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/MemoryECCStatistics",
235*f2a8e57eSGunnar Mills                    "description": "The memory ECC statistics of the manager.",
236*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the memory ECC statistics of the manager."
237*f2a8e57eSGunnar Mills                },
238*f2a8e57eSGunnar Mills                "MemoryStatistics": {
239*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/MemoryStatistics",
240*f2a8e57eSGunnar Mills                    "description": "The memory statistics of the manager.",
241*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the memory statistics of the manager."
242*f2a8e57eSGunnar Mills                },
243*f2a8e57eSGunnar Mills                "Name": {
244*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
245*f2a8e57eSGunnar Mills                    "readonly": true
246*f2a8e57eSGunnar Mills                },
247*f2a8e57eSGunnar Mills                "Oem": {
248*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
249*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
250*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."
251*f2a8e57eSGunnar Mills                },
252*f2a8e57eSGunnar Mills                "ProcessorStatistics": {
253*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/ProcessorStatistics",
254*f2a8e57eSGunnar Mills                    "description": "The processor statistics of the manager.",
255*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the processor statistics of the manager."
256*f2a8e57eSGunnar Mills                },
257*f2a8e57eSGunnar Mills                "ServiceRootUptimeSeconds": {
258*f2a8e57eSGunnar Mills                    "description": "The wall-clock time the service root hosted by this manager has been running in seconds.",
259*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the wall-clock time the service root hosted by this manager has been running in seconds.",
260*f2a8e57eSGunnar Mills                    "readonly": true,
261*f2a8e57eSGunnar Mills                    "type": [
262*f2a8e57eSGunnar Mills                        "number",
263*f2a8e57eSGunnar Mills                        "null"
264*f2a8e57eSGunnar Mills                    ],
265*f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
266*f2a8e57eSGunnar Mills                },
267*f2a8e57eSGunnar Mills                "TopProcesses": {
268*f2a8e57eSGunnar Mills                    "description": "The statistics of the top processes of this manager.",
269*f2a8e57eSGunnar Mills                    "items": {
270*f2a8e57eSGunnar Mills                        "anyOf": [
271*f2a8e57eSGunnar Mills                            {
272*f2a8e57eSGunnar Mills                                "$ref": "#/definitions/ProcessStatistics"
273*f2a8e57eSGunnar Mills                            },
274*f2a8e57eSGunnar Mills                            {
275*f2a8e57eSGunnar Mills                                "type": "null"
276*f2a8e57eSGunnar Mills                            }
277*f2a8e57eSGunnar Mills                        ]
278*f2a8e57eSGunnar Mills                    },
279*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the statistics of the top processes of this manager.",
280*f2a8e57eSGunnar Mills                    "type": "array"
281*f2a8e57eSGunnar Mills                }
282*f2a8e57eSGunnar Mills            },
283*f2a8e57eSGunnar Mills            "required": [
284*f2a8e57eSGunnar Mills                "@odata.id",
285*f2a8e57eSGunnar Mills                "@odata.type",
286*f2a8e57eSGunnar Mills                "Id",
287*f2a8e57eSGunnar Mills                "Name"
288*f2a8e57eSGunnar Mills            ],
289*f2a8e57eSGunnar Mills            "type": "object"
290*f2a8e57eSGunnar Mills        },
291*f2a8e57eSGunnar Mills        "MemoryECCStatistics": {
292*f2a8e57eSGunnar Mills            "additionalProperties": false,
293*f2a8e57eSGunnar Mills            "description": "The memory ECC statistics of a manager.",
294*f2a8e57eSGunnar Mills            "longDescription": "This object shall contain the memory ECC statistics of a manager.",
295*f2a8e57eSGunnar Mills            "patternProperties": {
296*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
297*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
298*f2a8e57eSGunnar Mills                    "type": [
299*f2a8e57eSGunnar Mills                        "array",
300*f2a8e57eSGunnar Mills                        "boolean",
301*f2a8e57eSGunnar Mills                        "integer",
302*f2a8e57eSGunnar Mills                        "number",
303*f2a8e57eSGunnar Mills                        "null",
304*f2a8e57eSGunnar Mills                        "object",
305*f2a8e57eSGunnar Mills                        "string"
306*f2a8e57eSGunnar Mills                    ]
307*f2a8e57eSGunnar Mills                }
308*f2a8e57eSGunnar Mills            },
309*f2a8e57eSGunnar Mills            "properties": {
310*f2a8e57eSGunnar Mills                "CorrectableECCErrorCount": {
311*f2a8e57eSGunnar Mills                    "description": "The number of correctable errors since reset.",
312*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of correctable errors since reset.",
313*f2a8e57eSGunnar Mills                    "readonly": true,
314*f2a8e57eSGunnar Mills                    "type": [
315*f2a8e57eSGunnar Mills                        "integer",
316*f2a8e57eSGunnar Mills                        "null"
317*f2a8e57eSGunnar Mills                    ]
318*f2a8e57eSGunnar Mills                },
319*f2a8e57eSGunnar Mills                "UncorrectableECCErrorCount": {
320*f2a8e57eSGunnar Mills                    "description": "The number of uncorrectable errors since reset.",
321*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of uncorrectable errors since reset.",
322*f2a8e57eSGunnar Mills                    "readonly": true,
323*f2a8e57eSGunnar Mills                    "type": [
324*f2a8e57eSGunnar Mills                        "integer",
325*f2a8e57eSGunnar Mills                        "null"
326*f2a8e57eSGunnar Mills                    ]
327*f2a8e57eSGunnar Mills                }
328*f2a8e57eSGunnar Mills            },
329*f2a8e57eSGunnar Mills            "type": "object"
330*f2a8e57eSGunnar Mills        },
331*f2a8e57eSGunnar Mills        "MemoryStatistics": {
332*f2a8e57eSGunnar Mills            "additionalProperties": false,
333*f2a8e57eSGunnar Mills            "description": "The memory statistics of a manager.",
334*f2a8e57eSGunnar Mills            "longDescription": "This object shall contain the memory statistics of a manager.",
335*f2a8e57eSGunnar Mills            "patternProperties": {
336*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
337*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
338*f2a8e57eSGunnar Mills                    "type": [
339*f2a8e57eSGunnar Mills                        "array",
340*f2a8e57eSGunnar Mills                        "boolean",
341*f2a8e57eSGunnar Mills                        "integer",
342*f2a8e57eSGunnar Mills                        "number",
343*f2a8e57eSGunnar Mills                        "null",
344*f2a8e57eSGunnar Mills                        "object",
345*f2a8e57eSGunnar Mills                        "string"
346*f2a8e57eSGunnar Mills                    ]
347*f2a8e57eSGunnar Mills                }
348*f2a8e57eSGunnar Mills            },
349*f2a8e57eSGunnar Mills            "properties": {
350*f2a8e57eSGunnar Mills                "AvailableBytes": {
351*f2a8e57eSGunnar Mills                    "description": "The amount of memory available in bytes for starting new processes without swapping.",
352*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the amount of memory available in bytes for starting new processes without swapping.  This includes free memory and reclaimable cache and buffers.",
353*f2a8e57eSGunnar Mills                    "readonly": true,
354*f2a8e57eSGunnar Mills                    "type": [
355*f2a8e57eSGunnar Mills                        "integer",
356*f2a8e57eSGunnar Mills                        "null"
357*f2a8e57eSGunnar Mills                    ],
358*f2a8e57eSGunnar Mills                    "units": "By"
359*f2a8e57eSGunnar Mills                },
360*f2a8e57eSGunnar Mills                "BuffersAndCacheBytes": {
361*f2a8e57eSGunnar Mills                    "description": "The amount of memory used in bytes by kernel buffers, page caches, and slabs.",
362*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the amount of memory used in bytes by kernel buffers, page caches, and slabs.",
363*f2a8e57eSGunnar Mills                    "readonly": true,
364*f2a8e57eSGunnar Mills                    "type": [
365*f2a8e57eSGunnar Mills                        "integer",
366*f2a8e57eSGunnar Mills                        "null"
367*f2a8e57eSGunnar Mills                    ],
368*f2a8e57eSGunnar Mills                    "units": "By"
369*f2a8e57eSGunnar Mills                },
370*f2a8e57eSGunnar Mills                "FreeBytes": {
371*f2a8e57eSGunnar Mills                    "description": "The amount of free memory in bytes.",
372*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the amount of free memory in bytes.",
373*f2a8e57eSGunnar Mills                    "readonly": true,
374*f2a8e57eSGunnar Mills                    "type": [
375*f2a8e57eSGunnar Mills                        "integer",
376*f2a8e57eSGunnar Mills                        "null"
377*f2a8e57eSGunnar Mills                    ],
378*f2a8e57eSGunnar Mills                    "units": "By"
379*f2a8e57eSGunnar Mills                },
380*f2a8e57eSGunnar Mills                "SharedBytes": {
381*f2a8e57eSGunnar Mills                    "description": "The amount of shared memory in bytes.",
382*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the amount of shared memory in bytes.  This includes things such as memory consumed by temporary file systems.",
383*f2a8e57eSGunnar Mills                    "readonly": true,
384*f2a8e57eSGunnar Mills                    "type": [
385*f2a8e57eSGunnar Mills                        "integer",
386*f2a8e57eSGunnar Mills                        "null"
387*f2a8e57eSGunnar Mills                    ],
388*f2a8e57eSGunnar Mills                    "units": "By"
389*f2a8e57eSGunnar Mills                },
390*f2a8e57eSGunnar Mills                "TotalBytes": {
391*f2a8e57eSGunnar Mills                    "description": "The total amount of memory in bytes.",
392*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total amount of memory in bytes.",
393*f2a8e57eSGunnar Mills                    "readonly": true,
394*f2a8e57eSGunnar Mills                    "type": [
395*f2a8e57eSGunnar Mills                        "integer",
396*f2a8e57eSGunnar Mills                        "null"
397*f2a8e57eSGunnar Mills                    ],
398*f2a8e57eSGunnar Mills                    "units": "By"
399*f2a8e57eSGunnar Mills                },
400*f2a8e57eSGunnar Mills                "UsedBytes": {
401*f2a8e57eSGunnar Mills                    "description": "The amount of used memory in bytes.",
402*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the amount of used memory in bytes.  This value is calculated as `TotalBytes` minus `FreeBytes` minus `BuffersAndCacheBytes`.",
403*f2a8e57eSGunnar Mills                    "readonly": true,
404*f2a8e57eSGunnar Mills                    "type": [
405*f2a8e57eSGunnar Mills                        "integer",
406*f2a8e57eSGunnar Mills                        "null"
407*f2a8e57eSGunnar Mills                    ],
408*f2a8e57eSGunnar Mills                    "units": "By"
409*f2a8e57eSGunnar Mills                }
410*f2a8e57eSGunnar Mills            },
411*f2a8e57eSGunnar Mills            "type": "object"
412*f2a8e57eSGunnar Mills        },
413*f2a8e57eSGunnar Mills        "OemActions": {
414*f2a8e57eSGunnar Mills            "additionalProperties": true,
415*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
416*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
417*f2a8e57eSGunnar Mills            "patternProperties": {
418*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
419*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
420*f2a8e57eSGunnar Mills                    "type": [
421*f2a8e57eSGunnar Mills                        "array",
422*f2a8e57eSGunnar Mills                        "boolean",
423*f2a8e57eSGunnar Mills                        "integer",
424*f2a8e57eSGunnar Mills                        "number",
425*f2a8e57eSGunnar Mills                        "null",
426*f2a8e57eSGunnar Mills                        "object",
427*f2a8e57eSGunnar Mills                        "string"
428*f2a8e57eSGunnar Mills                    ]
429*f2a8e57eSGunnar Mills                }
430*f2a8e57eSGunnar Mills            },
431*f2a8e57eSGunnar Mills            "properties": {},
432*f2a8e57eSGunnar Mills            "type": "object"
433*f2a8e57eSGunnar Mills        },
434*f2a8e57eSGunnar Mills        "ProcessStatistics": {
435*f2a8e57eSGunnar Mills            "additionalProperties": false,
436*f2a8e57eSGunnar Mills            "description": "The statistics of a process running on a manager.",
437*f2a8e57eSGunnar Mills            "longDescription": "This object shall contain the statistics of a process running on a manager.",
438*f2a8e57eSGunnar Mills            "patternProperties": {
439*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
440*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
441*f2a8e57eSGunnar Mills                    "type": [
442*f2a8e57eSGunnar Mills                        "array",
443*f2a8e57eSGunnar Mills                        "boolean",
444*f2a8e57eSGunnar Mills                        "integer",
445*f2a8e57eSGunnar Mills                        "number",
446*f2a8e57eSGunnar Mills                        "null",
447*f2a8e57eSGunnar Mills                        "object",
448*f2a8e57eSGunnar Mills                        "string"
449*f2a8e57eSGunnar Mills                    ]
450*f2a8e57eSGunnar Mills                }
451*f2a8e57eSGunnar Mills            },
452*f2a8e57eSGunnar Mills            "properties": {
453*f2a8e57eSGunnar Mills                "CommandLine": {
454*f2a8e57eSGunnar Mills                    "description": "The command line of this process.",
455*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the command line with parameters of this process.",
456*f2a8e57eSGunnar Mills                    "readonly": true,
457*f2a8e57eSGunnar Mills                    "type": "string"
458*f2a8e57eSGunnar Mills                },
459*f2a8e57eSGunnar Mills                "KernelTimeSeconds": {
460*f2a8e57eSGunnar Mills                    "description": "The number of seconds this process executed in kernel space.",
461*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of seconds this process executed in kernel space.",
462*f2a8e57eSGunnar Mills                    "readonly": true,
463*f2a8e57eSGunnar Mills                    "type": [
464*f2a8e57eSGunnar Mills                        "number",
465*f2a8e57eSGunnar Mills                        "null"
466*f2a8e57eSGunnar Mills                    ]
467*f2a8e57eSGunnar Mills                },
468*f2a8e57eSGunnar Mills                "ResidentSetSizeBytes": {
469*f2a8e57eSGunnar Mills                    "description": "The resident set size of this process in bytes.",
470*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the resident set size of this process in bytes, which is the amount of memory allocated to the process and is in RAM.",
471*f2a8e57eSGunnar Mills                    "readonly": true,
472*f2a8e57eSGunnar Mills                    "type": [
473*f2a8e57eSGunnar Mills                        "integer",
474*f2a8e57eSGunnar Mills                        "null"
475*f2a8e57eSGunnar Mills                    ],
476*f2a8e57eSGunnar Mills                    "units": "By"
477*f2a8e57eSGunnar Mills                },
478*f2a8e57eSGunnar Mills                "RestartAfterFailureCount": {
479*f2a8e57eSGunnar Mills                    "description": "The number of times this process has restarted unexpectedly.",
480*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of times this process has restarted unexpectedly, such as due to unintentional failures, restarts, or shutdowns, with the same command line including arguments.",
481*f2a8e57eSGunnar Mills                    "readonly": true,
482*f2a8e57eSGunnar Mills                    "type": [
483*f2a8e57eSGunnar Mills                        "integer",
484*f2a8e57eSGunnar Mills                        "null"
485*f2a8e57eSGunnar Mills                    ],
486*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
487*f2a8e57eSGunnar Mills                },
488*f2a8e57eSGunnar Mills                "RestartCount": {
489*f2a8e57eSGunnar Mills                    "description": "The number of times this process has restarted.",
490*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of times this process has restarted with the same command line including arguments.",
491*f2a8e57eSGunnar Mills                    "readonly": true,
492*f2a8e57eSGunnar Mills                    "type": [
493*f2a8e57eSGunnar Mills                        "integer",
494*f2a8e57eSGunnar Mills                        "null"
495*f2a8e57eSGunnar Mills                    ],
496*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
497*f2a8e57eSGunnar Mills                },
498*f2a8e57eSGunnar Mills                "UptimeSeconds": {
499*f2a8e57eSGunnar Mills                    "description": "The wall-clock time this process has been running in seconds.",
500*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the wall-clock time this process has been running in seconds.",
501*f2a8e57eSGunnar Mills                    "readonly": true,
502*f2a8e57eSGunnar Mills                    "type": [
503*f2a8e57eSGunnar Mills                        "number",
504*f2a8e57eSGunnar Mills                        "null"
505*f2a8e57eSGunnar Mills                    ],
506*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
507*f2a8e57eSGunnar Mills                },
508*f2a8e57eSGunnar Mills                "UserTimeSeconds": {
509*f2a8e57eSGunnar Mills                    "description": "The number of seconds this process executed in user space.",
510*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of seconds this process executed in user space.",
511*f2a8e57eSGunnar Mills                    "readonly": true,
512*f2a8e57eSGunnar Mills                    "type": [
513*f2a8e57eSGunnar Mills                        "number",
514*f2a8e57eSGunnar Mills                        "null"
515*f2a8e57eSGunnar Mills                    ]
516*f2a8e57eSGunnar Mills                }
517*f2a8e57eSGunnar Mills            },
518*f2a8e57eSGunnar Mills            "type": "object"
519*f2a8e57eSGunnar Mills        },
520*f2a8e57eSGunnar Mills        "ProcessorStatistics": {
521*f2a8e57eSGunnar Mills            "additionalProperties": false,
522*f2a8e57eSGunnar Mills            "description": "The processor statistics of a manager.",
523*f2a8e57eSGunnar Mills            "longDescription": "This object shall contain the processor statistics of a manager.",
524*f2a8e57eSGunnar Mills            "patternProperties": {
525*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
526*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
527*f2a8e57eSGunnar Mills                    "type": [
528*f2a8e57eSGunnar Mills                        "array",
529*f2a8e57eSGunnar Mills                        "boolean",
530*f2a8e57eSGunnar Mills                        "integer",
531*f2a8e57eSGunnar Mills                        "number",
532*f2a8e57eSGunnar Mills                        "null",
533*f2a8e57eSGunnar Mills                        "object",
534*f2a8e57eSGunnar Mills                        "string"
535*f2a8e57eSGunnar Mills                    ]
536*f2a8e57eSGunnar Mills                }
537*f2a8e57eSGunnar Mills            },
538*f2a8e57eSGunnar Mills            "properties": {
539*f2a8e57eSGunnar Mills                "KernelPercent": {
540*f2a8e57eSGunnar Mills                    "description": "The percentage of CPU time spent in kernel mode.",
541*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the percentage of CPU time, `0` to `100`, spent in kernel mode.",
542*f2a8e57eSGunnar Mills                    "maximum": 100,
543*f2a8e57eSGunnar Mills                    "minimum": 0,
544*f2a8e57eSGunnar Mills                    "readonly": true,
545*f2a8e57eSGunnar Mills                    "type": [
546*f2a8e57eSGunnar Mills                        "number",
547*f2a8e57eSGunnar Mills                        "null"
548*f2a8e57eSGunnar Mills                    ],
549*f2a8e57eSGunnar Mills                    "units": "%"
550*f2a8e57eSGunnar Mills                },
551*f2a8e57eSGunnar Mills                "UserPercent": {
552*f2a8e57eSGunnar Mills                    "description": "The percentage of CPU time spent in user mode.",
553*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the percentage of CPU time, `0` to `100`, spent in user mode.",
554*f2a8e57eSGunnar Mills                    "maximum": 100,
555*f2a8e57eSGunnar Mills                    "minimum": 0,
556*f2a8e57eSGunnar Mills                    "readonly": true,
557*f2a8e57eSGunnar Mills                    "type": [
558*f2a8e57eSGunnar Mills                        "number",
559*f2a8e57eSGunnar Mills                        "null"
560*f2a8e57eSGunnar Mills                    ],
561*f2a8e57eSGunnar Mills                    "units": "%"
562*f2a8e57eSGunnar Mills                }
563*f2a8e57eSGunnar Mills            },
564*f2a8e57eSGunnar Mills            "type": "object"
565*f2a8e57eSGunnar Mills        },
566*f2a8e57eSGunnar Mills        "ResetMetrics": {
567*f2a8e57eSGunnar Mills            "additionalProperties": false,
568*f2a8e57eSGunnar Mills            "description": "Resets time intervals or counted values of the diagnostic data for this manager.",
569*f2a8e57eSGunnar Mills            "longDescription": "This action shall reset any time intervals or counted values of the diagnostic data for this manager.",
570*f2a8e57eSGunnar Mills            "parameters": {},
571*f2a8e57eSGunnar Mills            "patternProperties": {
572*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
573*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
574*f2a8e57eSGunnar Mills                    "type": [
575*f2a8e57eSGunnar Mills                        "array",
576*f2a8e57eSGunnar Mills                        "boolean",
577*f2a8e57eSGunnar Mills                        "integer",
578*f2a8e57eSGunnar Mills                        "number",
579*f2a8e57eSGunnar Mills                        "null",
580*f2a8e57eSGunnar Mills                        "object",
581*f2a8e57eSGunnar Mills                        "string"
582*f2a8e57eSGunnar Mills                    ]
583*f2a8e57eSGunnar Mills                }
584*f2a8e57eSGunnar Mills            },
585*f2a8e57eSGunnar Mills            "properties": {
586*f2a8e57eSGunnar Mills                "target": {
587*f2a8e57eSGunnar Mills                    "description": "Link to invoke action",
588*f2a8e57eSGunnar Mills                    "format": "uri-reference",
589*f2a8e57eSGunnar Mills                    "type": "string"
590*f2a8e57eSGunnar Mills                },
591*f2a8e57eSGunnar Mills                "title": {
592*f2a8e57eSGunnar Mills                    "description": "Friendly action name",
593*f2a8e57eSGunnar Mills                    "type": "string"
594*f2a8e57eSGunnar Mills                }
595*f2a8e57eSGunnar Mills            },
596*f2a8e57eSGunnar Mills            "type": "object"
597*f2a8e57eSGunnar Mills        }
598*f2a8e57eSGunnar Mills    },
599*f2a8e57eSGunnar Mills    "language": "en",
600*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
601*f2a8e57eSGunnar Mills    "release": "2022.3",
602*f2a8e57eSGunnar Mills    "title": "#ManagerDiagnosticData.v1_2_3.ManagerDiagnosticData"
603*f2a8e57eSGunnar Mills}