We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db6909b + b7d0183 commit d297f11Copy full SHA for d297f11
2 files changed
openstackclient/network/v2/network_agent.py
@@ -168,11 +168,11 @@ def get_parser(self, prog_name):
168
metavar='<agent-type>',
169
choices=["bgp", "dhcp", "open-vswitch", "linux-bridge", "ofa",
170
"l3", "loadbalancer", "metering", "metadata", "macvtap",
171
- "nic"],
+ "nic", "baremetal"],
172
help=_("List only agents with the specified agent type. "
173
"The supported agent types are: bgp, dhcp, open-vswitch, "
174
"linux-bridge, ofa, l3, loadbalancer, metering, "
175
- "metadata, macvtap, nic.")
+ "metadata, macvtap, nic, baremetal.")
176
)
177
parser.add_argument(
178
'--host',
@@ -231,7 +231,8 @@ def take_action(self, parsed_args):
231
'metering': 'Metering agent',
232
'metadata': 'Metadata agent',
233
'macvtap': 'Macvtap agent',
234
- 'nic': 'NIC Switch agent'
+ 'nic': 'NIC Switch agent',
235
+ 'baremetal': 'Baremetal Node'
236
}
237
238
filters = {}
releasenotes/notes/add-baremetal-agent-type-7c46365e8d457ac8.yaml
@@ -0,0 +1,5 @@
1
+---
2
+features:
3
+ - |
4
+ Add ``baremetal`` agent type to ``--agent-type`` option for
5
+ ``network agent list`` command.
0 commit comments