From 5b28eddb2ec8c66c3bc756856e765b7d53da3142 Mon Sep 17 00:00:00 2001 From: Radoslav Gerganov Date: Mon, 27 Jun 2016 13:08:31 +0300 Subject: [PATCH] Add support for microversion 2.31 Microversion 2.31 fixes a bug in os-console-auth-tokens API and doesn't require any changes in the novaclient. Change-Id: I275903aeb3ff048397ab592ecbe0cdd570350c41 Implements: blueprint fix-console-auth-tokens --- novaclient/__init__.py | 2 +- novaclient/tests/unit/v2/test_shell.py | 1 + releasenotes/notes/microversion-v2_31-3e1a16eb5eb53f59.yaml | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/microversion-v2_31-3e1a16eb5eb53f59.yaml diff --git a/novaclient/__init__.py b/novaclient/__init__.py index 56b62db24..55c0acec8 100644 --- a/novaclient/__init__.py +++ b/novaclient/__init__.py @@ -25,4 +25,4 @@ API_MIN_VERSION = api_versions.APIVersion("2.1") # when client supported the max version, and bumped sequentially, otherwise # the client may break due to server side new version may include some # backward incompatible change. -API_MAX_VERSION = api_versions.APIVersion("2.30") +API_MAX_VERSION = api_versions.APIVersion("2.31") diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py index 8790b2a2b..5f763e8c0 100644 --- a/novaclient/tests/unit/v2/test_shell.py +++ b/novaclient/tests/unit/v2/test_shell.py @@ -2851,6 +2851,7 @@ class ShellTest(utils.TestCase): # headers, and is tested in test_api_versions, but is # not explicitly tested via wraps and _SUBSTITUTIONS. 28, # doesn't require any changes in novaclient + 31, # doesn't require any changes in novaclient ]) versions_supported = set(range(0, novaclient.API_MAX_VERSION.ver_minor + 1)) diff --git a/releasenotes/notes/microversion-v2_31-3e1a16eb5eb53f59.yaml b/releasenotes/notes/microversion-v2_31-3e1a16eb5eb53f59.yaml new file mode 100644 index 000000000..4ad0b4be5 --- /dev/null +++ b/releasenotes/notes/microversion-v2_31-3e1a16eb5eb53f59.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - Support for microversion 2.31 which fixes a bug in the + os-console-auth-tokens API