pub async fn get_nodes(
infra: &InfraContext<'_>,
token: &str,
params: &GetNodesParams,
) -> Result<Vec<NodeDetails>, Error>Expand description
Fetch HSM node details for the targets named by
params.host_expression.
The expression is parsed by
crate::service::node_ops::from_user_hosts_expression_to_xname_vec;
when params.include_siblings is set, the resulting xnames are
expanded to cover every node on the same BMC. Access to the
resolved set is validated before the (relatively slow) per-node
detail fetch. The optional status_filter matches case-insensitively
against either the power or configuration status. Results are
sorted by xname for stable output.