Skip to main content

manta_shared/shared/params/
node.rs

1//! Parameters for `GET /nodes`.
2
3/// Typed parameters for fetching node details.
4pub struct GetNodesParams {
5  /// Comma-separated xnames, NIDs, or hostlist expression
6  /// (e.g. `x3000c0s1b0n[0-3]`).
7  pub xname: String,
8  /// When true, also return nodes sharing a power supply with any
9  /// requested node.
10  pub include_siblings: bool,
11  /// Optional power-status filter (e.g. `ON`, `OFF`, `READY`).
12  pub status_filter: Option<String>,
13}