GET – Server PCIe slots
Use the GET method to retrieve properties in PCIeSlots for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PCIeSlots
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | PCIeSlots | |||
Name | String | PCIe Slots | |||
Description | String | This resource shall be used to represent a set of PCIe slot information for a Redfish implementation. | |||
Slots | Object | An array of PCI Slot information. | |||
Links | Object | The links to other Resources that are related to Slots. | |||
PCIeDevice | Link | Link to related PCIeDevice. | |||
HotPluggable | Boolean | An indication of whether this PCIe slot supports hotplug. | |||
PCIeType | String | The version of the PCIe specification in use. | |||
SlotType | String | The PCIe slot type. | |||
Lanes | Integer | The number of PCIe lanes supported by this slot. | |||
Location | Object | The location of the PCIe slot. | |||
PartLocation | Object | The part location within the placement. | |||
ServiceLabel | String | The label of the part location, such as PCIe X (X is the slot number). | |||
LocationType | String | The type of location of the part, such as slot. | |||
LocationOrdinalValue | String | The number that represents the location of the part. If LocationType is `slot` and this unit is in slot 2, the LocationOrdinalValue is 2. | |||
Status | Object | The status and health of PCIeSlots. | |||
State | String | The known state of PCIeSlots, such as, enabled, disabled. | |||
Health | String | This represents the health state of this resource. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#PCIeSlots.PCIeSlots",
"@odata.etag": "\"97E1A3F7\"",
"@odata.id": "/redfish/v1/Chassis/1/PCIeSlots",
"@odata.type": "#PCIeSlots.v1_5_0.PCIeSlots",
"Description": "This resource shall be used to represent an set of PCIe slot information for a Redfish implementation.",
"Id": "PCIeSlots",
"Name": "PCIe Slots",
"Slots": [
{
"HotPluggable": false,
"Lanes": 8,
"Links": {
"PCIeDevice": [
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot14_0xb40000"
}
]
},
"Location": {
"PartLocation": {
"LocationOrdinalValue": 14,
"LocationType": "Slot",
"ServiceLabel": "PCIe 14"
}
},
"PCIeType": "Gen5",
"SlotType": "OCP3Small",
"Status": {
"Health": "OK",
"State": "Enabled"
}
},
{
"HotPluggable": false,
"Lanes": 8,
"Links": {
"PCIeDevice": []
},
"Location": {
"PartLocation": {
"LocationOrdinalValue": 13,
"LocationType": "Slot",
"ServiceLabel": "PCIe 13"
}
},
"PCIeType": "Gen5",
"SlotType": "OCP3Small",
"Status": {
"Health": "OK",
"State": "Enabled"
}
},
]
}