hmc_assign_profile_io_slot
Adds a physical I/O slot to an LPAR profile using the DRC index, enabling the logical partition to use the specified I/O hardware.
Instructions
Add a physical I/O slot DRC index to an LPAR's profile.
Runs chsyscfg -r prof -m <system_name> -i "name=<profile_name>,io_slots+=<drc_index>//0,lpar_name=<lpar_name>" --force
on the HMC via SSH and returns the raw command output.
This operation appends the specified physical I/O slot to the profile's I/O slot list. Use --force to override any conflicts.
The system and partition may be given by CLI name or by UUID; UUIDs are resolved to their CLI names via REST (falling back to an lssyscfg lookup over SSH when the REST API is unreachable) before the command runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drc_index | Yes | The DRC (Dynamic Reconfiguration Connector) index of the physical I/O slot. | |
| profile_name | Yes | The name of the profile to modify. | |
| lpar_name_or_uuid | Yes | The name or UUID of the logical partition to assign the slot to. | |
| system_name_or_uuid | Yes | The name or UUID of the managed system (Power server). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |