diff options
author | TommyLike <tommylikehu@gmail.com> | 2017-05-16 17:22:08 +0800 |
---|---|---|
committer | TommyLike <tommylikehu@gmail.com> | 2017-05-31 11:32:49 +0000 |
commit | a6affea92157a5656ba4beae6ffd059d12e23bdc (patch) | |
tree | c2a99b0c5ebf3cab6701bc45af7be9650a34e3da /cinderclient/api_versions.py | |
parent | 8cd147028f013b1565d2444f63f4944dc7eea1c9 (diff) | |
download | python-cinderclient-a6affea92157a5656ba4beae6ffd059d12e23bdc.tar.gz |
Support generalized resource filter in client
Introduce new command 'list-filters' to retrieve
enabled resource filters.
```
command: cinder list-filters --resource=volume
output:
+----------------+-------------------------------+
| Resource | Filters |
+----------------+-------------------------------+
| volume | name, status, image_metadata |
+----------------+-------------------------------+
```
Also Added new option '--filters' to these list commands:
1. list
2. snapshot-list
3. backup-list
4. attachment-list
5. message-list
6. group-list
7. group-snapshot-list
8. get-pools
Change-Id: I062e6227342ea0d940a8333e84014969c33b49df
Partial: blueprint generalized-filtering-for-cinder-list-resource
Depends-On: 04bd22c1eb371805a3ce9f6c8915325bc0da2d36
Depends-On: 7fdc4688fea373afb85d929e649d311568d1855a
Diffstat (limited to 'cinderclient/api_versions.py')
-rw-r--r-- | cinderclient/api_versions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cinderclient/api_versions.py b/cinderclient/api_versions.py index dee7c78..d1bb1e1 100644 --- a/cinderclient/api_versions.py +++ b/cinderclient/api_versions.py @@ -29,7 +29,7 @@ LOG = logging.getLogger(__name__) # key is a deprecated version and value is an alternative version. DEPRECATED_VERSIONS = {"1": "2"} DEPRECATED_VERSION = "2.0" -MAX_VERSION = "3.28" +MAX_VERSION = "3.33" MIN_VERSION = "3.0" _SUBSTITUTIONS = {} |