GET/PATCH – 管理器属性
使用 GET/PATCH 方法检索 Redfish 服务的 Manager 资源中的属性。
请求 URL
https://<SMM_IPADDR>/redfish/v1/Managers/bmc
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
|---|---|---|---|---|---|
Actions | 对象 | 已展开 | |||
#Manager.Reset | 对象 | “Reset” | |||
@Redfish.ActionInfo | 链接 | "/redfish/v1/Managers/bmc/ResetActionInfo" | |||
target | 字符串 | 此操作的链接。 "/redfish/v1/Managers/bmc/Actions/Manager.Reset" | |||
ResetType | 字符串 | “ForceRestart” “GracefulRestart” | |||
#Manager.ResetToDefaults | 对象 | “ResetToDefaults” | |||
ResetType@Redfish.AllowableValues | 数组 | 项:字符串 项数: 1 | |||
ResetType @Redfish.AllowableValues[0] | 字符串 | “ResetAll” | |||
target | 字符串 | "/redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults" | |||
DateTime | 字符串 | “2023-09-11T00:00:00+08:00” | |||
DateTimeLocalOffset | 字符串 | “+08:00” | |||
Description | 字符串 | “基板管理控制器” | |||
EthernetInterfaces | 链接 | “/redfish/v1/Managers/bmc/EthernatInterfaces” | |||
FirmwareVersion | 字符串 | “1.0.00” | |||
Id | 字符串 | “bmc” | |||
LastResetTime | 字符串 | 上次重置或重新启动管理器的日期和时间。 | |||
Links | 对象 | 已展开 | |||
ActiveSoftwareImage | 链接 | “/redfish/v1/UpdateService/FirmwareInventory/runimage” | |||
ManagerForChassis | 链接 | “/redfish/v1/Chassis/{ChassisName}” | |||
ManagerForChassis@odata.count | 整数 | 1 | |||
ManagerForServers | 链接 | “/redfish/v1/Systems/system” | |||
ManagerForServer@odata.count | 整数 | 1 | |||
ManagerInChassis | 链接 | “/redfish/v1/Chassis/{ChassisName}” | |||
SoftwareImages | 链接 | “/redfish/v1/UpdateService/FirmwareInventory/runimage” | |||
SoftwareImages@odata.count | 整数 | 1 | |||
LogServices | 链接 | “/redfish/v1/Managers/bmc/LogServices” | |||
ManagerDiagnosticData | 链接 | “/redfish/v1/Managers/bmc/ManagerDiagnosticData” | |||
ManagerType | 字符串 | “BMC” | |||
Model | 字符串 | “OpenBmc” | |||
Name | 字符串 | “OpenBmc Manager” | |||
NetworkProtocol | 链接 | “/redfish/v1/Managers/bmc/NetworkProtocol” | |||
OEM | 对象 | “/redfish/v1/Managers/bmc#/Oem” | |||
Lenovo | 对象 | 已展开 | |||
ExtendedVersion | 字符串 | “Q4SM01A” | |||
OpenBMc | 链接 | “/redfish/v1/Managers/bmc/Oem/OpenBmc” | |||
Certificates | 链接 | “/redfish/v1/Managers/bmc/Truststore/Certificates” | |||
PowerState | 字符串 | “On” | |||
SerialConsole | 对象 | 已展开 | |||
ConnectTypesSupported | 字符串 | “IPMI” | |||
MaxConcurrentSessions | 整数 | 15 | |||
ServiceEnabled | 布尔 | true | |||
ServiceEntryPointUUID | 字符串 | 此管理器托管的 Redfish 服务的 UUID。 | |||
Status | 对象 | 资源及其从属或依赖资源的状态和运行状况。 | |||
Health | 字符串 | “OK” / “Warning” / “Critical” | |||
State | 字符串 | “Enabled” | |||
UUID | 字符串 | 此管理器的 UUID。 | |||
REST 操作 — PATCH
| 操作 | 属性 | 注释 |
| PATCH | DateTime |
状态代码
| HTTP 状态代码 | 错误消息 ID |
|---|---|
| 500 | InternalError |