mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 15:31:03 +00:00
Add options to allow filtering via --agent-type and --host on agent list Change-Id: I1800f0777aa92a76b4b95f64f8acc18454809e81 Closes-Bug: #1641868 Partially-Implements: blueprint network-commands-options
96 lines
1.9 KiB
ReStructuredText
96 lines
1.9 KiB
ReStructuredText
=============
|
|
network agent
|
|
=============
|
|
|
|
A **network agent** is an agent that handles various tasks used to
|
|
implement virtual networks. These agents include neutron-dhcp-agent,
|
|
neutron-l3-agent, neutron-metering-agent, and neutron-lbaas-agent,
|
|
among others. The agent is available when the alive status of the
|
|
agent is "True".
|
|
|
|
Network v2
|
|
|
|
network agent delete
|
|
--------------------
|
|
|
|
Delete network agent(s)
|
|
|
|
.. program:: network agent delete
|
|
.. code:: bash
|
|
|
|
openstack network agent delete
|
|
<network-agent> [<network-agent> ...]
|
|
|
|
.. _network_agent_delete-network-agent:
|
|
.. describe:: <network-agent>
|
|
|
|
Network agent(s) to delete (ID only)
|
|
|
|
network agent list
|
|
------------------
|
|
|
|
List network agents
|
|
|
|
.. program:: network agent list
|
|
.. code:: bash
|
|
|
|
openstack network agent list
|
|
[--agent-type <agent-type>]
|
|
[--host <host>]
|
|
|
|
.. option:: --agent-type <agent-type>
|
|
|
|
List only agents with the specified agent type.
|
|
The supported agent types are: dhcp, open-vswitch,
|
|
linux-bridge, ofa, l3, loadbalancer, metering,
|
|
metadata, macvtap, nic.
|
|
|
|
.. option:: --host <host>
|
|
|
|
List only agents running on the specified host
|
|
|
|
network agent set
|
|
-----------------
|
|
|
|
Set network agent properties
|
|
|
|
.. program:: network agent set
|
|
.. code:: bash
|
|
|
|
openstack network agent set
|
|
[--description <description>]
|
|
[--enable | --disable]
|
|
<network-agent>
|
|
|
|
.. option:: --description <description>
|
|
|
|
Set network agent description
|
|
|
|
.. option:: --enable
|
|
|
|
Enable network agent
|
|
|
|
.. option:: --disable
|
|
|
|
Disable network agent
|
|
|
|
.. _network_agent_set-network-agent:
|
|
.. describe:: <network-agent>
|
|
|
|
Network agent to modify (ID only)
|
|
|
|
network agent show
|
|
------------------
|
|
|
|
Display network agent details
|
|
|
|
.. program:: network agent show
|
|
.. code:: bash
|
|
|
|
openstack network agent show
|
|
<network-agent>
|
|
|
|
.. _network_agent_show-network-agent:
|
|
.. describe:: <network-agent>
|
|
|
|
Network agent to display (ID only)
|