Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

An error occurred while submitting your form. Please try again or file a bug report. Close

iprange

Enter keyword arguments in the form key=value.

Delete an IP range

maas $PROFILE iprange delete [--help] [-d] [-k] id [data ...] 

Positional arguments

  • id

Delete an IP range with the given id.

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 an IP range

maas $PROFILE iprange read [--help] [-d] [-k] id [data ...] 

Positional arguments

  • id

Read an IP range with the given id.

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 an IP range

maas $PROFILE iprange update [--help] [-d] [-k] id [data ...] 

Positional arguments

  • id

Update an IP range with the given id.

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)

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

Create an IP range

maas $PROFILE ipranges create [--help] [-d] [-k] [data ...] 

Create a new IP range.

Keyword “type”

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

Keyword “start_ip”

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

Keyword “end_ip”

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

Keyword “subnet”

Required Int. Subnet associated with this range.

Keyword “comment”

Optional String. A description of this range.

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 all IP ranges

maas $PROFILE ipranges read [--help] [-d] [-k] [data ...] 

List all available IP ranges.

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

Last updated 3 months ago. Help improve this document in the forum.