iprange

delete

Delete an IP range with the given id.

maas $PROFILE iprange delete [--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 $PROFILE iprange read [--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 $PROFILE iprange update [--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 $PROFILE ipranges create [--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 $PROFILE ipranges read [--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.