hmc_list_virtual_switches
List virtual switches on an IBM Power managed system to get names, SwitchIDs, and mode. Use the SwitchID to create virtual networks and add network adapters.
Instructions
List VirtualSwitches on a managed system (names, SwitchIDs, mode).
system_name_or_uuid: accepts either a SystemName or a UUID (find it with hmc_systems). The SwitchID is what hmc_create_virtual_network and hmc_add_network_adapter reference.
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>"
},
"name": "hmc_list_virtual_switches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |