diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-03-20 21:31:53 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-03-20 21:31:53 +0000 |
| commit | 3e621c9a9c730e758bd4f8c73d29c00f3c622f5b (patch) | |
| tree | 2d7a76a71ee03baa049dc5497a1f748898aa6c3d /doc/source/command-objects | |
| parent | f16513aaf2cbe9bb9432480d43f46376a7f19133 (diff) | |
| parent | f4fd8f6e31dcc177b56d1e618cdefef728d09157 (diff) | |
| download | python-openstackclient-3e621c9a9c730e758bd4f8c73d29c00f3c622f5b.tar.gz | |
Merge "Introduce Neutron DHCP agent commands to OSC"
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/network-agent.rst | 55 | ||||
| -rw-r--r-- | doc/source/command-objects/network.rst | 5 |
2 files changed, 60 insertions, 0 deletions
diff --git a/doc/source/command-objects/network-agent.rst b/doc/source/command-objects/network-agent.rst index 947e07cf..d764f3de 100644 --- a/doc/source/command-objects/network-agent.rst +++ b/doc/source/command-objects/network-agent.rst @@ -10,6 +10,31 @@ agent is "True". Network v2 +network agent add network +------------------------- + +Add network to an agent + +.. program:: network agent add network +.. code:: bash + + openstack network agent add network + [--dhcp] + <agent-id> + <network> + +.. describe:: --dhcp + + Add a network to DHCP agent. + +.. describe:: <agent-id> + + Agent to which a network is added. (ID only) + +.. describe:: <network> + + Network to be added to an agent. (ID or name) + network agent delete -------------------- @@ -37,6 +62,7 @@ List network agents openstack network agent list [--agent-type <agent-type>] [--host <host>] + [--network <network>] .. option:: --agent-type <agent-type> @@ -49,6 +75,10 @@ List network agents List only agents running on the specified host +.. option:: --network <network> + + List agents hosting a network. (ID or name) + network agent set ----------------- @@ -94,3 +124,28 @@ Display network agent details .. describe:: <network-agent> Network agent to display (ID only) + +network agent remove network +---------------------------- + +Remove network from an agent + +.. program:: network agent remove network +.. code:: bash + + openstack network agent remove network + [--dhcp] + <agent-id> + <network> + +.. describe:: --dhcp + + Remove network from DHCP agent. + +.. describe:: <agent-id> + + Agent to which a network is removed. (ID only) + +.. describe:: <network> + + Network to be removed from an agent. (ID or name) diff --git a/doc/source/command-objects/network.rst b/doc/source/command-objects/network.rst index dc597443..9162dbff 100644 --- a/doc/source/command-objects/network.rst +++ b/doc/source/command-objects/network.rst @@ -203,6 +203,7 @@ List networks [--provider-network-type <provider-network-type>] [--provider-physical-network <provider-physical-network>] [--provider-segment <provider-segment>] + [--agent <agent-id>] .. option:: --external @@ -290,6 +291,10 @@ List networks *Network version 2 only* +.. option:: --agent <agent-id> + + List networks hosted by agent (ID only) + network set ----------- |
