Expand description
Hardware inventory queries for individual nodes and clusters.
Both query shapes (cluster-by-group, nodes-by-expression) fan out
one per-xname get_inventory_hardware_query call concurrently,
rate-limited by a Tokio semaphore at the
HW_INVENTORY_CONCURRENCY_LIMIT constant defined below. Failed
per-node fetches are logged and replaced by an empty [NodeSummary]
so the response vector lines up with the input xname list.
The internal aggregation helper
calculate_group_hw_component_summary lives in
manta_shared::types::cluster_status; it’s only re-imported here
to back the test module.
Structs§
- GetHardware
Cluster Params - Typed parameters for fetching cluster hardware inventory.
- GetHardware
Nodes List Params - Typed parameters for fetching hardware inventory for a list of nodes.
- Hardware
Cluster Result - Result of a hardware cluster query.
- Hardware
Nodes List Result - Result of a hardware nodes-list query.
Functions§
- get_
hardware_ cluster - Fetch hardware inventory for every member of an HSM group.
- get_
hardware_ nodes_ list - Fetch hardware inventory for the nodes named by
params.host_expression.