Skip to main content
This page describes the file format used by 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 number 1002331:

Next step

After importing, configure your Device credentials. For the full listing of snctl subcommands and flags, see the Command reference.