GET – 机柜属性
使用 GET 方法检索服务器的机柜资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/Enclosure
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
SerialNumber | 字符串 | 此机箱的序列号。 | |||
ChassisType | 字符串 | 此属性指示此资源的物理外形规格类型。 | |||
Description | 字符串 | 提供此机箱资源的描述。 | |||
Links | 对象 | 已展开。 | |||
Contains | 数组 | 此机箱中包含的机箱的引用数组。 | |||
Contains [N] | 链接 | 此属性的值是对机箱资源的 URI 引用。 | |||
ComputerSystems | 数组 | 项:计算机系统元素的引用链接。 | |||
ManagedBy | 数组 | 项:负责管理此机箱的管理器的引用链接。 | |||
Model | 字符串 | 机箱的型号。 | |||
Id | 字符串 | 唯一标识机箱集合中的资源。始终设置为“2”。 | |||
Status | 对象 | 已展开。 | |||
State | 字符串 | Enabled | |||
Health | 字符串 | OK | |||
Name | 字符串 | Chassis 资源的名称。始终设置为 Chassis Enclosure。 | |||
Power | 链接 | 此机箱中包含的电源资源的引用链接。 | |||
PowerSubsystem | 链接 | 此机箱中包含的电源子系统资源的引用链接。 | |||
PowerState | 字符串 | On | |||
Manufacturer | 字符串 | 此机箱的制造商。始终设置为 Lenovo。 | |||
Location | 对象 | 机箱的位置。 | |||
PartLocation | 对象 | 部件位置。 | |||
LocationOrdinalValue | 整数 | 表示部件位置的数字。如果 LocationType 为“slot”,而此单元位于插槽 2 中,则 LocationOrdinalValue 为 2。 | |||
LocationType | 字符串 | 部件位置类型,如 slot、bay 和 socket。 | |||
Placement | 对象 | 寻址位置中的点位。 | |||
UUID | 字符串 | Chassis UUID | |||
Actions | 对象 | 已展开,仅适用于没有 SMM 的平台。 | |||
#LenovoChassis.NodeVirtualReset | 对象 | Expanded. | |||
title | 字符串 | NodeVirtualReset | |||
target | 字符串 | /redfish/v1/Chassis/Enclosure/Actions/Oem/LenovoChassis.NodeVirtualReset | |||
NodeId | 数字 | 机箱中的节点 ID | |||
ResetType | 字符串 | “ACPowerCycle”或“XCCReboot” | |||
#LenovoChassis.SetMidplaneVpd | 对象 | Expanded. | |||
title | 字符串 | SetMidplaneVpd | |||
target | 字符串 | /redfish/v1/Chassis/Enclosure/Actions/Oem/LenovoChassis.SetMidplaneVpd | |||
Model | 字符串 | 看守节点的机器类型。 | |||
SerialNumber | 字符串 | 看守节点的序列号。 | |||
UUID | 字符串 | 看守节点的 UUID。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |