mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Add baremetal agent type list filtering"
This commit is contained in:
commit
d297f11b87
2 changed files with 9 additions and 3 deletions
|
|
@ -168,11 +168,11 @@ class ListNetworkAgent(command.Lister):
|
|||
metavar='<agent-type>',
|
||||
choices=["bgp", "dhcp", "open-vswitch", "linux-bridge", "ofa",
|
||||
"l3", "loadbalancer", "metering", "metadata", "macvtap",
|
||||
"nic"],
|
||||
"nic", "baremetal"],
|
||||
help=_("List only agents with the specified agent type. "
|
||||
"The supported agent types are: bgp, dhcp, open-vswitch, "
|
||||
"linux-bridge, ofa, l3, loadbalancer, metering, "
|
||||
"metadata, macvtap, nic.")
|
||||
"metadata, macvtap, nic, baremetal.")
|
||||
)
|
||||
parser.add_argument(
|
||||
'--host',
|
||||
|
|
@ -231,7 +231,8 @@ class ListNetworkAgent(command.Lister):
|
|||
'metering': 'Metering agent',
|
||||
'metadata': 'Metadata agent',
|
||||
'macvtap': 'Macvtap agent',
|
||||
'nic': 'NIC Switch agent'
|
||||
'nic': 'NIC Switch agent',
|
||||
'baremetal': 'Baremetal Node'
|
||||
}
|
||||
|
||||
filters = {}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Add ``baremetal`` agent type to ``--agent-type`` option for
|
||||
``network agent list`` command.
|
||||
Loading…
Add table
Reference in a new issue