
This patch only provide network name and subnet setting for "network create" command. The other options, such as --project which depends on identity v2 or v3, will make the unit tests too complicated. So I prefer to implement them in other patches. Change-Id: I9ec93f0af813c8fae4170c36e16bbe8f0f53cbb6 Partial-Bug: 1543672
2.5 KiB
network
Compute v2, Network v2
network create
Create new network
network create
os network create
[--project <project> [--project-domain <project-domain>]]
[--enable | --disable]
[--share | --no-share]
[--availability-zone-hint <availability-zone>]
<name>
--project <project>
Owner's project (name or ID) (Network v2 only)
--project-domain <project-domain>
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. (Network v2 only)
--enable
Enable network (default) (Network v2 only)
--disable
Disable network (Network v2 only)
--share
Share the network between projects
--no-share
Do not share the network between projects
--availability-zone-hint <availability-zone>
Availability Zone in which to create this network (requires the Network Availability Zone extension, this option can be repeated). (Network v2 only)
--subnet <subnet>
IPv4 subnet for fixed IPs (in CIDR notation) (Compute v2 network only)
New network name
network delete
Delete network(s)
network delete
os network delete
<network> [<network> ...]
Network(s) to delete (name or ID)
network list
List networks
network list
os network list
[--external]
[--long]
--external
List external networks
--long
List additional fields in output
network set
Set network properties
network set
os network set
[--name <name>]
[--enable | --disable]
[--share | --no-share]
<network>
--name <name>
Set network name
--enable
Enable network
--disable
Disable network
--share
Share the network between projects
--no-share
Do not share the network between projects
Network to modify (name or ID)
network show
Display network details
network show
os network show
<network>
Network to display (name or ID)