Allow filtering on size for volume list
"size" should be a filterable field. Closes-Bug: #1827733 Change-Id: If43f136b28aef0efccd37184c01e8617d62bb46c
This commit is contained in:
parent
3669d52048
commit
b7a7ac7b5a
@ -478,7 +478,8 @@ class GeneralFiltersTest(test.TestCase):
|
||||
@ddt.data({'resource': 'volume',
|
||||
'expected': ["name", "status", "metadata",
|
||||
"bootable", "migration_status",
|
||||
"availability_zone", "group_id"]},
|
||||
"availability_zone", "group_id",
|
||||
"size"]},
|
||||
{'resource': 'backup',
|
||||
'expected': ["name", "status", "volume_id"]},
|
||||
{'resource': 'snapshot',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"volume": ["name", "status", "metadata",
|
||||
"bootable", "migration_status", "availability_zone",
|
||||
"group_id"],
|
||||
"group_id", "size"],
|
||||
"backup": ["name", "status", "volume_id"],
|
||||
"snapshot": ["name", "status", "volume_id", "metadata",
|
||||
"availability_zone"],
|
||||
|
Loading…
Reference in New Issue
Block a user