default_nodename
Return the default nodename for this process.
def default_nodename(
hostname: string
) - > string
Return the default nodename for this process.
Parameters
| Name | Type | Description |
|---|---|---|
| hostname | string | The raw hostname string to be parsed into name and host components; if empty, system defaults are used. |
Returns
| Type | Description |
|---|---|
string | The resolved nodename consisting of a name component and a host component, falling back to system defaults if inputs are empty. |