Command 'subnets'

Summary

List subnets known to Juju.

Usage

juju subnets [options] [--space <name>] [--zone <name>] [--format yaml|json] [--output <path>]

Options

Flag Default Usage
--B, --no-browser-login false Do not use web browser for authentication
--format yaml Specify output format (json|yaml)
--m, --model Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>
--o, --output Specify an output file
--space Filter results by space name
--zone Filter results by zone name

Details

Displays a list of all subnets known to Juju. Results can be filtered using the optional --space and/or --zone arguments to only display subnets associated with a given network space and/or availability zone.

Like with other Juju commands, the output and its format can be changed using the --format and --output (or -o) optional arguments. Supported output formats include “yaml” (default) and “json”. To redirect the output to a file, use --output.


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