GET – Chassis properties
Use the GET method to retrieve properties in Chassis resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/{1..N}
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | Uniquely identifies the resource within the collection of Chassis. For the Chassis resource for the server, the Id is “1”. On High-Density system or the Flex System blades system, in Chassis resource the Id is “2”. For Chassis resource for storage backplanes equipped in server, the Id is “3” ~ “N”. | |||
Description | String | Provides a description of this chassis resource. | |||
LogServices | Link | A reference link to the log services resource contained in this chassis. | |||
Memory | Link | A reference link to the memory resources located in this chassis. | |||
PCIeDevices | Link | A reference link to the PCIe devices located in this chassis. | |||
Power | Link | A reference link to the power resource contained in this chassis. | |||
AssetTag | String | The user assigned asset tag for this chassis. | |||
ChassisType | String | This property indicates the type of physical form factor of this resource. Valid values include:
| |||
EnvironmentalClass | String | The ASHRAE Environmental Class for this chassis. | |||
HeightMn | Number | The height of the chassis. | |||
IndicatorLED | String | The state of the indicator LED, used to identify the chassis. Valid values include:
| |||
Links | Object | Expanded. | |||
ComputerSystems | Array | An array of references to the computer systems contained in this chassis. | |||
ComputerSystems[1] | Link | A reference link to a resource of computer system. | |||
ContainedBy | Link | The value of this property is a URI reference to a chassis resource of the Flex System Enterprise Chassis or Lenovo D2 Enclosure. | |||
CooledBy | Array | An array of IDs of resources that cool this chassis. | |||
CooledBy[N] | Link | A reference link to a resource of cooling device. | |||
Drives | Array | An array of resources to disk drives of in this chassis. | |||
Drives[N] | Link | A reference link to a resource of disk drive. | |||
ManagedBy | Array | An array of references to the managers responsible for managing this chassis. | |||
ManagedBy[0] | Link | A reference link to a resource of manager responsible for managing this chassis. | |||
ManagersInChassis | Array | An array of references to the managers contained in this chassis. | |||
ManagerInChassis[0] | Link | A reference link to a resource of manager. | |||
PCIeDevices | Array | An array of references to the PCIe devices located in this chassis. | |||
PCIeDevices[N] | LInk | A reference link to a resource of PCIe device located in this chassis. | |||
PoweredBy | Array | An array of IDs of resources that power this chassis. | |||
PoweredBy[N] | Link | A reference link to a resource of power device. | |||
Processors | Array | An array of references to the processors located in this chassis. | |||
Processors[N] | Link | A reference link to a resource of processors located in this chassis. | |||
Storage | Array | An array of references to the storage subsystems connected to or inside this chassis. | |||
Storage[N] | Link | A reference link to a resource of storage device inside this chassis. | |||
MaxPowerWatts | Number | The upper bound of the total power consumed by the chassis. | |||
MinPowerWatts | Number | The lower bound of the total power consumed by the chassis. | |||
Manufacturer | String | The manufacturer of this chassis. Always set to “Lenovo” or “LNVO”. | |||
Model | String | The model number for the chassis. | |||
Name | String | The name of the Chassis resource. Always set to “Chassis”. | |||
NetworkAdapters | Link | A reference link to a collection of network adapter resources contained in this chassis. | |||
PartNumber | String | The part number of this chassis. | |||
Power | Link | A reference link to a resource of power device contained in this chassis. | |||
PowerState | String | The current power state of this chassis. Valid values include:
| |||
SKU | String | The SKU for this chassis. | |||
Sensors | Link | A reference link to the sensor resource contained in this chassis. | |||
SerialNumber | String | The serial number of this chassis. | |||
Thermal | Link | A reference link to the thermal resource contained in this chassis. | |||
Status | Object | Contains the following elements. | |||
Health | String | The current health of this chassis as indicated by the entries in the event log. Valid values include:
| |||
State | String | “Enabled”. | |||
UUID | String | The UUID for this chassis. | |||
Location | Object | The location of chassis. | |||
Contacts | Array | An array of contact information. | |||
Contacts[0] | Object | Expanded | |||
ContactName | String | Name of this contact. | |||
PartLocation | Object | The part location within the placement. | |||
LocationOrdinalValue | Integer | The number that represents the location of the part. If LocationType is `slot` and this unit is in slot 2, the LocationOrdinalValue is 2. | |||
LocationType | String | The type of location of the part, such as slot, bay and socket | |||
ServiceLabel | String | The label of the part location, such as a silk-screened name or a printed label. | |||
Placement | Object | A place within the addressed location. | |||
Rack | String | The name of a rack location within a row. | |||
RackOffset | Integer | The vertical location of the item, in terms of RackOffsetUnits. | |||
RackOffsetUnits | String | The type of rack units in use. | |||
PostalAddress | Object | The postal address of the addressed Resource. | |||
Building | String | The name of the building. | |||
Location | String | The room designation or other additional information. | |||
Name | String | The name. | |||
Room | String | The name or number of the room. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"SerialNumber": "NARVIR073",
"@odata.id": "/redfish/v1/Chassis/1",
"IndicatorLED": "Lit",
"PowerState": "On",
"NetworkAdapters": {
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters"
},
"EnvironmentalClass": "A4",
"Oem": {
…
},
"ChassisType": "RackMount",
"Location": {
"PostalAddress": {
"Location": "",
"Room": "10F",
"Building": "ZJ",
"Name": "Narvi-SR860V2-1"
},
"Placement": {
"RackOffset": 48,
"Rack": "15C",
"RackOffsetUnits": "EIA_310"
},
"PartLocation": {},
"Contacts": [
{
"ContactName": ""
}
]
},
"Model": "7Z59CTO1WW",
"PCIeSlots": {
"@odata.id": "/redfish/v1/Chassis/1/PCIeSlots"
},
"Description": "This resource is used to represent a chassis or other physical enclosure for a Redfish implementation.",
"Thermal": {
"@odata.id": "/redfish/v1/Chassis/1/Thermal"
},
"Links": {
"Drives": [],
"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"
}
],
"ComputerSystems": [
{
"@odata.id": "/redfish/v1/Systems/1"
}
],
"PCIeDevices": [
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices"
}
],
"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"
}
],
"Storage": [],
"ManagersInChassis": [
{
"@odata.id": "/redfish/v1/Managers/1"
}
],
"Processors": [
{
"@odata.id": "/redfish/v1/Systems/1/Processors/1"
},
{
"@odata.id": "/redfish/v1/Systems/1/Processors/2"
}
],
"ManagedBy": [
{
"@odata.id": "/redfish/v1/Managers/1"
}
]
},
"AssetTag": "asset tag",
"MaxPowerWatts": 1800,
"MinPowerWatts": 0,
"PCIeDevices": {
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices"
},
"Status": {
"State": "Enabled",
"Health": "Critical"
},
"Id": "1",
"Name": "Chassis",
"HeightMm": 177.8,
"Power": {
"@odata.id": "/redfish/v1/Chassis/1/Power"
},
"SKU": "7Z59CTO1WW",
"@odata.type": "#Chassis.v1_12_0.Chassis",
"PartNumber": "SB27A22721",
"Manufacturer": "Lenovo",
"@odata.etag": "\"f72f9435541d30ea47472\"",
"LogServices": {
"@odata.id": "/redfish/v1/Systems/1/LogServices"
},
"UUID": "55833BF4-5BBB-11E7-997F-0A94EF402C57"
}