Skip to content

Commit b6f51cd

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Add the bgp agent type to network agent command"
2 parents 4a19f67 + 8c6cfb5 commit b6f51cd

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

openstackclient/network/v2/network_agent.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,11 @@ def get_parser(self, prog_name):
8989
parser.add_argument(
9090
'--agent-type',
9191
metavar='<agent-type>',
92-
choices=["dhcp", "open-vswitch", "linux-bridge", "ofa", "l3",
93-
"loadbalancer", "metering", "metadata", "macvtap", "nic"],
92+
choices=["bgp", "dhcp", "open-vswitch", "linux-bridge", "ofa",
93+
"l3", "loadbalancer", "metering", "metadata", "macvtap",
94+
"nic"],
9495
help=_("List only agents with the specified agent type. "
95-
"The supported agent types are: dhcp, open-vswitch, "
96+
"The supported agent types are: bgp, dhcp, open-vswitch, "
9697
"linux-bridge, ofa, l3, loadbalancer, metering, "
9798
"metadata, macvtap, nic.")
9899
)
@@ -125,6 +126,7 @@ def take_action(self, parsed_args):
125126
)
126127

127128
key_value = {
129+
'bgp': 'BGP dynamic routing agent',
128130
'dhcp': 'DHCP agent',
129131
'open-vswitch': 'Open vSwitch agent',
130132
'linux-bridge': 'Linux bridge agent',

0 commit comments

Comments
 (0)