snctl rack import and written by snctl rack export. JSON and YAML are both accepted.
See Rack administration for the import workflow itself.
Top-level keys
Rack
SambaRack Manager expands the rack to its full device layout and applies the file’s entries on top, so list every device in that layout.
Node
Device
Any real password in the source file – that is, one that is not already a
${<TYPE>_SECRET} placeholder – is imported into the encrypted credential store. The inventory itself only ever stores the placeholder.Group
Example
A complete rack with part number1002331:
Next step
After importing, configure your Device credentials. For the full listing ofsnctl subcommands and flags, see the Command reference.
