diff options
author | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2021-08-31 19:10:00 -0400 |
---|---|---|
committer | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2021-09-02 18:48:28 -0400 |
commit | c3c15f6cb2f50ec5bb2ae561d8fc61f27fae80d2 (patch) | |
tree | 0c4b45b90812c8300d061bb2cd0be8d92668b58c /cinderclient/api_versions.py | |
parent | 45cebe406fdabd5f3636cb78d85ac934ca735a08 (diff) | |
download | python-cinderclient-c3c15f6cb2f50ec5bb2ae561d8fc61f27fae80d2.tar.gz |
Support Block Storage API mv 3.66
Block Storage API mv 3.66 enables snapshots of in-use volumes
without requiring a 'force' flag. For backward compatibility,
the API silently accepts force=true, even though the 'force' flag
is considered invalid for that call. That behavior is replicated
in the client, where --force with a true value is silently accepted.
The --force option is not advertised in the shell and an option
value that doesn't evaluate to true raises an UnsupportedAttribute
error. Similar behavior from the v3 Snapshot class, except it
raises a ValueError under similar circumstances.
Change-Id: I7408d0e3a5ed7f4cbcaf65cf3434ad60aaed511d
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 78bb8a0..48e00b7 100644 --- a/cinderclient/api_versions.py +++ b/cinderclient/api_versions.py @@ -26,7 +26,7 @@ LOG = logging.getLogger(__name__) # key is unsupported version, value is appropriate supported alternative REPLACEMENT_VERSIONS = {"1": "3", "2": "3"} -MAX_VERSION = "3.65" +MAX_VERSION = "3.66" MIN_VERSION = "3.0" _SUBSTITUTIONS = {} |