Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
320
plugins/inputs/redfish/testdata/hp_systemsinvalid.json
vendored
Normal file
320
plugins/inputs/redfish/testdata/hp_systemsinvalid.json
vendored
Normal file
|
@ -0,0 +1,320 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
|
||||
"@odata.etag": "W/\"43E302D1\"",
|
||||
"@odata.id": "/redfish/v1/Systems/1/",
|
||||
"@odata.type": "#ComputerSystem.v1_4_0.ComputerSystem",
|
||||
"Id": "1",
|
||||
"Actions": {
|
||||
"#ComputerSystem.Reset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"On",
|
||||
"ForceOff",
|
||||
"ForceRestart",
|
||||
"Nmi",
|
||||
"PushPowerButton"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/"
|
||||
}
|
||||
},
|
||||
"AssetTag": "",
|
||||
"Bios": {
|
||||
"@odata.id": "/redfish/v1/systems/1/bios/"
|
||||
},
|
||||
"BiosVersion": "U32 v2.10 (05/21/2019)",
|
||||
"Boot": {
|
||||
"BootSourceOverrideEnabled": "Disabled",
|
||||
"BootSourceOverrideMode": "UEFI",
|
||||
"BootSourceOverrideTarget": "None",
|
||||
"BootSourceOverrideTarget@Redfish.AllowableValues": [
|
||||
"None",
|
||||
"Cd",
|
||||
"Hdd",
|
||||
"Usb",
|
||||
"SDCard",
|
||||
"Utilities",
|
||||
"Diags",
|
||||
"BiosSetup",
|
||||
"Pxe",
|
||||
"UefiShell",
|
||||
"UefiHttp",
|
||||
"UefiTarget"
|
||||
],
|
||||
"UefiTargetBootSourceOverride": "None",
|
||||
"UefiTargetBootSourceOverride@Redfish.AllowableValues": [
|
||||
"HD(1,GPT,0E3A0969-7AFC-4B55-8B24-AEFA09F33D2D,0x800,0x12C000)/\\EFI\\redhat\\shimx64.efi",
|
||||
"UsbClass(0xFFFF,0xFFFF,0xFF,0xFF,0xFF)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x0)/Pci(0x14,0x0)/USB(0x13,0x0)",
|
||||
"PciRoot(0x3)/Pci(0x0,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)"
|
||||
]
|
||||
},
|
||||
"EthernetInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/"
|
||||
},
|
||||
"HostName": "tpa-hostname",
|
||||
"IndicatorLED": "Off",
|
||||
"Links": {
|
||||
"ManagedBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/1/"
|
||||
}
|
||||
],
|
||||
"Chassis": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"LogServices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/LogServices/"
|
||||
},
|
||||
"Manufacturer": "HPE",
|
||||
"Memory": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Memory/"
|
||||
},
|
||||
"MemoryDomains": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/MemoryDomains/"
|
||||
},
|
||||
"MemorySummary": {
|
||||
"Status": {
|
||||
"HealthRollup": "OK"
|
||||
},
|
||||
"TotalSystemMemoryGiB": 384,
|
||||
"TotalSystemPersistentMemoryGiB": 0
|
||||
},
|
||||
"Model": "ProLiant DL360 Gen10",
|
||||
"Name": "Computer System",
|
||||
"NetworkInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/"
|
||||
},
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeComputerSystemExt.HpeComputerSystemExt",
|
||||
"@odata.type": "#HpeComputerSystemExt.v2_6_1.HpeComputerSystemExt",
|
||||
"Actions": {
|
||||
"#HpeComputerSystemExt.PowerButton": {
|
||||
"PushType@Redfish.AllowableValues": [
|
||||
"Press",
|
||||
"PressAndHold"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.PowerButton/"
|
||||
},
|
||||
"#HpeComputerSystemExt.SecureSystemErase": {
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.SecureSystemErase/"
|
||||
},
|
||||
"#HpeComputerSystemExt.SystemReset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"ColdBoot",
|
||||
"AuxCycle"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.SystemReset/"
|
||||
}
|
||||
},
|
||||
"AggregateHealthStatus": {
|
||||
"AgentlessManagementService": "Unavailable",
|
||||
"BiosOrHardwareHealth": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"FanRedundancy": "Redundant",
|
||||
"Fans": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Memory": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Network": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"PowerSupplies": {
|
||||
"PowerSuppliesMismatch": false,
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"PowerSupplyRedundancy": "Redundant",
|
||||
"Processors": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"SmartStorageBattery": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Temperatures": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Bios": {
|
||||
"Backup": {
|
||||
"Date": "05/21/2019",
|
||||
"Family": "U32",
|
||||
"VersionString": "U32 v2.10 (05/21/2019)"
|
||||
},
|
||||
"Current": {
|
||||
"Date": "05/21/2019",
|
||||
"Family": "U32",
|
||||
"VersionString": "U32 v2.10 (05/21/2019)"
|
||||
},
|
||||
"UefiClass": 2
|
||||
},
|
||||
"CurrentPowerOnTimeSeconds": 29290,
|
||||
"DeviceDiscoveryComplete": {
|
||||
"AMSDeviceDiscovery": "NoAMS",
|
||||
"DeviceDiscovery": "vMainDeviceDiscoveryComplete",
|
||||
"SmartArrayDiscovery": "Complete"
|
||||
},
|
||||
"ElapsedEraseTimeInMinutes": 0,
|
||||
"EndOfPostDelaySeconds": null,
|
||||
"EstimatedEraseTimeInMinutes": 0,
|
||||
"IntelligentProvisioningAlwaysOn": true,
|
||||
"IntelligentProvisioningIndex": 9,
|
||||
"IntelligentProvisioningLocation": "System Board",
|
||||
"IntelligentProvisioningVersion": "3.30.213",
|
||||
"IsColdBooting": false,
|
||||
"Links": {
|
||||
"PCIDevices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/PCIDevices/"
|
||||
},
|
||||
"PCISlots": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/PCISlots/"
|
||||
},
|
||||
"NetworkAdapters": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/BaseNetworkAdapters/"
|
||||
},
|
||||
"SmartStorage": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/SmartStorage/"
|
||||
},
|
||||
"USBPorts": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/USBPorts/"
|
||||
},
|
||||
"USBDevices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/USBDevices/"
|
||||
},
|
||||
"EthernetInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/"
|
||||
},
|
||||
"WorkloadPerformanceAdvisor": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/WorkloadPerformanceAdvisor/"
|
||||
}
|
||||
},
|
||||
"PCAPartNumber": "847479-002",
|
||||
"PCASerialNumber": "PWUFL0ARHCF3KR",
|
||||
"PostDiscoveryCompleteTimeStamp": "2020-02-24T02:43:43Z",
|
||||
"PostDiscoveryMode": null,
|
||||
"PostMode": null,
|
||||
"PostState": "FinishedPost",
|
||||
"PowerAllocationLimit": 1600,
|
||||
"PowerAutoOn": "Restore",
|
||||
"PowerOnDelay": "Minimum",
|
||||
"PowerOnMinutes": 95715,
|
||||
"PowerRegulatorMode": "Max",
|
||||
"PowerRegulatorModesSupported": [
|
||||
"OSControl",
|
||||
"Dynamic",
|
||||
"Max",
|
||||
"Min"
|
||||
],
|
||||
"ProcessorJitterControl": {
|
||||
"ConfiguredFrequencyLimitMHz": 0,
|
||||
"Mode": "Disabled"
|
||||
},
|
||||
"SMBIOS": {
|
||||
"extref": "/smbios"
|
||||
},
|
||||
"ServerFQDN": "TPAVCPAR088S4.vici.verizon.com",
|
||||
"SmartStorageConfig": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/systems/1/smartstorageconfig/"
|
||||
}
|
||||
],
|
||||
"SystemROMAndiLOEraseComponentStatus": {
|
||||
"BIOSSettingsEraseStatus": "Idle",
|
||||
"iLOSettingsEraseStatus": "Idle"
|
||||
},
|
||||
"SystemROMAndiLOEraseStatus": "Idle",
|
||||
"SystemUsage": {
|
||||
"AvgCPU0Freq": 0,
|
||||
"AvgCPU1Freq": 6,
|
||||
"CPU0Power": 50,
|
||||
"CPU1Power": 51,
|
||||
"CPUICUtil": 0,
|
||||
"CPUUtil": 0,
|
||||
"IOBusUtil": 0,
|
||||
"JitterCount": 35,
|
||||
"MemoryBusUtil": 0
|
||||
},
|
||||
"UserDataEraseComponentStatus": {},
|
||||
"UserDataEraseStatus": "Idle",
|
||||
"VirtualProfile": "Inactive"
|
||||
}
|
||||
},
|
||||
"PowerState": "On",
|
||||
"ProcessorSummary": {
|
||||
"Count": 2,
|
||||
"Model": "Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz",
|
||||
"Status": {
|
||||
"HealthRollup": "OK"
|
||||
}
|
||||
},
|
||||
"Processors": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Processors/"
|
||||
},
|
||||
"SKU": "867959-B21",
|
||||
"SecureBoot": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/SecureBoot/"
|
||||
},
|
||||
"SerialNumber": "MXQ93003RB",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Storage": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Storage/"
|
||||
},
|
||||
"SystemType": "Physical",
|
||||
"TrustedModules": [
|
||||
{
|
||||
"FirmwareVersion": "73.0",
|
||||
"InterfaceType": "TPM1_2",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeTrustedModuleExt.HpeTrustedModuleExt",
|
||||
"@odata.type": "#HpeTrustedModuleExt.v2_0_0.HpeTrustedModuleExt",
|
||||
"VendorName": "STMicro"
|
||||
}
|
||||
},
|
||||
"Status": {
|
||||
"State": "Disabled"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue