hmc_system_summary
Get a complete HMC managed system summary in one call: state, firmware, free resources, LPAR and VIOS counts. Accepts system name or UUID.
Instructions
One-call managed system summary: state, MTMS, firmware, LPAR counts, free resources, VIOS count.
Composes data from three HMC endpoints in a single call:
GET /rest/api/uom/ManagedSystem/{uuid}— main system data (state, MTMS, firmware version, total memory/CPU).GET /rest/api/uom/ManagedSystem/{uuid}/LogicalPartition— LPAR list, counted by PartitionState.GET /rest/api/uom/ManagedSystem/{uuid}/VirtualIOServer— VIOS count.
Accepts either a SystemName (exact match) or a UUID.
Returns a flat summary dict with the most useful fields:
state— current system State (operating, standby, ...).mtms— machine type/model/serial (MachineTypeModelSerialNumber).firmware_version— system firmware version string.total_memory_mb/free_memory_mb— total assignable and free memory.total_proc_units/free_proc_units— total configurable and free CPU.lpar_count— total number of LPARs.lpar_states— dict mapping PartitionState → count.vios_count— number of Virtual I/O Servers.
Raises ValueError when the system cannot be found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||