Skip to main content

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

FieldTypeDescription

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.

 

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.

  

InfoFormat

String

The format of the Info property. Always set to “Slot X”.

  

Info

String

The location of the Resource: Slot X (X is the slot number)

  

Info@Redfish.Deprecated

String

The property is deprecated. Please use PartLocation instead.

  

InfoFormat@Redfish.Deprecated

String

The property is deprecated. Please use PartLocation instead.

 

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 CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"Name": "PCIe Slots",
"@odata.type": "#PCIeSlots.v1_1_1.PCIeSlots",
"@odata.id": "/redfish/v1/Chassis/1/PCIeSlots",
"Id": "PCIeSlots",
"@odata.etag": "\"cc0d36eadd67a45054edfaaadfbe2893\"",
"Slots": [
{
"Location": {
"PartLocation": {
"LocationType": "Slot",
"ServiceLabel": "PCIe 4",
"LocationOrdinalValue": 4
},
"InfoFormat": "Slot X",
"Info": "Slot 4",
"Info@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead.",
"InfoFormat@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead."
},
"HotPluggable": false
"Links": {
"PCIeDevice": [
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_4"
}
]
},
"Status": {
"State": "Enabled",
"Health": "OK"
}
}
],
"Description": "This resource shall be used to represent an set of PCIe slot information for a Redfish implementation."
}