summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/network')
-rw-r--r--openstackclient/network/v2/network_agent.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/openstackclient/network/v2/network_agent.py b/openstackclient/network/v2/network_agent.py
index d429fa08..37ad9f06 100644
--- a/openstackclient/network/v2/network_agent.py
+++ b/openstackclient/network/v2/network_agent.py
@@ -89,10 +89,11 @@ class ListNetworkAgent(command.Lister):
parser.add_argument(
'--agent-type',
metavar='<agent-type>',
- choices=["dhcp", "open-vswitch", "linux-bridge", "ofa", "l3",
- "loadbalancer", "metering", "metadata", "macvtap", "nic"],
+ choices=["bgp", "dhcp", "open-vswitch", "linux-bridge", "ofa",
+ "l3", "loadbalancer", "metering", "metadata", "macvtap",
+ "nic"],
help=_("List only agents with the specified agent type. "
- "The supported agent types are: dhcp, open-vswitch, "
+ "The supported agent types are: bgp, dhcp, open-vswitch, "
"linux-bridge, ofa, l3, loadbalancer, metering, "
"metadata, macvtap, nic.")
)
@@ -125,6 +126,7 @@ class ListNetworkAgent(command.Lister):
)
key_value = {
+ 'bgp': 'BGP dynamic routing agent',
'dhcp': 'DHCP agent',
'open-vswitch': 'Open vSwitch agent',
'linux-bridge': 'Linux bridge agent',