{
"Resources": [
{
"Uri": "/redfish/v1/SystemOverview",
"IgnoreEtags": [
"Managers",
"Chassis",
"Systems"
],
"Interfaces": [
{
"Type": "GET",
"RspBody": {
"@odata.context": "/redfish/v1/$metadata#SystemOverview.SystemOverview",
"@odata.id": "/redfish/v1/SystemOverview",
"@odata.type": "#SystemOverview.v1_0_0.SystemOverview",
"Id": "SystemOverview",
"Name": "System Overview",
"Managers": [
{
"Id": "1",
"HostName": "${ProcessingFlow[11]/Destination/HostName}",
"FirmwareVersion": "${ProcessingFlow[12]/Destination/Version}",
"UUID": "${ProcessingFlow[29]/Destination/UUID}",
"SystemLockDownEnabled": "${Statements/GetSystemLockDownEnabled()}",
"PermanentMACAddress": "${ProcessingFlow[31]/Destination/Mac}",
"DefaultIPv4Info": {
"IPMode": "${ProcessingFlow[31]/Destination/DefaultFactoryIpMode}",
"IPv4Address": "${ProcessingFlow[31]/Destination/DefaultFactoryIpAddr}"
},
"DomainName": "${ProcessingFlow[11]/Destination/DomainName}",
"DeviceIPv4": "${ProcessingFlow[13]/Destination/DeviceIPv4}",
"DeviceIPv6": "${ProcessingFlow[14]/Destination/DeviceIPv6}",
"FDMService": {
"@odata.id": "/redfish/v1/Managers/1/FDMService"
},
"USBMgmtService": {
"@odata.id": "/redfish/v1/Managers/1/USBMgmtService"
},
"DateTime": "${ProcessingFlow[16]/Destination/DateTime}"
}
],
"Systems": [
{
"Id": "1",
"BiosVersion": "${ProcessingFlow[1]/Destination/Version}",
"OSVersion": "${ProcessingFlow[26]/Destination/OSVersion}",
"TeeosVersion": "${ProcessingFlow[1]/Destination/TeeOSVersion}",
"KernalVersion": "${ProcessingFlow[26]/Destination/KernelVersion}",
"ProductAlias": "${ProcessingFlow[3]/Destination/ProductAlias}",
"ProductPicture": "${ProcessingFlow[3]/Destination/ProductPicture}",
"SystemSerialNumber": "${ProcessingFlow[9]/Destination/SystemSerialNumber}",
"ProductName": "${Statements/ProductName()}",
"CPUUsagePercent": "${Statements/CPUUsagePercent()}",
"CPUThresholdPercent": "${Statements/CPUThresholdPercent()}",
"MemoryUsagePercent": "${Statements/MemoryUsagePercent()}",
"MemoryThresholdPercent": "${Statements/MemoryThresholdPercent()}",
"MemoryCount": "${Statements/GetMemorySummaryInfo()/MemoryCount}",
"LogicalDriveSummary": {},
"StorageSummary": {
"Count": "${Statements/GetStorageCount()}",
"Status": {
"Severity": "${Statements/StorageSeverity()}",
"HealthRollup": "${Statements/StorageHealth()}"
}
},
"HealthSummary": {
"CriticalAlarmCount": "${ProcessingFlow[8]/Destination/CriticalAlarmCount}",
"MajorAlarmCount": "${ProcessingFlow[8]/Destination/MajorAlarmCount}",
"MinorAlarmCount": "${ProcessingFlow[8]/Destination/MinorAlarmCount}"
},
"ProcessorSummary": {
"Count": "${Statements/GetProcessorSummaryInfo()/Count}",
"Model": "${Statements/GetProcessorSummaryInfo()/Model}",
"Status": {
"Oem": {
"{{OemIdentifier}}": {
"Severity": "${Statements/GetProcessorSummaryInfo()/Severity}"
}
},
"HealthRollup": "${Statements/GetProcessorSummaryInfo()/HealthRollup}"
}
},
"MemorySummary": {
"TotalSystemMemoryGiB": "${Statements/GetMemorySummaryInfo()/TotalSystemMemoryGiB}",
"Status": {
"Oem": {
"{{OemIdentifier}}": {
"Severity": "${Statements/GetMemorySummaryInfo()/Severity}"
}
},
"HealthRollup": "${Statements/GetMemorySummaryInfo()/HealthRollup}"
}
},
"PartitionLists": [
{}
],
"PowerState": "${Statements/PowerState()}"
}
],
"Chassis": [
{
"Id": "1",
"IndicatorLED": "${Statements/GetIndicatorLED()}",
"InletTemperature": "${Statements/GetInletTemperatureCelsius()}",
"InletTempMinorAlarmThreshold": "${Statements/GetInletTempMinorAlarmThreshold()}",
"InletTempMajorAlarmThreshold": "${Statements/GetInletTempMajorAlarmThreshold()}",
"PresentFanNum": "${Statements/GetPresentFanNum()}",
"Power": {
"PowerConsumedWatts": "${ProcessingFlow[24]/Destination/SystemPower}",
"PowerCapacityWatts": "${Statements/GetPowerCapacityWatts()}",
"PresentPSUNum": "${Statements/GetPresentPSUNum()}",
"HighPowerThresholdWatts": "${Statements/GetHighPowerThresholdWatts()}"
},
"DriveSummary": {
"Count": "${Statements/GetDriveSummaryInfo()/Count}",
"Status": {
"Severity": "${Statements/GetDriveSummaryInfo()/Severity}",
"HealthRollup": "${Statements/GetDriveSummaryInfo()/HealthRollup}"
}
},
"PowerSupplySummary": {
"Count": "${Statements/GetDeviceMaxNumObj()/Psu}",
"Status": {
"Severity": "${Statements/PowerSeverity()}",
"HealthRollup": "${Statements/PowerHealth()}"
}
},
"FanSummary": {
"Count": "${Statements/GetFanCount()}",
"Status": {
"Severity": "${Statements/FanSeverity()}",
"HealthRollup": "${Statements/FanHealth()}"
}
},
"DeviceMaxNum": {
"MemoryNum": "${Statements/GetDeviceMaxNumObj()/Memory}",
"PCIeNum": "${Statements/GetDeviceMaxNumObj()/PCIe}",
"CPUNum": "${Statements/GetDeviceMaxNumObj()/CPU}",
"NPUNum": "${Statements/GetDeviceMaxNumObj()/NPU}",
"DiskNum": "${Statements/GetDeviceMaxNumObj()/Disk}",
"PowerSupplyNum": "${Statements/GetDeviceMaxNumObj()/Psu}",
"FanNum": "${Statements/GetDeviceMaxNumObj()/Fan}",
"SecurityModuleNum": "${Statements/GetDeviceMaxNumObj()/SecurityModule}"
}
}
]
},
"Statements": {
"GetHighPowerThresholdWatts": {
"Steps": [
{
"Type": "Script",
"Formula": "local threshold = ProcessingFlow[24].Destination.HighPowerThresholdWatts if threshold == 0xFFFFFFFF then return cjson.null end return tointeger(threshold)"
}
]
},
"GetPresentFanNum": {
"Input": "${Statements/ExpandComponent()}",
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_present_fan_num(Input)"
}
]
},
"GetPresentPSUNum": {
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_present_psu_num(ProcessingFlow[25].Destination.PowerMgmtList)"
}
]
},
"GetPowerCapacityWatts": {
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_power_capacity_watts(ProcessingFlow[25].Destination.PowerMgmtList)"
}
]
},
"GetPowerCapacityWattsAndNpuWatts": {
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_power_capacity_watts_and_npu_watts(ProcessingFlow[25].Destination.PowerMgmtList, ProcessingFlow[34].Destination.NpuBoardsPaths)"
}
]
},
"GetDriveSummaryInfo": {
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.chassis.get_drives_summary_info(ProcessingFlow[23].Destination.DrivesList)"
}
]
},
"GetInletTempMajorAlarmThreshold": {
"Input": [
"${ProcessingFlow[32].Destination.Path}",
"${ProcessingFlow[22].Destination.UpperCriticalDisplay}",
"${ProcessingFlow[33].Destination.UpperCriticalDisplay}"
],
"Steps": [
{
"Type": "Script",
"Formula": "get_temperature_threshold.lua"
}
]
},
"GetInletTempMinorAlarmThreshold": {
"Input": [
"${ProcessingFlow[32].Destination.Path}",
"${ProcessingFlow[22].Destination.UpperNoncriticalDisplay}",
"${ProcessingFlow[33].Destination.UpperNoncriticalDisplay}"
],
"Steps": [
{
"Type": "Script",
"Formula": "get_temperature_threshold.lua"
}
]
},
"GetInletTemperatureCelsius": {
"Input": [
"${ProcessingFlow[32].Destination.Path}",
"${ProcessingFlow[22].Destination.ReadingDisplay}",
"${ProcessingFlow[33].Destination.ReadingDisplay}"
],
"Steps": [
{
"Type": "Script",
"Formula": "get_temperature.lua"
}
]
},
"GetIndicatorLED": {
"Input": "${ProcessingFlow[20]/Destination/State}",
"Steps": [
{
"Type": "Switch",
"Formula": [
{
"Case": 0,
"To": "Off"
},
{
"Case": 255,
"To": "Lit"
},
{
"To": "Blinking"
}
]
}
]
},
"PowerState": {
"Input": "${ProcessingFlow[5]/Destination/PowerState}",
"Steps": [
{
"Type": "Switch",
"Formula": [
{
"Case": "ON",
"To": "On"
},
{
"Case": "OFF",
"To": "Off"
},
{
"Case": "ONING",
"To": "PoweringOn"
},
{
"Case": "OFFING",
"To": "PoweringOff"
}
]
}
]
},
"ExpandMemory": {
"Input": "${ProcessingFlow[6]/Destination/Members}",
"Steps": [
{
"Type": "Prefix-Add",
"Formula": "/Expand/Systems"
},
{
"Type": "Expand"
}
]
},
"GetMemorySummaryInfo": {
"Input": "${Statements/ExpandMemory()}",
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systems.get_memory_summary_info(Input, ProcessingFlow[5].Destination.PowerState)"
}
]
},
"ExpandProcessor": {
"Input": "${ProcessingFlow[7]/Destination/Members}",
"Steps": [
{
"Type": "Prefix-Add",
"Formula": "/Expand/Systems"
},
{
"Type": "Expand"
}
]
},
"GetProcessorSummaryInfo": {
"Input": "${Statements/ExpandProcessor()}",
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systems.get_processor_summary_info(Input, ProcessingFlow[5].Destination.PowerState)"
}
]
},
"GetStorageCount": {
"Input": "${ProcessingFlow[10]/Destination/Members}",
"Steps": [
{
"Type": "Count"
}
]
},
"CPUUsagePercent": {
"Steps": [
{
"Type": "Script",
"Formula": "local val = ProcessingFlow[17].Destination.BandwidthPercent if val >= 0 and val <= 100 then return val else return nil end"
}
]
},
"CPUThresholdPercent": {
"Steps": [
{
"Type": "Script",
"Formula": "local val = ProcessingFlow[17].Destination.BandwidthThresholdPercent if val >= 0 and val <= 100 then return val else return nil end"
}
]
},
"MemoryUsagePercent": {
"Steps": [
{
"Type": "Script",
"Formula": "local val = ProcessingFlow[18].Destination.BandwidthPercent if val >= 0 and val <= 100 then return val else return nil end"
}
]
},
"MemoryThresholdPercent": {
"Steps": [
{
"Type": "Script",
"Formula": "local val = ProcessingFlow[18].Destination.BandwidthThresholdPercent if val >= 0 and val <= 100 then return val else return nil end"
}
]
},
"StorageHealth": {
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systems.get_storage_health(ProcessingFlow[10].Destination.Members)"
}
]
},
"StorageSeverity": {
"Input": "${Statements/StorageHealth()}",
"Steps": [
{
"Type": "Switch",
"Formula": [
{
"Case": "OK",
"To": "Informational"
},
{
"Case": "Minor",
"To": "Minor"
},
{
"Case": "Major",
"To": "Major"
},
{
"Case": "Critical",
"To": "Critical"
},
{
"To": null
}
]
}
]
},
"GetDeviceMaxNumObj": {
"Steps": [
{
"Type": "Script",
"Formula": "Systems/get_device_max_num.lua"
}
]
},
"GetSystemLockDownEnabled": {
"Steps": [
{
"Type": "Script",
"Formula": "if ProcessingFlow[30].Destination.SystemLockDownSupport ~= 'Supported' then return lua_nil end return ProcessingFlow[30].Destination.SystemLockDownStatus == 'Locked'"
}
]
},
"ProductName": {
"Input": "${ProcessingFlow[3]/Destination/ProductName}",
"Steps": [
{
"Type": "Switch",
"Formula": [
{
"Case": "",
"To": null
}
]
}
]
},
"ExpandComponent": {
"Input": "${ProcessingFlow[35]/Destination/ComponentList}",
"Steps": [
{
"Type": "Prefix-Add",
"Formula": "/Expand/SystemOverview"
},
{
"Type": "Expand"
}
]
},
"PowerSeverity": {
"Input": "${Statements/ExpandComponent()}",
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_severity_by_type(Input, 3)"
}
]
},
"PowerHealth": {
"Input": "${Statements/ExpandComponent()}",
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_status_health_by_type(Input, 3)"
}
]
},
"GetFanCount": {
"Input": "${Statements/ExpandComponent()}",
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_present_fan_num(Input)"
}
]
},
"FanSeverity": {
"Input": "${Statements/ExpandComponent()}",
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_severity_by_type(Input, 4)"
}
]
},
"FanHealth": {
"Input": "${Statements/ExpandComponent()}",
"Steps": [
{
"Type": "Plugin",
"Formula": "orchestrator.systemoverview.get_status_health_by_type(Input, 4)"
}
]
}
},
"ProcessingFlow": [
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/1/Bios",
"Interface": "bmc.kepler.Systems.Bios",
"Destination": {
"Version": "Version",
"TeeOSVersion": "TeeOSVersion"
}
},
{
"Type": "Method",
"Path": "/bmc/kepler/MdbService",
"Interface": "bmc.kepler.Mdb",
"Name": "GetPath",
"Params": [
"bmc.kepler.Systems.FruData.Overview",
{
"FruId": 0
},
false
],
"Destination": {
"Path": "Path"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/1/Product",
"Interface": "bmc.kepler.Systems.Product",
"Destination": {
"ProductName": "ProductName",
"ProductAlias": "ProductAlias",
"ProductPicture": "ProductPicture"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Systems/1/FruCtrl",
"Destination": {
"Members": "FruCtrlList"
}
},
{
"Type": "Property",
"Path": "${ProcessingFlow[4]/Destination/FruCtrlList[1]}",
"Interface": "bmc.kepler.Systems.FruCtrl",
"Destination": {
"PowerState": "PowerState"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Systems/1/Memory",
"Destination": {
"Members": "Members"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Systems/1/Processors/CPU",
"Destination": {
"Members": "Members"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/1/Events",
"Interface": "bmc.kepler.Systems.Events",
"Destination": {
"CriticalCount": "CriticalAlarmCount",
"MajorCount": "MajorAlarmCount",
"MinorCount": "MinorAlarmCount"
}
},
{
"Type": "Property",
"Path": "${ProcessingFlow[2]/Destination/Path}",
"Interface": "bmc.kepler.Systems.FruData.System",
"Destination": {
"SystemSerialNumber": "SystemSerialNumber"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Systems/1/Storage/Controllers",
"Destination": {
"Members": "Members"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Managers/1/Assembly",
"Interface": "bmc.kepler.Assembly",
"Destination": {
"HostName": "HostName",
"DomainName": "DomainName"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/UpdateService/FirmwareInventory/ActiveBMC",
"Interface": "bmc.kepler.UpdateService.FirmwareInfo",
"Destination": {
"Version": "Version"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Managers/1/EthernetInterfaces/Ipv4",
"Interface": "bmc.kepler.Managers.EthernetInterfaces.Ipv4",
"Destination": {
"IpAddr": "DeviceIPv4"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Managers/1/EthernetInterfaces/Ipv6",
"Interface": "bmc.kepler.Managers.EthernetInterfaces.Ipv6",
"Destination": {
"IpAddr": "DeviceIPv6"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Managers",
"Interface": "bmc.kepler.Managers.Time",
"Destination": {
"Members": "TimeIntfs"
}
},
{
"Type": "Property",
"Path": "${ProcessingFlow[15]/Destination/TimeIntfs[1]}",
"Interface": "bmc.kepler.Managers.Time",
"Destination": {
"DateTime": "DateTime"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/1/Processors/CPU",
"Interface": "bmc.kepler.Systems.Processor.ProcessorMetrics",
"Destination": {
"BandwidthPercent": "BandwidthPercent",
"BandwidthThresholdPercent": "BandwidthThresholdPercent",
"ConsumedPowerWatt": "ConsumedPowerWatt"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/1/Memory",
"Interface": "bmc.kepler.Systems.Memory.MemoryMetrics",
"Destination": {
"BandwidthPercent": "BandwidthPercent",
"BandwidthThresholdPercent": "BandwidthThresholdPercent",
"ConsumedPowerWatt": "ConsumedPowerWatt"
}
},
{
"Type": "Method",
"Path": "/bmc/kepler/MdbService",
"Interface": "bmc.kepler.Mdb",
"Name": "GetPath",
"Params": [
"bmc.kepler.Systems.Led",
{
"Name": "UIDLed"
},
false
],
"Destination": {
"Path": "Path"
}
},
{
"Type": "Property",
"Path": "${ProcessingFlow[19]/Destination/Path}",
"Interface": "bmc.kepler.Systems.Led",
"Destination": {
"State": "State"
}
},
{
"Type": "Method",
"Path": "/bmc/kepler/MdbService",
"Interface": "bmc.kepler.Mdb",
"Name": "GetPath",
"Params": [
"bmc.kepler.Systems.ThresholdSensor",
{
"SensorIdentifier": "Inlet Temp"
},
false
],
"Destination": {
"Path": "Path"
}
},
{
"Type": "Property",
"Path": "${ProcessingFlow[21]/Destination/Path}",
"Interface": "bmc.kepler.Systems.ThresholdSensorDisplay",
"Destination": {
"ReadingDisplay": "ReadingDisplay",
"UpperCriticalDisplay": "UpperCriticalDisplay",
"UpperNoncriticalDisplay": "UpperNoncriticalDisplay"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Systems/1/Storage/Drives",
"Destination": {
"Members": "DrivesList"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/1/EnergyMetric",
"Interface": "bmc.kepler.Systems.EnergyMetric",
"Destination": {
"SystemPower": "SystemPower",
"HighPowerThresholdWatts": "HighPowerThresholdWatts"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Systems/1/PowerMgmt",
"Destination": {
"Members": "PowerMgmtList"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/1/ComputerSystem",
"Interface": "bmc.kepler.Systems.ComputerSystem",
"Destination": {
"OSVersion": "OSVersion",
"KernelVersion": "KernelVersion"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Chassis",
"Interface": "bmc.kepler.Chassis",
"Destination": {
"Members": "ChassistList"
}
},
{
"Type": "Property",
"Path": "${ProcessingFlow[27]/Destination/ChassistList[1]}",
"Interface": "bmc.kepler.Chassis",
"Destination": {
"DeviceSpecication": "DeviceSpecication"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Managers/1/Assembly",
"Interface": "bmc.kepler.Assembly",
"Destination": {
"SystemGUID": "UUID"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/1",
"Interface": "bmc.kepler.Systems.SystemLockDown",
"Destination": {
"SystemLockDownStatus": "SystemLockDownStatus",
"SystemLockDownSupport": "SystemLockDownSupport"
}
},
{
"Type": "Property",
"Path": "/bmc/kepler/Managers/1/EthernetInterfaces",
"Interface": "bmc.kepler.Managers.EthernetInterfaces",
"Destination": {
"Mac": "Mac",
"DefaultFactoryIpMode": "DefaultFactoryIpMode",
"DefaultFactoryIpAddr": "DefaultFactoryIpAddr"
}
},
{
"Type": "Method",
"Path": "/bmc/kepler/MdbService",
"Interface": "bmc.kepler.Mdb",
"Name": "GetPath",
"Params": [
"bmc.kepler.Systems.ThresholdSensor",
{
"SensorType": 1,
"EntityId": 55
},
false
],
"Destination": {
"Path": "Path"
}
},
{
"Type": "Property",
"Path": "${ProcessingFlow[32]/Destination/Path}",
"Interface": "bmc.kepler.Systems.ThresholdSensorDisplay",
"Destination": {
"ReadingDisplay": "ReadingDisplay",
"UpperCriticalDisplay": "UpperCriticalDisplay",
"UpperNoncriticalDisplay": "UpperNoncriticalDisplay"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Systems/1/Boards/NpuBoard",
"Interface": "bmc.kepler.Systems.Board.NpuBoard",
"Destination": {
"Members": "NpuBoardsPaths"
}
},
{
"Type": "List",
"Path": "/bmc/kepler/Systems/1/Components",
"Interface": "bmc.kepler.Systems.Component",
"Destination": {
"Members": "ComponentList"
}
}
]
}
]
},
{
"Uri": "/Expand/SystemOverview/bmc/kepler/Systems/:systemid/Components/:id",
"Interfaces": [
{
"Type": "GET",
"RspBody": {
"Name": "${ProcessingFlow[1]/Destination/Name}",
"Presence": "${ProcessingFlow[1]/Destination/Presence}",
"Health": "${ProcessingFlow[1]/Destination/Health}",
"Type": "${ProcessingFlow[1]/Destination/Type}"
},
"ProcessingFlow": [
{
"Type": "Property",
"Path": "/bmc/kepler/Systems/${Uri/systemid}/Components/${Uri/id}",
"Interface": "bmc.kepler.Systems.Component",
"Destination": {
"Name": "Name",
"Presence": "Presence",
"Health": "Health",
"Type":"Type"
}
}
]
}
]
}
]
}