hmc_list_sea_adapters
List Shared Ethernet Adapter (SEA) virtual Ethernet ports on IBM Power systems via HMC. Fetches adapter details by system and optional LPAR, resolving UUIDs automatically.
Instructions
List Shared Ethernet Adapter (SEA) virtual Ethernet ports via the HMC CLI.
Runs lshwres -r virtualio --rsubtype eth --level lpar -m <system_name> -F lpar_name,port_vlan_id,vswitch,state,trunk_priority on the HMC via
SSH and returns parsed dicts with those five fields.
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. Pass lpar_name_or_uuid to restrict results to a single partition. Either a CLI name or UUID works; use hmc_systems to find a system UUID and hmc_lpars to find an LPAR UUID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lpar_name_or_uuid | No | ||
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |