Expand description
Node migration between HSM groups.
backup and restore are thin service wrappers so handlers can
comply with the CLAUDE.md boundary rule (handlers → service →
backend, never handlers → backend directly). Only migrate_nodes
carries real orchestration (hosts-expression resolution,
HSM-group curation, per-pair member migration).
Migration is a (target × parent) fan-out: for every requested
target group, every parent group the resolved xnames actually
belong to is paired with it and the backend
migrate_group_members call is issued. Nodes that don’t live in
one of the named parents are silently skipped, which keeps the
call idempotent when a hosts expression is re-run.
Structs§
- Node
Migration Result - Result of migrating nodes for a single parent→target pair.
Functions§
- backup
- Export BOS session templates (and related artifacts) to backup files.
- migrate_
nodes - Move the nodes resolved from
hosts_expressionout of any group inparent_name_vecand into every group intarget_group_name_vec. - restore
- Restore BOS session templates and related artifacts from backup files.