Merge "Add the bgp agent type to network agent command"
This commit is contained in:
commit
b6f51cdfa0
@ -89,10 +89,11 @@ class ListNetworkAgent(command.Lister):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--agent-type',
|
'--agent-type',
|
||||||
metavar='<agent-type>',
|
metavar='<agent-type>',
|
||||||
choices=["dhcp", "open-vswitch", "linux-bridge", "ofa", "l3",
|
choices=["bgp", "dhcp", "open-vswitch", "linux-bridge", "ofa",
|
||||||
"loadbalancer", "metering", "metadata", "macvtap", "nic"],
|
"l3", "loadbalancer", "metering", "metadata", "macvtap",
|
||||||
|
"nic"],
|
||||||
help=_("List only agents with the specified agent type. "
|
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, "
|
"linux-bridge, ofa, l3, loadbalancer, metering, "
|
||||||
"metadata, macvtap, nic.")
|
"metadata, macvtap, nic.")
|
||||||
)
|
)
|
||||||
@ -125,6 +126,7 @@ class ListNetworkAgent(command.Lister):
|
|||||||
)
|
)
|
||||||
|
|
||||||
key_value = {
|
key_value = {
|
||||||
|
'bgp': 'BGP dynamic routing agent',
|
||||||
'dhcp': 'DHCP agent',
|
'dhcp': 'DHCP agent',
|
||||||
'open-vswitch': 'Open vSwitch agent',
|
'open-vswitch': 'Open vSwitch agent',
|
||||||
'linux-bridge': 'Linux bridge agent',
|
'linux-bridge': 'Linux bridge agent',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user