iprange

delete

Delete an IP range with the given id.

maas$PROFILEiprangedelete[--help][-d][-k]id

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

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 an IP range with the given id.

maas$PROFILEiprangeread[--help][-d][-k]id

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

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

Update an IP range with the given id.

maas$PROFILEiprangeupdate[--help][-d][-k]id[data...]

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

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 "start_ip"

Optional String. Start IP address of this range (inclusive).

Keyword "end_ip"

Optional String. End IP address of this range (inclusive).

Keyword "comment"

Optional String. A description of this range. (optional)

Note: This command accepts JSON.

ipranges create

Create a new IP range.

maas$PROFILEiprangescreate[--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 "type"

Optional String. Type of this range. (dynamic or reserved)

Keyword "start_ip"

Optional String. Start IP address of this range (inclusive).

Keyword "end_ip"

Optional String. End IP address of this range (inclusive).

Keyword "subnet"

Optional Int. Subnet associated with this range.

Keyword "comment"

Optional String. A description of this range.

Note: This command accepts JSON.

ipranges read

List all available IP ranges.

maas$PROFILEiprangesread[--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.