GET – 服务器属性
使用 GET 方法检索 Redfish 服务的 System 资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1
请求正文
无
响应正文
字段  | 类型  | 描述  | ||
|---|---|---|---|---|
Id  | 字符串  | “1”  | ||
Name  | 字符串  | “ComputerSystem”  | ||
Description  | 字符串  | “This resource is used to represent a computing system for a Redfish implementation.”  | ||
SystemType  | 字符串  | 此资源表示的计算机系统的类型  | ||
AssetTag  | 字符串  | 系统的资产标记  | ||
Manufacturer  | 字符串  | 系统的制造商标记  | ||
Model  | 字符串  | 系统的型号  | ||
SubModel  | 字符串  | 系统的子型号  | ||
SKU  | 字符串  | 此系统的制造商 SKU。  | ||
SerialNumber  | 字符串  | 系统的序列号  | ||
PartNumber  | 字符串  | Null  | ||
UUID  | 字符串  | 此系统的通用唯一标识符(UUID)  | ||
HostName  | 字符串  | 此主机的全名:XCC-SubModel-SerialNumber  | ||
IndicatorLED  | 字符串  | 与此系统关联的指示灯状态  | ||
Boot  | 对象  | 描述当前资源的引导信息。对此对象的更改不会改变 BIOS 持久引导顺序配置  | ||
BootOptions  | 链接  | 与此计算机系统关联的 UEFI 引导选项集合的链接。  | ||
BootOrder  | 数组  | 项:字符串 项数:N  | ||
BootOrder[N]  | 字符串  | 此字符串应该为 BootOptionReference 字符串,表示与此计算机系统相关的持久引导顺序。  | ||
BootOrderPropertySelection  | 字符串  | “BootOrder”。  | ||
BootSourceOverrideEnabled  | 字符串  | 描述“引导源覆盖”功能的状态  | ||
BootSourceOverrideMode  | 字符串  | 从 BootSourceOverrideTarget 引导源进行引导时要使用的 BIOS 引导模式(Legacy 或 UEFI)  | ||
UefiTargetBootSourceOverride  | 字符串  | 当 BootSourceOverrideSupported 为 UefiTarget 时作为引导源的设备的 UEFI 设备路径。  | ||
BootSourceOverrideTarget  | 字符串  | BootSourceOverrideEnabled 为 true 的情况下,下次引导时要使用的当前引导源(取代正常引导设备)  | ||
BootSourceOverrideTarget @Redfish.AllowableValues  | 数组  | 项:字符串 项数:8  | ||
BootSourceOverrideTarget @Redfish.AllowableValues[0]  | 字符串  | “None”  | ||
BootSourceOverrideTarget @Redfish.AllowableValues[1]  | 字符串  | “Pxe”  | ||
BootSourceOverrideTarget @Redfish.AllowableValues[2]  | 字符串  | “Cd”  | ||
BootSourceOverrideTarget @Redfish.AllowableValues[3]  | 字符串  | “Usb”  | ||
BootSourceOverrideTarget @Redfish.AllowableValues[4]  | 字符串  | “Hdd”  | ||
BootSourceOverrideTarget @Redfish.AllowableValues[5]  | 字符串  | “BiosSetup”  | ||
BootSourceOverrideTarget @Redfish.AllowableValues[6]  | 字符串  | “Diags”  | ||
BootSourceOverrideTarget @Redfish.AllowableValues[7]  | 字符串  | “UefiTarget”  | ||
BootSourceOverrideEnabled @Redfish.AllowableValues  | 数组  | 项:字符串 项数:2  | ||
BootSourceOverrideEnabled @Redfish.AllowableValues[0]  | 字符串  | “Once”  | ||
BootSourceOverrideEnabled @Redfish.AllowableValues[1]  | 字符串  | “Disabled”  | ||
BiosVersion  | 字符串  | 系统 BIOS 的版本  | ||
TrustedModules  | 对象  | 系统中的可信任模块的数组。 注 基于 AMD Milan 的系统不支持此对象。  | ||
InterfaceType  | 字符串  | 可信模块的接口类型。  | ||
FirmwareVersion  | 字符串  | 此可信模块的固件版本。  | ||
InterfaceTypeSelection  | 字符串  | 此可信模块支持的接口类型选择。  | ||
Status  | 对象  | 此可信模块的状态。  | ||
State  | 字符串  | 此可信模块的状态。  | ||
Health  | 字符串  | 如果状态为“Absent”,则会被隐藏,否则为“OK”  | ||
ProcessorSummary  | 对象  | 此对象大致详细描述系统的中央处理器。  | ||
Count  | 数字  | 系统中的处理器数。  | ||
LogicalProcessorCount  | 整数  | 逻辑处理器计数。  | ||
Metrics  | 链接  | 与此系统中所有处理器关联的指标的链接。  | ||
Model  | 字符串  | 此系统中的主要或大部分处理器的处理器型号。  | ||
Status  | 对象  | 反映处理器摘要状态  | ||
State  | 字符串  | “Enabled”  | ||
HealthRollup  | 字符串  | 表示此资源的视图中的总体运行状况状态。  | ||
Health  | 字符串  | 表示此资源在没有依赖资源的情况下的运行状况状态。  | ||
MemorySummary  | 对象  | 此对象大致详细描述系统的内存。  | ||
Metrics  | 链接  | 与此系统中所有内存关联的指标的链接。  | ||
TotalSystemMemoryGiB  | 数字  | 操作系统可访问的已装内存总量(RAM),以 GiB 为单位  | ||
Status  | 对象  | 反映内存摘要状态  | ||
State  | 字符串  | “Enabled”。  | ||
HealthRollup  | 字符串  | 表示此资源的视图中的总体运行状况状态。  | ||
Health  | 字符串  | 表示此资源在没有依赖资源的情况下的运行状况状态。  | ||
Processors  | 链接  | 此对象大致详细描述系统的处理器。  | ||
Status  | 对象  | 已展开  | ||
State  | 字符串  | “Enabled”  | ||
HealthRollup  | 字符串  | 表示此资源的视图中的总体运行状况状态。  | ||
Health  | 字符串  | 表示此资源在没有依赖资源的情况下的运行状况状态。  | ||
Links  | 对象  | 引用链接的对象  | ||
ManagedBy  | 数组  | 负责管理此系统的管理器的引用数组  | ||
Chassis  | 数组  | 包含此系统的机箱的引用数组  | ||
PoweredBy  | 数组  | 用于此系统的电源的引用数组  | ||
CooledBy  | 数组  | 用于此系统的散热设备的引用数组  | ||
EthernetInterfaces  | 链接  | 与此系统关联的以太网接口集合的引用  | ||
NetworkInterfaces  | 链接  | 与此系统关联的网络接口集合的引用  | ||
LogServices  | 链接  | 与此系统关联的日志服务集合的引用  | ||
PowerState  | 字符串  | 系统的当前电源状态  | ||
Bios  | 链接  | 与此系统关联的 BIOS 设置的引用。  | ||
Memory  | 链接  | 与此系统关联的内存设备集合的引用。  | ||
Storage  | 链接  | 与此系统关联的存储设备集合的引用。  | ||
SecureBoot  | 链接  | 与此系统关联的 SecureBoot 设置的引用。  | ||
HostWatchdogTimer  | 对象  | 此对象描述此系统的主机看守程序计时器功能。  | ||
FunctionEnabled  | 布尔  | 指示是否已启用主机看守程序计时器功能。激活计时器功能需要额外的基于主机的软件。  | ||
Status  | 对象  | 已展开  | ||
State  | 字符串  | “Disabled”或“StandbyOffline”。  | ||
TimeoutAction  | 字符串  | 此属性指示当看守程序计时器达到其超时值时要执行的操作。  | ||
TimeoutAction@ Redfish.AllowableValues  | 数组  | 项类型:字符串 项数:1 项:“PowerCycle”  | ||
WarningAction  | 字符串  | 此属性指示在看守程序计时器接近(通常为 3-10 秒)达到其超时值时要执行的操作。  | ||
WarningAction@ Redfish.AllowableValues  | 数组  | 项类型:字符串 项数:1 项:“None”  | ||
PCIeDevices  | 数组  | 包含此系统的 PCI 设备的引用数组  | ||
PCIeFunctions  | 数组  | 包含此系统的 PCI 功能的引用数组  | ||
Actions  | 对象  | 此资源的可用操作。  | ||
#ComputerSystem.Reset  | 对象  | 此操作应执行 ComputerSystem 的重置。对于实现了 APCI 电源按钮功能的系统,PushPowerButton 值应执行或模拟 ACPI 电源按钮按下操作。ForceOff 值应断开系统电源或执行 ACPI 电源按钮覆盖(通常称为按住电源按钮 4 秒)。ForceRestart 值应先执行 ForceOff 操作,然后再执行 On 操作。  | ||
@Redfish.ActionInfo  | 链接  | /redfish/v1/Systems/1/ResetActionInfo  | ||
ResetType@Redfish.AllowableValues  | 数组  | 项:字符串 项数:7  | ||
ResetType@Redfish.AllowableValues[0]  | 字符串  | “On”  | ||
ResetType@Redfish.AllowableValues[1]  | 字符串  | “Nmi”  | ||
ResetType@Redfish.AllowableValues[2]  | 字符串  | “GracefulShutdown”  | ||
ResetType@Redfish.AllowableValues[3]  | 字符串  | “GracefulRestart”  | ||
ResetType@Redfish.AllowableValues[4]  | 字符串  | “ForceOn”  | ||
ResetType@Redfish.AllowableValues[5]  | 字符串  | “ForceOff”  | ||
ResetType@Redfish.AllowableValues[6]  | 字符串  | “ForceRestart”  | ||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
示例
返回以下示例 JSON 响应:
{
    "SerialNumber": "NARVIR073",
    "Id": "1",
    "IndicatorLED": "Off",
    "PowerState": "On",
    "ProcessorSummary": {
        "Status": {
            "HealthRollup": "OK",
            "Health": "OK",
            "State": "Enabled"
        },
        "Metrics": {
            "@odata.id": "/redfish/v1/Systems/1/ProcessorSummary/ProcessorMetrics"
        },
        "Count": 1,
        "Model": "Genuine Intel(R) CPU 0000%@",
        "LogicalProcessorCount": 48
    },
    "NetworkInterfaces": {
        "@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces"
    },
    "Storage": {
        "@odata.id": "/redfish/v1/Systems/1/Storage"
    },
    "PartNumber": null,
    "SubModel": "7Z59",
    "Bios": {
        "@odata.id": "/redfish/v1/Systems/1/Bios"
    },
    "UUID": "55833bf4-5bbb-11e7-997f-0a94ef402c57",
    "Name": "ComputerSystem",
    "HostWatchdogTimer": {
        "WarningAction": "None",
        "WarningAction@Redfish.AllowableValues": [
            "None"
        ],
        "Status": {
            "State": "Disabled"
        },
        "TimeoutAction": "PowerCycle",
        "TimeoutAction@Redfish.AllowableValues": [
            "PowerCycle"
        ],
        "FunctionEnabled": false
    },
    "Oem": {
        "Lenovo": {
            "ScheduledPowerActions": {
                "@odata.id": "/redfish/v1/Systems/1/Oem/Lenovo/ScheduledPowerActions"
            },
            "FrontPanelUSB": {
                "InactivityTimeoutMins": 5,
                "IDButton": "On",
                "PortSwitchingTo": "Server",
                "FPMode": "Shared"
            },
            "Sensors": {
                "@odata.id": "/redfish/v1/Chassis/1/Oem/Lenovo/Sensors"
            },
            "SystemStatus": "BootingOSOrInUndetectedOS",
            "NumberOfReboots": 22,
            "HistorySysPerf": {
                "@odata.id": "/redfish/v1/Systems/1/Oem/Lenovo/HistorySysPerf"
            },
            "@odata.type": "#LenovoComputerSystem.v1_0_0.LenovoSystemProperties",
            "TotalPowerOnHours": 219,
            "Metrics": {
                "@odata.id": "/redfish/v1/Systems/1/Oem/Lenovo/Metrics"
            },
            "BootSettings": {
                "@odata.id": "/redfish/v1/Systems/1/Oem/Lenovo/BootSettings"
            }
        }
    },
    "@odata.type": "#ComputerSystem.v1_9_0.ComputerSystem",
    "Manufacturer": "Lenovo",
    "@odata.etag": "\"42a3dfa9254124eb4ca7a70e77fb8ce7\"",
    "Actions": {
        "#ComputerSystem.Reset": {
            "title": "Reset",
            "target": "/redfish/v1/Systems/1/Actions/ComputerSystem.Reset",
            "@Redfish.ActionInfo": "/redfish/v1/Systems/1/ResetActionInfo",
            "ResetType@Redfish.AllowableValues": [
                "On",
                "Nmi",
                "GracefulShutdown",
                "GracefulRestart",
                "ForceOn",
                "ForceOff",
                "ForceRestart"
            ]
        },
        "Oem": {
            "#LenovoComputerSystem.BootToBIOSSetup": {
                "title": "BootToBIOSSetup",
                "target": "/redfish/v1/Systems/1/Actions/Oem/LenovoComputerSystem.BootToBIOSSetup"
            },
            "#LenovoComputerSystem.CustomizedReset": {
                "target": "/redfish/v1/Systems/1/Actions/Oem/LenovoComputerSystem.CustomizedReset",
                "title": "CustomizedReset",
                "ResetType@Redfish.AllowableValues": [
                    "On"
                ]
            }
        }
    },
    "EthernetInterfaces": {
        "@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces"
    },
    "Boot": {
        "BootSourceOverrideEnabled@Redfish.AllowableValues": [
            "Once",
            "Disabled"
        ],
        "BootSourceOverrideTarget@Redfish.AllowableValues": [
            "None",
            "Pxe",
            "Cd",
            "Usb",
            "Hdd",
            "BiosSetup",
            "Diags",
            "UefiTarget"
        ],
        "UefiTargetBootSourceOverride": null,
        "BootSourceOverrideTarget": "None",
        "BootSourceOverrideEnabled": "Disabled",
        "BootSourceOverrideMode": "UEFI"
    },
    "@odata.id": "/redfish/v1/Systems/1",
    "AssetTag": "",
    "PCIeFunctions": [
        {
            "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_13/PCIeFunctions/slot_13.00"
        },
        {
            "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_13/PCIeFunctions/slot_13.01"
        },
        {
            "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_1/PCIeFunctions/ob_1.02"
        }
    ],
    "SystemType": "Physical",
    "BiosVersion": "M5E101Q",
    "HostName": "Narvi-SR860V2-1",
    "MemorySummary": {
        "Status": {
            "HealthRollup": "OK",
            "Health": "OK",
            "State": "Enabled"
        },
        "Metrics": {
            "@odata.id": "/redfish/v1/Systems/1/MemorySummary/MemoryMetrics"
        },
        "TotalSystemMemoryGiB": 16
    },
    "Processors": {
        "@odata.id": "/redfish/v1/Systems/1/Processors"
    },
    "PCIeFunctions@odata.count": 3,
    "SecureBoot": {
        "@odata.id": "/redfish/v1/Systems/1/SecureBoot"
    },
    "PCIeDevices": [
        {
            "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_13"
        },
        {
            "@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_1"
        }
    ],
    "TrustedModules": [
        {
            "Status": {
                "State": "Absent"
            },
            "InterfaceType": "TPM2_0",
            "FirmwareVersion": "7.2.1.0",
            "InterfaceTypeSelection": "BiosSetting"
        }
    ],
    "PCIeDevices@odata.count": 2,
    "SKU": "7Z59CTO1WW",
    "Model": "ThinkSystem SR860",
    "Description": "This resource is used to represent a computing system for a Redfish implementation.",
    "Links": {
        "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"
            }
        ],
        "Chassis": [
            {
                "@odata.id": "/redfish/v1/Chassis/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"
            }
        ],
        "ManagedBy": [
            {
                "@odata.id": "/redfish/v1/Managers/1"
            }
        ]
    },
    "LogServices": {
        "@odata.id": "/redfish/v1/Systems/1/LogServices"
    },
    "Memory": {
        "@odata.id": "/redfish/v1/Systems/1/Memory"
    },
    "Status": {
        "HealthRollup": "OK",
        "Health": "OK",
        "State": "Enabled"
    }
}