network¶
Compute v2, Network v2
network create¶
Create new network
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 the network between projects
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)
-
<name> New network name
network delete¶
Delete network(s)
os network delete
<network> [<network> ...]
-
<network> Network(s) to delete (name or ID)
network list¶
List networks
os network list
[--external]
[--long]
-
--external¶ List external networks
-
--long¶ List additional fields in output
network set¶
Set network properties
os network set
[--name <name>]
[--enable | --disable]
[--share | --no-share]
<network>
-
--name<name>¶ Set network name
-
--enable¶ Enable network
-
--disable¶ Disable network
Share the network between projects
Do not share the network between projects
-
<network> Network to modify (name or ID)
network show¶
Display network details
os network show
<network>
-
<network> Network to display (name or ID)