hmc_add_vfc_adapter
Add a Virtual Fibre Channel (NPIV) client adapter to an LPAR for SAN storage. Specify the LPAR, VIOS partition ID, and slot number; the HMC generates the WWPNs automatically.
Instructions
Add a Virtual Fibre Channel (NPIV) client adapter to an LPAR.
lpar_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_lpars). vios_partition_id is the integer PartitionID of the serving VIOS and vios_slot is its server-side virtual FC slot number. The HMC generates the WWPNs. Use this for SAN storage via NPIV instead of vSCSI.
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": {
"lpar_name_or_uuid": "<lpar_name_or_uuid>",
"vios_partition_id": "<vios_partition_id>",
"vios_slot": "<vios_slot>"
},
"name": "hmc_add_vfc_adapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vios_slot | Yes | ||
| slot_number | No | ||
| lpar_name_or_uuid | Yes | ||
| vios_partition_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |