reserved-ip

delete

Delete a reserved IP given its ID.

maas $PROFILE reserved-ip 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 a reserved IP given its ID.

maas $PROFILE reserved-ip 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 a reserved IP given its ID.

maas $PROFILE reserved-ip 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 “comment”

Optional String. A description of this reserved IP.

Note: This command accepts JSON.

reserved-ips create

Create a new Reserved IP.

maas $PROFILE reserved-ips 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 “ip”

Optional String. The IP to be reserved.

Keyword “subnet”

Optional Int. ID of the subnet associated with the IP to be reserved.

Keyword “mac_address”

Optional String. The MAC address that should be linked to the reserved IP.

Keyword “comment”

Optional String. A description of this reserved IP.

Note: This command accepts JSON.

reserved-ips read

List all IPs that have been reserved in MAAS.

maas $PROFILE reserved-ips 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.