Expand description
Node-expression resolution: parsing hostlist strings, NID-to-xname translation, HSM-group expansion, and the authorization helpers that validate the caller can act on the resolved set.
Functions§
- from_
hosts_ expression_ to_ xname_ vec - Translates a ‘host expression’ into a list of xnames.
- from_
user_ hosts_ expression_ to_ xname_ vec - Convenience wrapper that fetches node metadata from the backend and resolves a hosts expression to a sorted, deduplicated list of xnames.
- get_
curated_ group_ from_ xname_ hostlist - Group the supplied xnames by their parent HSM group.
- get_
xname_ from_ nid_ hostlist - Resolve a NID hostlist expression to xnames by cross-referencing available node metadata.
- get_
xname_ from_ xname_ hostlist - Filter available node metadata to only those xnames
present in
node_vec. - resolve_
target_ nodes - Resolve target nodes from either a hosts expression, an explicit HSM group name, or the settings-level HSM group.