tartan site
For tartan 0.9.36
tartannetworks.com/docs/cli/site.mdtartan site add
add a site
tartan site add --org <string> --name <string>
Role: admin · Writes: yes · Steps up: some · Dry run: --dry-run · Batch: may share one passkey prompt
Step-up exempt: a new site with only a name changes no reachability
Person acts: passkey prompt for most requests (step_up_exempt names the ones without): the person approves the exact write with their passkey; it can share one passkey prompt with other writes (tartan batch run)
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--name |
string | yes | the site's name |
--lan_cidrs |
list | no | every LAN CIDR |
--nat_slice |
string | no | the site's own IPv4 prefix for its IPv4 1:1 NAT resources (needs the org's IPv4 range; clear of the org's ranges) |
--lan_iface |
string | no | the LAN NIC its gateways masquerade out of (e.g. eth0) |
tartan site list
the org's sites
tartan site list --org <string>
Role: viewer · Writes: no · Steps up: never
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
tartan site set
change a site's LAN NIC, LAN ranges or IPv4 NAT range (its IPv6 NAT /96 never changes)
tartan site set --org <string> --site <string>
Role: admin · Writes: yes · Steps up: always · Dry run: --dry-run · Batch: may share one passkey prompt
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--site |
string | yes | the site's id or name |
--lan_iface |
string | no | the LAN NIC its gateways masquerade out of |
--lan_cidrs |
list | no | every LAN CIDR (replaces the list) |
--nat_slice |
string | no | the IPv4 prefix kept for the site's IPv4 1:1 NAT resources (needs the org's IPv4 range); '' removes it; changed or removed only while no IPv4 1:1 resource uses it |
--nat64_prefix |
string | no | refused: a site's /96 never changes |