2015-01-20 16:44:50 -06:00
|
|
|
=======
|
|
|
|
network
|
|
|
|
=======
|
|
|
|
|
|
|
|
Network v2
|
|
|
|
|
|
|
|
network create
|
|
|
|
--------------
|
|
|
|
|
|
|
|
Create new network
|
|
|
|
|
|
|
|
.. program:: network create
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
os network create
|
2015-06-26 12:07:58 +08:00
|
|
|
[--project <project> [--project-domain <project-domain>]]
|
2015-01-20 16:44:50 -06:00
|
|
|
[--enable | --disable]
|
|
|
|
[--share | --no-share]
|
|
|
|
<name>
|
|
|
|
|
2015-02-16 23:21:00 -08:00
|
|
|
.. option:: --project <project>
|
|
|
|
|
|
|
|
Owner's project (name or ID)
|
|
|
|
|
2015-06-26 12:07:58 +08:00
|
|
|
.. option:: --project-domain <project-domain>
|
|
|
|
|
|
|
|
Domain the project belongs to (name or ID).
|
|
|
|
This can be used in case collisions between project names exist.
|
|
|
|
|
2015-01-20 16:44:50 -06:00
|
|
|
.. option:: --enable
|
|
|
|
|
|
|
|
Enable network (default)
|
|
|
|
|
|
|
|
.. option:: --disable
|
|
|
|
|
|
|
|
Disable network
|
|
|
|
|
|
|
|
.. option:: --share
|
|
|
|
|
|
|
|
Share the network between projects
|
|
|
|
|
|
|
|
.. option:: --no-share
|
|
|
|
|
|
|
|
Do not share the network between projects
|
|
|
|
|
|
|
|
.. _network_create-name:
|
|
|
|
.. describe:: <name>
|
|
|
|
|
|
|
|
New network name
|
|
|
|
|
|
|
|
network delete
|
|
|
|
--------------
|
|
|
|
|
|
|
|
Delete network(s)
|
|
|
|
|
|
|
|
.. program:: network delete
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
os network delete
|
|
|
|
<network> [<network> ...]
|
|
|
|
|
|
|
|
.. _network_delete-project:
|
|
|
|
.. describe:: <network>
|
|
|
|
|
|
|
|
Network to delete (name or ID)
|
|
|
|
|
|
|
|
network list
|
|
|
|
------------
|
|
|
|
|
|
|
|
List networks
|
|
|
|
|
|
|
|
.. program:: network list
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
os network list
|
|
|
|
[--external]
|
2014-09-18 10:35:15 -05:00
|
|
|
[--dhcp <dhcp-id>]
|
2015-01-20 16:44:50 -06:00
|
|
|
[--long]
|
|
|
|
|
|
|
|
.. option:: --external
|
|
|
|
|
|
|
|
List external networks
|
|
|
|
|
2014-09-18 10:35:15 -05:00
|
|
|
.. option:: --dhcp <dhcp-id>
|
2015-01-20 16:44:50 -06:00
|
|
|
|
2014-09-18 10:35:15 -05:00
|
|
|
DHCP agent ID
|
2015-01-20 16:44:50 -06:00
|
|
|
|
|
|
|
.. option:: --long
|
|
|
|
|
|
|
|
List additional fields in output
|
|
|
|
|
|
|
|
network set
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Set network properties
|
|
|
|
|
|
|
|
.. program:: network set
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
os network set
|
|
|
|
[--name <name>]
|
|
|
|
[--enable | --disable]
|
|
|
|
[--share | --no-share]
|
|
|
|
<network>
|
|
|
|
|
|
|
|
.. option:: --name <name>
|
|
|
|
|
|
|
|
Set network name
|
|
|
|
|
|
|
|
.. option:: --enable
|
|
|
|
|
|
|
|
Enable network
|
|
|
|
|
|
|
|
.. option:: --disable
|
|
|
|
|
|
|
|
Disable network
|
|
|
|
|
|
|
|
.. option:: --share
|
|
|
|
|
|
|
|
Share the network between projects
|
|
|
|
|
|
|
|
.. option:: --no-share
|
|
|
|
|
|
|
|
Do not share the network between projects
|
|
|
|
|
|
|
|
.. _network_set-name:
|
|
|
|
.. describe:: <network>
|
|
|
|
|
|
|
|
Network to modify (name or ID)
|
|
|
|
|
|
|
|
network show
|
|
|
|
------------
|
|
|
|
|
|
|
|
Display network details
|
|
|
|
|
|
|
|
.. program:: network show
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
os network show
|
|
|
|
<network>
|
|
|
|
|
|
|
|
.. _network_show-name:
|
|
|
|
.. describe:: <network>
|
|
|
|
|
|
|
|
Network to display (name or ID)
|