summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorSui Chen <suichen@google.com>2022-02-09 00:49:36 +0300
committerSui Chen <suichen@google.com>2022-03-02 00:28:25 +0300
commit2395251457a37815f037567a4b5a6ed1981cd472 (patch)
tree0d08f342deb040dafea259c6e3777e5cd90518cc /static
parent630c3171249b24b1639f37238edc10292715c2bf (diff)
downloadbmcweb-2395251457a37815f037567a4b5a6ed1981cd472.tar.xz
Add ManagerDiagnosticData schema
This change adds the ManagerDiagnosticData schema files. Tested: ran Redfish Service Validator: + Manager Diagnostic 2021.4 Data metadataNamespaces: 2388 2390 pass: 3249 3274 passAction: 8 8 passGet: 121 123 passRedfishUri: 115 117 skipNoSchema: 3 3 skipOptional: 2184 2198 warnDeprecated: 315 315 warningPresent: 11 11 Validation has: succeeded succeeded curl -k https://$bmc/redfish/v1/JsonSchema/ManagerDiagnosticData/\ ManagerDiagnosticData.json ... "title": "#ManagerDiagnosticData.v1_0_0.ManagerDiagnosticData" } Signed-off-by: Sui Chen <suichen@google.com> Change-Id: I0d86b45350475771acdd492a98018156f8c819dd
Diffstat (limited to 'static')
-rw-r--r--static/redfish/v1/$metadata/index.xml4
-rw-r--r--static/redfish/v1/JsonSchemas/ManagerDiagnosticData/ManagerDiagnosticData.json558
-rw-r--r--static/redfish/v1/JsonSchemas/ManagerDiagnosticData/index.json21
-rw-r--r--static/redfish/v1/JsonSchemas/index.json5
-rw-r--r--static/redfish/v1/schema/ManagerDiagnosticData_v1.xml286
5 files changed, 873 insertions, 1 deletions
diff --git a/static/redfish/v1/$metadata/index.xml b/static/redfish/v1/$metadata/index.xml
index 0bf432f235..49835a7dea 100644
--- a/static/redfish/v1/$metadata/index.xml
+++ b/static/redfish/v1/$metadata/index.xml
@@ -1232,6 +1232,10 @@
<edmx:Reference Uri="/redfish/v1/schema/ManagerCollection_v1.xml">
<edmx:Include Namespace="ManagerCollection"/>
</edmx:Reference>
+ <edmx:Reference Uri="/redfish/v1/schema/ManagerDiagnosticData_v1.xml">
+ <edmx:Include Namespace="ManagerDiagnosticData"/>
+ <edmx:Include Namespace="ManagerDiagnosticData.v1_0_0"/>
+ </edmx:Reference>
<edmx:Reference Uri="/redfish/v1/schema/ManagerNetworkProtocol_v1.xml">
<edmx:Include Namespace="ManagerNetworkProtocol"/>
<edmx:Include Namespace="ManagerNetworkProtocol.v1_0_0"/>
diff --git a/static/redfish/v1/JsonSchemas/ManagerDiagnosticData/ManagerDiagnosticData.json b/static/redfish/v1/JsonSchemas/ManagerDiagnosticData/ManagerDiagnosticData.json
new file mode 100644
index 0000000000..afdff48eb8
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/ManagerDiagnosticData/ManagerDiagnosticData.json
@@ -0,0 +1,558 @@
+{
+ "$id": "http://redfish.dmtf.org/schemas/v1/ManagerDiagnosticData.v1_0_0.json",
+ "$ref": "#/definitions/ManagerDiagnosticData",
+ "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
+ "copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "definitions": {
+ "Actions": {
+ "additionalProperties": false,
+ "description": "The available actions for this resource.",
+ "longDescription": "This type shall contain the available actions for this resource.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "#ManagerDiagnosticData.ResetMetrics": {
+ "$ref": "#/definitions/ResetMetrics"
+ },
+ "Oem": {
+ "$ref": "#/definitions/OemActions",
+ "description": "The available OEM-specific actions for this resource.",
+ "longDescription": "This property shall contain the available OEM-specific actions for this resource."
+ }
+ },
+ "type": "object"
+ },
+ "BootTimeStatistics": {
+ "additionalProperties": false,
+ "description": "The boot time statistics of a manager.",
+ "longDescription": "This object shall contain the boot time statistics of a manager.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "FirmwareTimeSeconds": {
+ "description": "The number of seconds the manager spent in the firmware stage.",
+ "longDescription": "This property shall contain the number of seconds the manager spent in the firmware stage.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "InitrdTimeSeconds": {
+ "description": "The number of seconds the manager spent in the initrd boot stage.",
+ "longDescription": "This property shall contain the number of seconds the manager spent in the initrd boot stage.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "KernelTimeSeconds": {
+ "description": "The number of seconds the manager spent in the kernel stage.",
+ "longDescription": "This property shall contain the number of seconds the manager spent in the kernel stage.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "LoaderTimeSeconds": {
+ "description": "The number of seconds the manager spent in the loader stage.",
+ "longDescription": "This property shall contain the number of seconds the manager spent in the loader stage.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "UserSpaceTimeSeconds": {
+ "description": "The number of seconds the manager spent in the user space boot stage.",
+ "longDescription": "This property shall contain the number of seconds the manager spent in the user space boot stage.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "I2CBusStatistics": {
+ "additionalProperties": false,
+ "description": "The statistics of an I2C bus.",
+ "longDescription": "This object shall contain statistics of an I2C bus.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "BusErrorCount": {
+ "description": "The number of bus errors on this I2C bus.",
+ "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.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "I2CBusName": {
+ "description": "The name of the I2C bus.",
+ "longDescription": "This property shall contain the name of the I2C bus.",
+ "readonly": true,
+ "type": "string"
+ },
+ "NACKCount": {
+ "description": "The number of NACKs on this I2C bus.",
+ "longDescription": "This property shall contain the number of NACKs on this I2C bus.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "TotalTransactionCount": {
+ "description": "The total number of transactions on this I2C bus.",
+ "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.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "ManagerDiagnosticData": {
+ "additionalProperties": false,
+ "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.",
+ "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.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "@odata.context": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
+ },
+ "@odata.etag": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
+ },
+ "@odata.id": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
+ },
+ "@odata.type": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
+ },
+ "Actions": {
+ "$ref": "#/definitions/Actions",
+ "description": "The available actions for this resource.",
+ "longDescription": "The actions property shall contain the available actions for this resource."
+ },
+ "BootTimeStatistics": {
+ "$ref": "#/definitions/BootTimeStatistics",
+ "description": "The boot time statistics of the manager.",
+ "longDescription": "This property shall contain the boot time statistics of the manager."
+ },
+ "Description": {
+ "anyOf": [
+ {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "readonly": true
+ },
+ "FreeStorageSpaceKiB": {
+ "description": "The available storage space on this manager in kibibytes (KiB).",
+ "longDescription": "This property shall contain the available storage space on this manager in kibibytes (KiB).",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "units": "KiBy"
+ },
+ "I2CBuses": {
+ "description": "The statistics of the I2C buses.",
+ "items": {
+ "$ref": "#/definitions/I2CBusStatistics"
+ },
+ "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.",
+ "type": "array"
+ },
+ "Id": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
+ "readonly": true
+ },
+ "MemoryECCStatistics": {
+ "$ref": "#/definitions/MemoryECCStatistics",
+ "description": "The memory ECC statistics of the manager.",
+ "longDescription": "This property shall contain the memory ECC statistics of the manager."
+ },
+ "MemoryStatistics": {
+ "$ref": "#/definitions/MemoryStatistics",
+ "description": "The memory statistics of the manager.",
+ "longDescription": "This property shall contain the memory statistics of the manager."
+ },
+ "Name": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
+ "readonly": true
+ },
+ "Oem": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
+ "description": "The OEM extension property.",
+ "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
+ },
+ "ProcessorStatistics": {
+ "$ref": "#/definitions/ProcessorStatistics",
+ "description": "The processor statistics of the manager.",
+ "longDescription": "This property shall contain the processor statistics of the manager."
+ },
+ "TopProcesses": {
+ "description": "The statistics of the top processes of this manager.",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ProcessStatistics"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "longDescription": "This property shall contain the statistics of the top processes of this manager.",
+ "type": "array"
+ }
+ },
+ "required": [
+ "@odata.id",
+ "@odata.type",
+ "Id",
+ "Name"
+ ],
+ "type": "object"
+ },
+ "MemoryECCStatistics": {
+ "additionalProperties": false,
+ "description": "The memory ECC statistics of a manager.",
+ "longDescription": "This object shall contain the memory ECC statistics of a manager.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "CorrectableECCErrorCount": {
+ "description": "The number of the correctable errors since reset.",
+ "longDescription": "This property shall contain the number of correctable errors since reset.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "UncorrectableECCErrorCount": {
+ "description": "The number of the uncorrectable errors since reset.",
+ "longDescription": "This property shall contain the number of uncorrectable errors since reset.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "MemoryStatistics": {
+ "additionalProperties": false,
+ "description": "The memory statistics of a manager.",
+ "longDescription": "This object shall contain the memory statistics of a manager.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "AvailableBytes": {
+ "description": "The amount of memory available in bytes for starting new processes without swapping.",
+ "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.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "units": "By"
+ },
+ "BuffersAndCacheBytes": {
+ "description": "The amount of memory used in bytes by kernel buffers, page caches, and slabs.",
+ "longDescription": "This property shall contain the amount of memory used in bytes by kernel buffers, page caches, and slabs.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "units": "By"
+ },
+ "FreeBytes": {
+ "description": "The amount of free memory in bytes.",
+ "longDescription": "This property shall contain the amount of free memory in bytes.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "units": "By"
+ },
+ "SharedBytes": {
+ "description": "The amount of shared memory in bytes.",
+ "longDescription": "This property shall contain the amount of shared memory in bytes. This includes things such as memory consumed by temporary filesystems.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "units": "By"
+ },
+ "TotalBytes": {
+ "description": "The total amount of memory in bytes.",
+ "longDescription": "This property shall contain the total amount of memory in bytes.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "units": "By"
+ },
+ "UsedBytes": {
+ "description": "The amount of used memory in bytes.",
+ "longDescription": "This property shall contain the amount of used memory in bytes. This value is calculated as TotalBytes minus FreeBytes minus BuffersAndCacheBytes.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "units": "By"
+ }
+ },
+ "type": "object"
+ },
+ "OemActions": {
+ "additionalProperties": true,
+ "description": "The available OEM-specific actions for this resource.",
+ "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {},
+ "type": "object"
+ },
+ "ProcessStatistics": {
+ "additionalProperties": false,
+ "description": "The statistics of a process running on a manager.",
+ "longDescription": "This object shall contain the statistics of a process running on a manager.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "CommandLine": {
+ "description": "The command line of this process.",
+ "longDescription": "This property shall contain the command line with parameters of this process.",
+ "readonly": true,
+ "type": "string"
+ },
+ "KernelTimeSeconds": {
+ "description": "The number of seconds this process executed in kernel space.",
+ "longDescription": "This property shall contain the number of seconds this process executed in kernel space.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "ResidentSetSizeBytes": {
+ "description": "The resident set size of this process in bytes.",
+ "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.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "units": "By"
+ },
+ "UserTimeSeconds": {
+ "description": "The number of seconds this process executed in user space.",
+ "longDescription": "This property shall contain the number of seconds this process executed in user space.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "ProcessorStatistics": {
+ "additionalProperties": false,
+ "description": "The processor statistics of a manager.",
+ "longDescription": "This object shall contain the processor statistics of a manager.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "KernelPercent": {
+ "description": "The percentage of CPU time spent in kernel mode.",
+ "longDescription": "This property shall contain the percentage of CPU time spent in kernel mode.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ],
+ "units": "%"
+ },
+ "UserPercent": {
+ "description": "The percentage of CPU time spent in user mode.",
+ "longDescription": "This property shall contain the percentage of CPU time spent in user mode.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ],
+ "units": "%"
+ }
+ },
+ "type": "object"
+ },
+ "ResetMetrics": {
+ "additionalProperties": false,
+ "description": "Resets time intervals or counted values of the diagnostic data for this manager.",
+ "longDescription": "This action shall reset any time intervals or counted values of the diagnostic data for this manager.",
+ "parameters": {},
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "target": {
+ "description": "Link to invoke action",
+ "format": "uri-reference",
+ "type": "string"
+ },
+ "title": {
+ "description": "Friendly action name",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "owningEntity": "DMTF",
+ "release": "2021.4",
+ "title": "#ManagerDiagnosticData.v1_0_0.ManagerDiagnosticData"
+} \ No newline at end of file
diff --git a/static/redfish/v1/JsonSchemas/ManagerDiagnosticData/index.json b/static/redfish/v1/JsonSchemas/ManagerDiagnosticData/index.json
new file mode 100644
index 0000000000..f52c6d2092
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/ManagerDiagnosticData/index.json
@@ -0,0 +1,21 @@
+{
+ "@odata.context": "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile",
+ "@odata.id": "/redfish/v1/JsonSchemas/ManagerDiagnosticData",
+ "@odata.type": "#JsonSchemaFile.v1_0_2.JsonSchemaFile",
+ "Name": "ManagerDiagnosticData Schema File",
+ "Schema": "#ManagerDiagnosticData.ManagerDiagnosticData",
+ "Description": "ManagerDiagnosticData Schema File Location",
+ "Id": "ManagerDiagnosticData",
+ "Languages": [
+ "en"
+ ],
+ "Languages@odata.count": 1,
+ "Location": [
+ {
+ "Language": "en",
+ "PublicationUri": "http://redfish.dmtf.org/schemas/v1/ManagerDiagnosticData.json",
+ "Uri": "/redfish/v1/JsonSchemas/ManagerDiagnosticData/ManagerDiagnosticData.json"
+ }
+ ],
+ "Location@odata.count": 1
+} \ No newline at end of file
diff --git a/static/redfish/v1/JsonSchemas/index.json b/static/redfish/v1/JsonSchemas/index.json
index d3c5f53cb0..ef0b84bf83 100644
--- a/static/redfish/v1/JsonSchemas/index.json
+++ b/static/redfish/v1/JsonSchemas/index.json
@@ -4,7 +4,7 @@
"@odata.type": "#JsonSchemaFileCollection.JsonSchemaFileCollection",
"Name": "JsonSchemaFile Collection",
"Description": "Collection of JsonSchemaFiles",
- "Members@odata.count": 60,
+ "Members@odata.count": 61,
"Members": [
{
"@odata.id": "/redfish/v1/JsonSchemas/AccountService"
@@ -73,6 +73,9 @@
"@odata.id": "/redfish/v1/JsonSchemas/ManagerAccount"
},
{
+ "@odata.id": "/redfish/v1/JsonSchemas/ManagerDiagnosticData"
+ },
+ {
"@odata.id": "/redfish/v1/JsonSchemas/ManagerNetworkProtocol"
},
{
diff --git a/static/redfish/v1/schema/ManagerDiagnosticData_v1.xml b/static/redfish/v1/schema/ManagerDiagnosticData_v1.xml
new file mode 100644
index 0000000000..aaeb8e9619
--- /dev/null
+++ b/static/redfish/v1/schema/ManagerDiagnosticData_v1.xml
@@ -0,0 +1,286 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!---->
+<!--################################################################################ -->
+<!--# Redfish Schema: ManagerDiagnosticData v1.0.0 -->
+<!--# -->
+<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
+<!--# available at http://www.dmtf.org/standards/redfish -->
+<!--# Copyright 2014-2021 DMTF. -->
+<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
+<!--################################################################################ -->
+<!---->
+<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
+
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
+ <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
+ <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
+ <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
+ <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
+ <edmx:Include Namespace="Resource.v1_0_0"/>
+ </edmx:Reference>
+
+ <edmx:DataServices>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ManagerDiagnosticData">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+
+ <EntityType Name="ManagerDiagnosticData" BaseType="Resource.v1_0_0.Resource" Abstract="true">
+ <Annotation Term="OData.Description" String="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."/>
+ <Annotation Term="OData.LongDescription" String="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."/>
+ <Annotation Term="Capabilities.InsertRestrictions">
+ <Record>
+ <PropertyValue Property="Insertable" Bool="false"/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Capabilities.UpdateRestrictions">
+ <Record>
+ <PropertyValue Property="Updatable" Bool="false"/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Capabilities.DeleteRestrictions">
+ <Record>
+ <PropertyValue Property="Deletable" Bool="false"/>
+ </Record>
+ </Annotation>
+ <Annotation Term="Redfish.Uris">
+ <Collection>
+ <String>/redfish/v1/Managers/{ManagerId}/ManagerDiagnosticData</String>
+ </Collection>
+ </Annotation>
+ </EntityType>
+
+ <Action Name="ResetMetrics" IsBound="true">
+ <Annotation Term="OData.Description" String="Resets time intervals or counted values of the diagnostic data for this manager."/>
+ <Annotation Term="OData.LongDescription" String="This action shall reset any time intervals or counted values of the diagnostic data for this manager."/>
+ <Parameter Name="ManagerDiagnosticData" Type="ManagerDiagnosticData.v1_0_0.Actions"/>
+ </Action>
+ </Schema>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ManagerDiagnosticData.v1_0_0">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+ <Annotation Term="Redfish.Release" String="2021.4"/>
+
+ <EntityType Name="ManagerDiagnosticData" BaseType="ManagerDiagnosticData.ManagerDiagnosticData">
+ <Property Name="I2CBuses" Type="Collection(ManagerDiagnosticData.v1_0_0.I2CBusStatistics)" Nullable="false">
+ <Annotation Term="OData.Description" String="The statistics of the I2C buses."/>
+ <Annotation Term="OData.LongDescription" String="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."/>
+ </Property>
+ <Property Name="MemoryStatistics" Type="ManagerDiagnosticData.v1_0_0.MemoryStatistics" Nullable="false">
+ <Annotation Term="OData.Description" String="The memory statistics of the manager."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the memory statistics of the manager."/>
+ </Property>
+ <Property Name="ProcessorStatistics" Type="ManagerDiagnosticData.v1_0_0.ProcessorStatistics" Nullable="false">
+ <Annotation Term="OData.Description" String="The processor statistics of the manager."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the processor statistics of the manager."/>
+ </Property>
+ <Property Name="BootTimeStatistics" Type="ManagerDiagnosticData.v1_0_0.BootTimeStatistics" Nullable="false">
+ <Annotation Term="OData.Description" String="The boot time statistics of the manager."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the boot time statistics of the manager."/>
+ </Property>
+ <Property Name="FreeStorageSpaceKiB" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The available storage space on this manager in kibibytes (KiB)."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the available storage space on this manager in kibibytes (KiB)."/>
+ <Annotation Term="Measures.Unit" String="KiBy"/>
+ </Property>
+ <Property Name="MemoryECCStatistics" Type="ManagerDiagnosticData.v1_0_0.MemoryECCStatistics" Nullable="false">
+ <Annotation Term="OData.Description" String="The memory ECC statistics of the manager."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the memory ECC statistics of the manager."/>
+ </Property>
+ <Property Name="TopProcesses" Type="Collection(ManagerDiagnosticData.v1_0_0.ProcessStatistics)">
+ <Annotation Term="OData.Description" String="The statistics of the top processes of this manager."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the statistics of the top processes of this manager."/>
+ </Property>
+ <Property Name="Actions" Type="ManagerDiagnosticData.v1_0_0.Actions" Nullable="false">
+ <Annotation Term="OData.Description" String="The available actions for this resource."/>
+ <Annotation Term="OData.LongDescription" String="The actions property shall contain the available actions for this resource."/>
+ </Property>
+ </EntityType>
+
+ <ComplexType Name="I2CBusStatistics">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="The statistics of an I2C bus."/>
+ <Annotation Term="OData.LongDescription" String="This object shall contain statistics of an I2C bus."/>
+ <Property Name="I2CBusName" Type="Edm.String" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The name of the I2C bus."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the name of the I2C bus."/>
+ </Property>
+ <Property Name="TotalTransactionCount" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The total number of transactions on this I2C bus."/>
+ <Annotation Term="OData.LongDescription" String="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."/>
+ </Property>
+ <Property Name="BusErrorCount" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of bus errors on this I2C bus."/>
+ <Annotation Term="OData.LongDescription" String="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."/>
+ </Property>
+ <Property Name="NACKCount" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of NACKs on this I2C bus."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of NACKs on this I2C bus."/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="MemoryStatistics">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="The memory statistics of a manager."/>
+ <Annotation Term="OData.LongDescription" String="This object shall contain the memory statistics of a manager."/>
+ <Property Name="TotalBytes" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The total amount of memory in bytes."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the total amount of memory in bytes."/>
+ <Annotation Term="Measures.Unit" String="By"/>
+ </Property>
+ <Property Name="UsedBytes" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The amount of used memory in bytes."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the amount of used memory in bytes. This value is calculated as TotalBytes minus FreeBytes minus BuffersAndCacheBytes."/>
+ <Annotation Term="Measures.Unit" String="By"/>
+ </Property>
+ <Property Name="FreeBytes" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The amount of free memory in bytes."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the amount of free memory in bytes."/>
+ <Annotation Term="Measures.Unit" String="By"/>
+ </Property>
+ <Property Name="SharedBytes" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The amount of shared memory in bytes."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the amount of shared memory in bytes. This includes things such as memory consumed by temporary filesystems."/>
+ <Annotation Term="Measures.Unit" String="By"/>
+ </Property>
+ <Property Name="BuffersAndCacheBytes" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The amount of memory used in bytes by kernel buffers, page caches, and slabs."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the amount of memory used in bytes by kernel buffers, page caches, and slabs."/>
+ <Annotation Term="Measures.Unit" String="By"/>
+ </Property>
+ <Property Name="AvailableBytes" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The amount of memory available in bytes for starting new processes without swapping."/>
+ <Annotation Term="OData.LongDescription" String="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."/>
+ <Annotation Term="Measures.Unit" String="By"/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="ProcessStatistics">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="The statistics of a process running on a manager."/>
+ <Annotation Term="OData.LongDescription" String="This object shall contain the statistics of a process running on a manager."/>
+ <Property Name="CommandLine" Type="Edm.String" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The command line of this process."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the command line with parameters of this process."/>
+ </Property>
+ <Property Name="UserTimeSeconds" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of seconds this process executed in user space."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds this process executed in user space."/>
+ </Property>
+ <Property Name="KernelTimeSeconds" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of seconds this process executed in kernel space."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds this process executed in kernel space."/>
+ </Property>
+ <Property Name="ResidentSetSizeBytes" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The resident set size of this process in bytes."/>
+ <Annotation Term="OData.LongDescription" String="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."/>
+ <Annotation Term="Measures.Unit" String="By"/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="ProcessorStatistics">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="The processor statistics of a manager."/>
+ <Annotation Term="OData.LongDescription" String="This object shall contain the processor statistics of a manager."/>
+ <Property Name="KernelPercent" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The percentage of CPU time spent in kernel mode."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the percentage of CPU time spent in kernel mode."/>
+ <Annotation Term="Measures.Unit" String="%"/>
+ </Property>
+ <Property Name="UserPercent" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The percentage of CPU time spent in user mode."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the percentage of CPU time spent in user mode."/>
+ <Annotation Term="Measures.Unit" String="%"/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="BootTimeStatistics">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="The boot time statistics of a manager."/>
+ <Annotation Term="OData.LongDescription" String="This object shall contain the boot time statistics of a manager."/>
+ <Property Name="FirmwareTimeSeconds" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of seconds the manager spent in the firmware stage."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds the manager spent in the firmware stage."/>
+ </Property>
+ <Property Name="LoaderTimeSeconds" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of seconds the manager spent in the loader stage."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds the manager spent in the loader stage."/>
+ </Property>
+ <Property Name="KernelTimeSeconds" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of seconds the manager spent in the kernel stage."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds the manager spent in the kernel stage."/>
+ </Property>
+ <Property Name="InitrdTimeSeconds" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of seconds the manager spent in the initrd boot stage."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds the manager spent in the initrd boot stage."/>
+ </Property>
+ <Property Name="UserSpaceTimeSeconds" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of seconds the manager spent in the user space boot stage."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds the manager spent in the user space boot stage."/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="MemoryECCStatistics">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="The memory ECC statistics of a manager."/>
+ <Annotation Term="OData.LongDescription" String="This object shall contain the memory ECC statistics of a manager."/>
+ <Property Name="CorrectableECCErrorCount" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of the correctable errors since reset."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of correctable errors since reset."/>
+ </Property>
+ <Property Name="UncorrectableECCErrorCount" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The number of the uncorrectable errors since reset."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the number of uncorrectable errors since reset."/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="Actions">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="The available actions for this resource."/>
+ <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
+ <Property Name="Oem" Type="ManagerDiagnosticData.v1_0_0.OemActions" Nullable="false">
+ <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="OemActions">
+ <Annotation Term="OData.AdditionalProperties" Bool="true"/>
+ <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
+ <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
+ </ComplexType>
+ </Schema>
+
+ </edmx:DataServices>
+</edmx:Edmx>