Skip to main content
This page covers the rdt config subcommands. See Configuration Overview for the JSON schema these commands read and write.

Create a config

You must choose either --from or --nodes (not both) to decide the module layout:
  • --from small / --from xsmall: use one of the packaged templates (see Configuration Overview).
  • --nodes <N>: generate an N-node config yourself, following the same layout as the small template: node 1 gets all module types (SM, SNA, Sequencer, GDD, DCM, RDB), and every other node gets only SNA and RDB.

Assigning node IPs

If you provide --ip-file or --ip-list, those addresses are assigned to the generated nodes in order. If you provide neither, nodes default to 127.0.0.<node-id>, fine for local testing, but you’ll need to edit the config afterward with real addresses. --ip-file scans the file for anything that looks like an IPv4 address, so one per line, comma-separated, or a mix of both all work:
--ip-list is a simple comma-separated list and additionally accepts IPv6 addresses:

Examples

Prints the config as JSON. --validate (on by default) also prints a warning if the config fails schema validation.

Edit a config

Opens the config in your $EDITOR. On save, it’s re-validated; if it’s invalid, you’re prompted to save anyway or discard the changes.

List configs and templates

Lists both the packaged templates and your saved configs (~/.rdt/configs/).

Load a config from a file

Imports an existing JSON file into ~/.rdt/configs/. If --name is omitted, the config is named after the file (its filename without the .json extension).

Delete a config

Deletes a saved config. Prompts for confirmation unless --force is given.

Next steps

Once you have a config, continue to System Setup Overview to deploy RegattaDB from it.