hmc_list_io_slots
List physical I/O slots on a managed system via HMC CLI, returning slot details such as DR name, PCI class, and assigned LPAR. Optionally filter by PCI class for Ethernet, SAS, SAN, or NVMe adapters.
Instructions
List physical I/O slots on a managed system via the HMC CLI.
Runs lshwres -r io --rsubtype slot -m <system_name> on the HMC via
SSH and returns one dict per slot. Each dict includes fields such as
drc_name, pci_class, feature_codes, and lpar_name
(empty string when the slot is unassigned).
The system may be given by CLI name or by UUID; a UUID is resolved to its CLI name via REST (falling back to an lssyscfg lookup over SSH when the REST API is unreachable) before the command runs.
pci_class filters by PCI class:
"all"— return every slot (default)"eth"— Ethernet adapters (PCI class 0200)"sas"— SAS/SCSI adapters (PCI class 0104)"san"— Fibre Channel / SAN adapters (PCI class 0C04)"nvme"— NVMe adapters (PCI class 0108)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pci_class | No | all | |
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |