network¶
connect-macs¶
This endpoint is no longer available. Use the ‘subnet’ endpoint instead.
maas $PROFILE network connect-macs [--help] [-d] [-k] name
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name 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. |
delete¶
This endpoint is no longer available. Use the ‘subnet’ endpoint instead. This operation has been deprecated in favour of ‘Subnet delete’.
maas $PROFILE network delete [--help] [-d] [-k] name
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name 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. |
disconnect-macs¶
This endpoint is no longer available. Use the ‘subnet’ endpoint instead.
maas $PROFILE network disconnect-macs [--help] [-d] [-k] name
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name 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. |
list-connected-macs¶
Only MAC addresses for nodes visible to the requesting user are returned.
maas $PROFILE network list-connected-macs [--help] [-d] [-k] name
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name 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¶
Read network definition. This operation has been deprecated in favour of ‘Subnet read’.
maas $PROFILE network read [--help] [-d] [-k] name
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name 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¶
This endpoint is no longer available. Use the ‘subnet’ endpoint instead.
maas $PROFILE network update [--help] [-d] [-k] name [data ...]
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name 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 “name”¶
Optional. A simple name for the network, to make it easier to refer to. Must consist only of letters, digits, dashes, and underscores.
Keyword “ip”¶
Optional. Base IP address for the network, e.g. 10.1.0.0. The host bits will be zeroed.
Keyword “netmask”¶
Optional. Subnet mask to indicate which parts of an IP address are part of the network address. For example, 255.255.255.0.
Keyword “vlan_tag”¶
Optional. VLAN tag: a number between 1 and 0xffe (4094) inclusive, or zero for an untagged network.
Keyword “description”¶
Optional. Detailed description of the network for the benefit of users and administrators. This operation has been deprecated in favour of ‘Subnet update’.
Note: This command accepts JSON.
networks create¶
This endpoint is no longer available. Use the ‘subnets’ endpoint instead. This operation has been deprecated in favour of ‘Subnets create’.
maas $PROFILE networks create [--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. |
networks read¶
List networks.
maas $PROFILE networks read [--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 “node”¶
Optional. Optionally, nodes which must be attached to any returned networks. If more than one node is given, the result will be restricted to networks that these nodes have in common. This operation has been deprecated in favour of ‘Subnets read’.
Note: This command accepts JSON.