Lin Yang d01f675d8b Add system metrics for RSD 2.2
RSD 2.2 add more metrics information for System resource in URI
/redfish/v1/Systems/{systemID}/Metrics. Added corresponding interface
to retrieve such information back.

Change-Id: Iba7d9a164a12805e1e4c325bcc8f7815806ea306
2018-02-12 19:40:47 -08:00

123 lines
3.8 KiB
JSON

{
"@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem", "@odata.id": "/redfish/v1/Systems/System2",
"@odata.type": "#ComputerSystem.v1_3_0.ComputerSystem",
"Id": "System2",
"Name": "My Computer System",
"Description": "Description of server",
"SystemType": "Physical",
"AssetTag": "free form asset tag",
"Manufacturer": "Manufacturer Name",
"Model": "Model Name",
"SKU": "SKU",
"SerialNumber": "2M220100SL",
"PartNumber": "Computer1",
"UUID": "00000000-0000-0000-0000-000000000000",
"HostName": null,
"Status": {
"State": "Enabled",
"Health": "OK",
"HealthRollup": "OK"
},
"IndicatorLED": null,
"PowerState": "On",
"Boot": {
"@odata.type": "#ComputerSystem.v1_1_0.Boot",
"BootSourceOverrideEnabled": "Disabled",
"BootSourceOverrideTarget": "None",
"BootSourceOverrideTarget@Redfish.AllowableValues": ["None"],
"BootSourceOverrideMode": null,
"BootSourceOverrideMode@Redfish.AllowableValues": []
},
"BiosVersion": null,
"ProcessorSummary": {
"Count": 0,
"Model": null,
"Status": {
"State": null,
"Health": null,
"HealthRollup": null
}
},
"MemorySummary": {
"TotalSystemMemoryGiB": 0,
"Status": {
"State": null,
"Health": null,
"HealthRollup": null
}
},
"Processors": {
"@odata.id": "/redfish/v1/Systems/System2/Processors"
},
"EthernetInterfaces": {
"@odata.id": "/redfish/v1/Systems/System2/EthernetInterfaces"
},
"SimpleStorage": {},
"Storage": {
"@odata.id": "/redfish/v1/Systems/System2/Storage"
},
"Memory": {
"@odata.id": "/redfish/v1/Systems/System1/Memory"
},
"PCIeDevices": [
{
"@odata.id": "/redfish/v1/Chassis/PCIeSwitch1/PCIeDevices/Device1"
}
],
"PCIeFunctions": [],
"TrustedModules": [],
"Links": {
"@odata.type": "#ComputerSystem.v1_2_0.Links",
"Chassis": [{
"@odata.id": "/redfish/v1/Chassis/4"
}],
"ManagedBy": [{
"@odata.id": "/redfish/v1/Managers/1"
}],
"Endpoints": [],
"Oem": {}
},
"Actions": {
"#ComputerSystem.Reset": {
"target": "/redfish/v1/Systems/System1/Actions/ComputerSystem.Reset",
"ResetType@Redfish.AllowableValues": ["On",
"ForceOff",
"GracefulShutdown",
"ForceRestart",
"Nmi",
"GracefulRestart",
"ForceOn",
"PushPowerButton"]
},
"Oem": {
"#Intel.Oem.StartDeepDiscovery": {
"target": "/redfish/v1/Systems/System1/Actions/Oem/Intel.Oem.StartDeepDiscovery"
},
"#Intel.Oem.StartDiscoveryOnDemand": {
"target": "/redfish/v1/Systems/System1/Actions/Oem/Intel.Oem.StartDiscoveryOnDemand"
},
"#Intel.Oem.ChangeTPMState": {
"target": "/redfish/v1/Systems/System1/Actions/Oem/Intel.Oem.ChangeTPMState",
"InterfaceType@Redfish.AllowableValues": [
"TPM1_2",
"TPM2_0"
]
}
}
},
"Oem": {
"Intel_RackScale": {
"@odata.type": "#Intel.Oem.ComputerSystem",
"PciDevices": [],
"DiscoveryState": "Basic",
"ProcessorSockets": null,
"MemorySockets": null,
"PCIeConnectionId": [],
"UserModeEnabled": false,
"TrustedExecutionTechnologyEnabled": false,
"Metrics": {
"@odata.id": "/redfish/v1/Systems/System2/Metrics"
}
}
}
}