Command 'move-to-space'

See also: add-space, spaces, reload-spaces, rename-space, show-space, remove-space

Summary

Update a network space’s CIDR.

Usage

juju move-to-space [options] [--format yaml|json] <name> <CIDR1> [ <CIDR2> ...]

Options

Flag Default Usage
--force false Allow to force a move of subnets to a space even if they are in use on another machine.
--format human Specify output format (human|json|tabular|yaml)
--m, --model Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>
--o, --output Specify an output file

Examples

Move a list of CIDRs from their space to a new space:

juju move-to-space db-space 172.31.1.0/28 172.31.16.0/20

Details

Replaces the list of associated subnets of the space. Since subnets can only be part of a single space, all specified subnets (using their CIDRs) “leave” their current space and “enter” the one we’re updating.


Last updated 1 year, 8 days ago. Help improve this document in the forum.