pub fn load_inventory<P: AsRef<Path>>(
path: P,
) -> Result<(Vec<CascadeNode>, NodeId, HashMap<NodeId, String>)>Expand description
Load a TOML inventory file. Returns (nodes, seed_id, addr_map):
nodes: the cascade’s node list, seed at NodeId(0), targets followingseed_id: alwaysNodeId(0), returned for clarity at call sitesaddr_map: NodeId → SSH address, ready to hand toNixCopyExecutor