static-route¶
delete¶
Deletes the static route with the given ID.
maas$PROFILEstatic-routedelete[--help][-d][-k]id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID of the resource (e.g., |
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
read¶
Gets a static route with the given ID.
maas$PROFILEstatic-routeread[--help][-d][-k]id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID of the resource (e.g., |
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
update¶
Updates a static route with the given ID.
maas$PROFILEstatic-routeupdate[--help][-d][-k]id[data...]
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID of the resource (e.g., |
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
Keywords¶
Keyword "source"¶
Optional String. Source subnet name for the route.
Keyword "destination"¶
Optional String. Destination subnet name for the route.
Keyword "gateway_ip"¶
Optional String. IP address of the gateway on the source subnet.
Keyword "metric"¶
Optional Int. Weight of the route on a deployed machine.
Note: This command accepts JSON.
static-routes create¶
Creates a static route.
maas$PROFILEstatic-routescreate[--help][-d][-k][data...]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
Keywords¶
Keyword "source"¶
Optional String. Source subnet name for the route.
Keyword "destination"¶
Optional String. Destination subnet name for the route.
Keyword "gateway_ip"¶
Optional String. IP address of the gateway on the source subnet.
Keyword "metric"¶
Optional Int. Weight of the route on a deployed machine.
Note: This command accepts JSON.
static-routes read¶
Lists all static routes.
maas$PROFILEstatic-routesread[--help][-d][-k]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |