Fix share server listing with network subnet id
Share server list operation is supposed to accept share network subnet ids as parameters for filtering share servers. The share specified share network subnet ids were being ignored. This change fixes this behavior by allowing that search to occur properly. Closes-Bug: #1959329 Change-Id: I6453e9d20a0b4ace0d71c501c5a65c6736554f0d
This commit is contained in:
parent
08508e5c96
commit
27b8830309
@ -4400,7 +4400,8 @@ def do_share_server_list(cs, args):
|
||||
"Share network subnet option is only available with manila "
|
||||
"API version >= 2.51")
|
||||
else:
|
||||
search_opts.update({'share_network_subnet': args.share_network_subnet})
|
||||
search_opts.update({
|
||||
'share_network_subnet_id': args.share_network_subnet})
|
||||
fields.append("Share Network Subnet Id")
|
||||
|
||||
if args.columns is not None:
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- Launchpad `bug 1959329 <https://bugs.launchpad.net/python-manilaclient/+bug/1959329>`_
|
||||
has been fixed for share server listing with network subnet id.
|
Loading…
x
Reference in New Issue
Block a user