GET – BMC 管理属性
使用 GET 方法检索 Redfish 服务的 Manager 资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1
请求正文
无
响应正文
| 字段 | 类型 | 描述 | |||
|---|---|---|---|---|---|
Id  | 字符串 | 始终设置为 1。  | |||
Name  | 字符串 | “Manager”。  | |||
Actions  | 对象 | 已展开。 | |||
#Manager.Reset  | 对象 | 已展开。 | |||
ResetType@Redfish.AllowableValues  | 数组 | 项:字符串 项数:2  | |||
ResetType@Redfish.AllowableValues[0]  | 字符串 | “GracefulRestart”。指示 BMC 将以正常方式重新启动。 | |||
ResetType@Redfish.AllowableValues[1]  | 字符串 | “ForceRestart”。指示 BMC 将立即重新启动。 | |||
#Manager.ResetToDefaults  | 对象 | 已展开 | |||
ResetType@Redfish.AllowableValues  | 数组 | 项:字符串 项数:1  | |||
ResetType@Redfish.AllowableValues[0]  | 字符串 | “ResetAll”。将所有设置重置为出厂默认值。 | |||
AutoDSTEnabled  | 布尔 | True 和 False | |||
CommandShell  | 对象 | 已展开。 | |||
ServiceEnabled  | 布尔 | 如果启用了 SSH,则为 True。 如果禁用了 SSH,则为 False。  | |||
MaxConcurrentSessions  | 整数 | 2 | |||
ConnectTypesSupported  | 数组 | SSH。目前仅支持 SSH。 | |||
DateTime  | 字符串 | 管理器的当前日期时间(含偏移量),用于设置或读取时间。 | |||
DateTimeLocalOffset  | 字符串 | DateTime 属性设置的 UTC 时间偏移量,格式为 +06:00。 | |||
Description  | 字符串 | “This resource is used to represent a management subsystem for a Redfish implementation.” | |||
GraphicalConsole  | 对象 | 已展开。 | |||
ServiceEnabled  | 布尔 | 如果安装了 FOD 密钥,则为 True。 | |||
MaxConcurrentSessions  | 整数 | 6. | |||
ConnectTypesSupported  | 数组 | 项:字符串。 项数:1。  | |||
ConnectTypesSupported[0]  | 字符串 | “KVMIP”。 | |||
ManagerType  | 字符串 | 此属性表示此资源代表的管理器类型。此属性表示此资源代表的管理器类型。值为“BMC(为单个计算机系统提供管理功能的控制器)”。 | |||
Model  | 字符串 | 此管理器的型号信息(由制造商定义)。值为“Lenovo XClarity Controller”。 | |||
EthernetInterfaces  | 链接 | 以太网接口集合的 URI 引用链接。这是对此管理器用于网络通信的 NIC 集合的引用。 | |||
HostInterfaces  | 链接 | 主机接口集合的 URI 引用链接。这是对主机用于网络通信的 NIC 集合的引用。 | |||
LogServices  | 链接 | 日志服务集合(此集合是管理器使用的日志的集合)的 URI 引用链接。 | |||
NetworkProtocol  | 链接 | 网络协议集合(此集合是对管理器控制的网络服务及其设置的引用)的 URI 引用链接。 | |||
SerialInterfaces  | 链接 | 串口集合(此集合由此管理器用于串行通信和控制台通信)的 URI 引用链接。 | |||
FirmwareVersion  | 字符串 | 此管理器的固件版本。 | |||
Links  | 对象 | 引用与此资源相关但不包含(从属于)此资源的资源。 | |||
ManagerForChassis  | 数组 | 对此管理器可控制的机箱的引用数组。 | |||
ManagerForChassis[0]  | 链接 | 此属性的值是对机箱资源的 URI 引用。 | |||
ManagerForChassis@odata.count  | 整数 | 1 | |||
ManagerForServers  | 数组 | 对此管理器可控制的系统的引用数组。 | |||
ManagerForServers[0]  | 链接 | 此属性的值是对计算机系统资源的 URI 引用。 | |||
ManagerForServers@odata.count  | 整数 | 1 | |||
ActiveSoftwareImage  | 链接 | 此属性的值是对固件清单资源的 URI 引用。 | |||
SoftwareImages  | 数组 | 项:链接 项数:2  | |||
SoftwareImages[N]  | 链接 | 此属性的值是对固件清单资源的 URI 引用。 | |||
SoftwareImages.@odata.count  | 整数 | 2 | |||
PowerState  | 对象 | 此属性的值指示电源状态。始终为“On”。 | |||
SerialConsole  | 对象 | 已展开。 | |||
ConnectTypesSupported  | 数组 | 项:字符串。 项数:2。  | |||
ConnectTypesSupported[0]  | 字符串 | “IPMI”。 | |||
ConnectTypesSupported[1]  | 字符串 | “SSH”。 | |||
MaxConcurrentSessions  | 整数 | 2。 | |||
ServiceEnabled  | 布尔 | 如果启用了 SSH,则为 True。 如果禁用了 SSH,则为 False。  | |||
ServiceEntryPointUUID  | 字符串 | 此属性的值指示服务入口点的 UUID。 | |||
Status  | 对象 | 已展开。 | |||
State  | 字符串 | 此属性的值指示管理器的状态。始终为“Enabled”。 | |||
UUID  | 字符串 | 此属性的值指示管理器的 UUID。 | |||
ServiceIdentification  | 字符串 | 服务标识。 | |||
DedicatedNetworkPorts  | 链接 | 指向专用网络端口集合。 | |||
SharedNetworkPorts  | 链接 | 指向共享网络端口集合。 | |||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
示例
返回以下示例 JSON 响应:
{
    "SharedNetworkPorts": {
        "@odata.id": "/redfish/v1/Managers/1/SharedNetworkPorts"
    },
    "SerialInterfaces": {
        "@odata.id": "/redfish/v1/Managers/1/SerialInterfaces"
    },
    "Links": {
        "ManagerForServers@odata.count": 1,
        "ManagerForChassis": [
            {
                "@odata.id": "/redfish/v1/Chassis/1"
            }
        ],
        "ManagerForChassis@odata.count": 1,
        "ActiveSoftwareImage": {
            "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BMC-Primary"
        },
        "SoftwareImages@odata.count": 2,
        "SoftwareImages": [
            {
                "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BMC-Primary"
            },
            {
                "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BMC-Backup"
            }
        ],
        "ManagerForServers": [
            {
                "@odata.id": "/redfish/v1/Systems/1"
            }
        ]
    },
    "CommandShell": {
        "ConnectTypesSupported": [
            "SSH"
        ],
        "ServiceEnabled": true,
        "MaxConcurrentSessions": 2
    },
    "Oem": {
        "Lenovo": {
            "RecipientsSettings": {
                "RetryCount": 5,
                "RetryInterval": 0.5,
                "RntryRetryInterval": 0.5
            },
            "ServiceAdvisor": "/redfish/v1/Managers/1/Oem/Lenovo/ServiceAdvisor",
            "ServiceData": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/ServiceData"
            },
            "Security": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/Security"
            },
            "release_name": "egs_gp_23-5",
            "SystemGuard": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/SystemGuard"
            },
            "CaretakerPolicy": "Participator",
            "Configuration": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/Configuration"
            },
            "OPSettings": {
                "ClientID": null,
                "PubKey": null,
                "AuthorizationServerUri": null,
                "SSOState": false,
                "UserInfoUri": ""
            },
            "Recipients": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/Recipients"
            },
            "TrespassMessage": "",
            "KCSEnabled": "Enabled",
            "SMMlessDenseNodeId": 1,
            "Watchdogs": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/Watchdogs"
            },
            "RemoteMap": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/RemoteMap"
            },
            "SecureKeyLifecycleService": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/SecureKeyLifecycleService"
            },
            "AgentlessCapabilities": [
                "RaidLink",
                "OOB_PCIe",
                "RaidLinkConfig",
                "RaidLinkAlert",
                "OOB_PCIe_Config",
                "OOB_Option_Firmware_Update",
                "PreStandardPLDM",
                "StandardPLDM",
                "Storlib",
                "M2"
            ],
            "ServerProfile": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/ServerProfile"
            },
            "RemoteControl": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/RemoteControl"
            },
            "@odata.type": "#LenovoManager.v1_0_0.LenovoManagerProperties",
            "GroupService": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/GroupService"
            },
            "DateTimeService": {
                "@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/DateTimeService"
            },
            "MPFAHealthStatusEnabled": false
        }
    },
    "SerialConsole": {
        "ConnectTypesSupported": [
            "IPMI",
            "SSH"
        ],
        "ServiceEnabled": true,
        "MaxConcurrentSessions": 2
    },
    "GraphicalConsole": {
        "ConnectTypesSupported": [
            "KVMIP"
        ],
        "ServiceEnabled": true,
        "MaxConcurrentSessions": 6
    },
    "AutoDSTEnabled": false,
    "FirmwareVersion": "USX335B 1.10 2023-11-07",
    "PowerState": "On",
    "DedicatedNetworkPorts": {
        "@odata.id": "/redfish/v1/Managers/1/DedicatedNetworkPorts"
    },
    "UUID": "02618473-0919-4597-ABBC-E880880E9BB5",
    "EthernetInterfaces": {
        "@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces"
    },
    "@odata.context": "/redfish/v1/$metadata#Manager.Manager",
    "ServiceEntryPointUUID": "02618473-0919-4597-ABBC-E880880E9BB5",
    "Status": {
        "State": "Enabled"
    },
    "NetworkProtocol": {
        "@odata.id": "/redfish/v1/Managers/1/NetworkProtocol"
    },
    "Actions": {
        "#Manager.Reset": {
            "ResetType@Redfish.AllowableValues": [
                "GracefulRestart",
                "ForceRestart"
            ],
            "target": "/redfish/v1/Managers/1/Actions/Manager.Reset",
            "@Redfish.ActionInfo": "/redfish/v1/Managers/1/ResetActionInfo",
            "title": "Reset"
        },
        "#Manager.ResetToDefaults": {
            "ResetType@Redfish.AllowableValues": [
                "ResetAll",
                "PreserveNetworkAndUsers",
                "PreserveNetwork"
            ],
            "target": "/redfish/v1/Managers/1/Actions/Manager.ResetToDefaults",
            "@Redfish.ActionInfo": "/redfish/v1/Managers/1/ResetToDefaultsActionInfo",
            "title": "ResetToDefaults"
        }
    },
    "@odata.etag": "\"1c5b4bbeaf07834ab2e38b\"",
    "Description": "This resource is used to represent a management subsystem for a Redfish implementation.",
    "Name": "Manager",
    "DateTime": "2023-11-10T10:09:36+00:00",
    "ManagerType": "BMC",
    "DateTimeLocalOffset": "+00:00",
    "LogServices": {
        "@odata.id": "/redfish/v1/Systems/1/LogServices"
    },
    "Id": "1",
    "HostInterfaces": {
        "@odata.id": "/redfish/v1/Managers/1/HostInterfaces"
    },
    "@odata.type": "#Manager.v1_16_0.Manager",
    "@odata.id": "/redfish/v1/Managers/1",
    "ServiceIdentification": "",
    "Model": "Lenovo XClarity Controller 2"
}