Reedip 8e2bc9cb9c Fix Trivial Changes in [1]
[1] had some trivial changes in the main code, which
are being put forward in this patch, to consider future scenarios.

[1]: I77a933f4b3ce875c63cef5b6a32aee78fd844b03

TrivialFix

Change-Id: I8e8fbb194cd319e5605f09c94ae09e952d0961b1
2017-03-21 02:43:24 +00:00

2.9 KiB

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 add network

Add network to an agent

network agent add network

openstack network agent add network
    [--dhcp]
    <agent-id>
    <network>

--dhcp

Add a network to DHCP agent

<agent-id>

Agent to which a network is added (ID only)

<network>

Network to be added to an agent (ID or name)

network agent delete

Delete network agent(s)

network agent delete

openstack network agent delete
    <network-agent> [<network-agent> ...]




Network agent(s) to delete (ID only)

network agent list

List network agents

network agent list

openstack network agent list
    [--agent-type <agent-type>]
    [--host <host>]
    [--network <network>]

--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.

--host <host>

List only agents running on the specified host

--network <network>

List agents hosting a network (ID or name)

network agent set

Set network agent properties

network agent set

openstack network agent set
    [--description <description>]
    [--enable | --disable]
    <network-agent>

--description <description>

Set network agent description

--enable

Enable network agent

--disable

Disable network agent

Network agent to modify (ID only)

network agent show

Display network agent details

network agent show

openstack network agent show
    <network-agent>




Network agent to display (ID only)

network agent remove network

Remove network from an agent

network agent remove network

openstack network agent remove network
    [--dhcp]
    <agent-id>
    <network>

--dhcp

Remove network from DHCP agent.

<agent-id>

Agent to which a network is removed (ID only)

<network>

Network to be removed from an agent (ID or name)