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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"system_name_or_uuid": "<system_name_or_uuid>",
"lpar_name_or_uuid": "<lpar_name_or_uuid>",
"profile_name": "<profile_name>",
"drc_index": "<drc_index>"
},
"name": "hmc_assign_profile_io_slot"
}
}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 |