get_hardware_nodes_list

Function get_hardware_nodes_list 

Source
pub async fn get_hardware_nodes_list(
    infra: &InfraContext<'_>,
    token: &str,
    params: &GetHardwareNodesListParams,
) -> Result<HardwareNodesListResult, Error>
Expand description

Fetch hardware inventory for an explicit node expression.

The expression is resolved via resolve_hosts_expression, which expands hostlist notation, translates NIDs to xnames, and validates that every resolved node actually exists. Authorization is then checked with validate_target_hsm_members.