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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |