libredfish 0.2.0

A redfish library. Useful for querying server hardware from a BMC.
Documentation
{
  "@Redfish.Settings": {
    "@odata.type": "#Settings.v1_3_0.Settings",
    "Messages": [],
    "SettingsObject": {
      "@odata.id": "/redfish/v1/Systems/1/Pending"
    },
    "SupportedApplyTimes": [
      "OnReset"
    ],
    "Time": null
  },
  "@odata.etag": "\"2cc0d5d1eab092f061683c\"",
  "@odata.id": "/redfish/v1/Systems/1",
  "@odata.type": "#ComputerSystem.v1_11_0.ComputerSystem",
  "Actions": {
    "#ComputerSystem.Reset": {
      "@Redfish.ActionInfo": "/redfish/v1/Systems/1/ResetActionInfo",
      "ResetType@Redfish.AllowableValues": [
        "On",
        "Nmi",
        "GracefulShutdown",
        "GracefulRestart",
        "ForceOn",
        "ForceOff",
        "ForceRestart"
      ],
      "target": "/redfish/v1/Systems/1/Actions/ComputerSystem.Reset",
      "title": "Reset"
    },
    "Oem": {
      "#LenovoComputerSystem.BootToBIOSSetup": {
        "target": "/redfish/v1/Systems/1/Actions/Oem/LenovoComputerSystem.BootToBIOSSetup",
        "title": "BootToBIOSSetup"
      },
      "#LenovoComputerSystem.CustomizedReset": {
        "ResetType@Redfish.AllowableValues": [
          "On"
        ],
        "target": "/redfish/v1/Systems/1/Actions/Oem/LenovoComputerSystem.CustomizedReset",
        "title": "CustomizedReset"
      },
      "#LenovoComputerSystem.SystemReset": {
        "ResetType@Redfish.AllowableValues": [
          "ACPowerCycle"
        ],
        "target": "/redfish/v1/Systems/1/Actions/Oem/LenovoComputerSystem.SystemReset",
        "title": "SystemReset"
      }
    }
  },
  "AssetTag": "",
  "Bios": {
    "@odata.id": "/redfish/v1/Systems/1/Bios"
  },
  "BiosVersion": "U8E112A",
  "Boot": {
    "AutomaticRetryAttempts": 50,
    "AutomaticRetryConfig": "RetryAttempts",
    "BootOptions": {
      "@odata.id": "/redfish/v1/Systems/1/BootOptions"
    },
    "BootOrder": [
      "Boot0000",
      "Boot0001",
      "Boot0002",
      "Boot0004",
      "Boot0003"
    ],
    "BootOrderPropertySelection": "BootOrder",
    "BootSourceOverrideEnabled": "Disabled",
    "BootSourceOverrideEnabled@Redfish.AllowableValues": [
      "Once",
      "Disabled"
    ],
    "BootSourceOverrideMode": "UEFI",
    "BootSourceOverrideTarget": "None",
    "BootSourceOverrideTarget@Redfish.AllowableValues": [
      "None",
      "Pxe",
      "Cd",
      "Usb",
      "Hdd",
      "BiosSetup",
      "Diags",
      "UefiTarget"
    ],
    "UefiTargetBootSourceOverride": null
  },
  "Description": "This resource is used to represent a computing system for a Redfish implementation.",
  "EthernetInterfaces": {
    "@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces"
  },
  "HostName": "XCC-7Z23-J101RZ43",
  "HostWatchdogTimer": {
    "FunctionEnabled": false,
    "Status": {
      "State": "Disabled"
    },
    "TimeoutAction": "PowerCycle",
    "TimeoutAction@Redfish.AllowableValues": [
      "PowerCycle"
    ],
    "WarningAction": "None",
    "WarningAction@Redfish.AllowableValues": [
      "None"
    ]
  },
  "Id": "1",
  "IndicatorLED": "Off",
  "Links": {
    "Chassis": [
      {
        "@odata.id": "/redfish/v1/Chassis/1"
      }
    ],
    "CooledBy": [
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/0"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/1"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/2"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/3"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/4"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/5"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/6"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/7"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/8"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/9"
      }
    ],
    "ManagedBy": [
      {
        "@odata.id": "/redfish/v1/Managers/1"
      }
    ],
    "PoweredBy": [
      {
        "@odata.id": "/redfish/v1/Chassis/1/Power#/PowerSupplies/0"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Power#/PowerSupplies/1"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Power#/PowerSupplies/2"
      },
      {
        "@odata.id": "/redfish/v1/Chassis/1/Power#/PowerSupplies/3"
      }
    ]
  },
  "LogServices": {
    "@odata.id": "/redfish/v1/Systems/1/LogServices"
  },
  "Manufacturer": "Lenovo",
  "Memory": {
    "@odata.id": "/redfish/v1/Systems/1/Memory"
  },
  "MemorySummary": {
    "Status": {
      "Health": "OK",
      "HealthRollup": "OK",
      "State": "Enabled"
    },
    "TotalSystemMemoryGiB": 512
  },
  "Model": "ThinkSystem SR670 V2",
  "Name": "ComputerSystem",
  "NetworkInterfaces": {
    "@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces"
  },
  "Oem": {
    "Lenovo": {
      "@odata.type": "#LenovoComputerSystem.v1_0_0.LenovoSystemProperties",
      "BootSettings": {
        "@odata.id": "/redfish/v1/Systems/1/Oem/Lenovo/BootSettings"
      },
      "BootSettings@Redfish.Deprecated": "The property is deprecated. Please use BootOrder instead.",
      "FrontPanelUSB": {
        "FPMode": "Server",
        "IDButton": "On",
        "InactivityTimeoutMins": 5,
        "PortSwitchingTo": "Server"
      },
      "HistorySysPerf": {
        "@odata.id": "/redfish/v1/Systems/1/Oem/Lenovo/HistorySysPerf"
      },
      "Metrics": {
        "@odata.id": "/redfish/v1/Systems/1/Oem/Lenovo/Metrics"
      },
      "NumberOfReboots": 5,
      "ScheduledPowerActions": {
        "@odata.id": "/redfish/v1/Systems/1/Oem/Lenovo/ScheduledPowerActions"
      },
      "Sensors": {
        "@odata.id": "/redfish/v1/Chassis/1/Sensors"
      },
      "SystemStatus": "OSBooted",
      "TotalPowerOnHours": 3816
    }
  },
  "PCIeDevices": [
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_4"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_3"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_2"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_1"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_5"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_6"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_3"
    }
  ],
  "PCIeDevices@odata.count": 7,
  "PCIeFunctions": [
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_4/PCIeFunctions/slot_4.00"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_1/PCIeFunctions/ob_1.00"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_6/PCIeFunctions/slot_6.00"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_3/PCIeFunctions/slot_3.00"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_3/PCIeFunctions/ob_3.05"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_5/PCIeFunctions/slot_5.01"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_2/PCIeFunctions/ob_2.00"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_3/PCIeFunctions/slot_3.01"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_5/PCIeFunctions/slot_5.00"
    }
  ],
  "PCIeFunctions@odata.count": 9,
  "PartNumber": null,
  "PowerState": "On",
  "ProcessorSummary": {
    "Count": 2,
    "LogicalProcessorCount": 72,
    "Metrics": {
      "@odata.id": "/redfish/v1/Systems/1/ProcessorSummary/ProcessorMetrics"
    },
    "Model": "Intel(R) Xeon(R) Gold 6354 CPU @ 3.00GHz",
    "Status": {
      "Health": "OK",
      "HealthRollup": "OK",
      "State": "Enabled"
    }
  },
  "Processors": {
    "@odata.id": "/redfish/v1/Systems/1/Processors"
  },
  "SKU": "7Z23CTO1WW",
  "SecureBoot": {
    "@odata.id": "/redfish/v1/Systems/1/SecureBoot"
  },
  "SerialNumber": "J101RZ43",
  "Status": {
    "Health": "OK",
    "HealthRollup": "OK",
    "State": "Enabled"
  },
  "Storage": {
    "@odata.id": "/redfish/v1/Systems/1/Storage"
  },
  "SubModel": "7Z23",
  "SystemType": "Physical",
  "TrustedModules": [
    {
      "FirmwareVersion": "7.2.2.0",
      "InterfaceType": "TPM2_0",
      "InterfaceTypeSelection": "BiosSetting",
      "Status": {
        "Health": "OK",
        "State": "Enabled"
      }
    }
  ],
  "UUID": "bc20d65a-1a53-11ec-8c43-7e8ae1d5a277"
}