
api.network.APIv2 starts with network_list() support to flush out the skeleton of the Network API. list_dhcp_agent() supports the --dhcp option of 'network list' Change-Id: I9a2b90cde84eced1f2ea6a014b769e2bae668211
1.8 KiB
1.8 KiB
network
Network v2
network create
Create new network
network create
os network create
[--enable | --disable]
[--share | --no-share]
<name>
--enable
Enable network (default)
--disable
Disable network
--share
Share the network between projects
--no-share
Do not share the network between projects
New network name
network delete
Delete network(s)
network delete
os network delete
<network> [<network> ...]
Network to delete (name or ID)
network list
List networks
network list
os network list
[--external]
[--dhcp <dhcp-id>]
[--long]
--external
List external networks
--dhcp <dhcp-id>
DHCP agent ID
--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)