hmc_get_lpar_description
Get an LPAR's description from IBM HMC using lssyscfg CLI, returning the partition description shown in the HMC GUI Partitions tab.
Instructions
Get the description field of an LPAR via the HMC CLI.
Runs lssyscfg -r lpar -m <system_name> --filter lpar_names=<lpar_name> -F description on the HMC via SSH and returns the raw output (the
description string, or an empty line if none is set).
This field is not available via the HMC REST API; it is the same description visible in the HMC GUI Partitions tab.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lpar_name_or_uuid | Yes | ||
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |