summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuby Loo <ruby.loo@intel.com>2016-09-06 13:54:11 -0400
committerRuby Loo <ruby.loo@intel.com>2016-09-06 13:55:24 -0400
commit8a9daaff40b780f2a21f5a24742c4c33b5c75911 (patch)
tree0028ac8c0bb50a743a335a069ebda9290e907b88
parentae5e6c415242535808a43e4d36546235988939e6 (diff)
downloadpython-ironicclient-8a9daaff40b780f2a21f5a24742c4c33b5c75911.tar.gz
OSC plugin support microversions 1.21 & 1.22
Fixes the OpenStackClient plugin so that microversions 1.21 and 1.22 are supported. Change-Id: Iba0d24a8ec0880a43f124ef7a9c55a106c57f30e Closes-Bug: #1620751
-rw-r--r--ironicclient/osc/plugin.py2
-rw-r--r--releasenotes/notes/osc-max-microver-22-dc0d91a62f03a2e6.yaml4
2 files changed, 5 insertions, 1 deletions
diff --git a/ironicclient/osc/plugin.py b/ironicclient/osc/plugin.py
index 7d5c0a6..0327075 100644
--- a/ironicclient/osc/plugin.py
+++ b/ironicclient/osc/plugin.py
@@ -23,7 +23,7 @@ LOG = logging.getLogger(__name__)
DEFAULT_BAREMETAL_API_VERSION = '1.6'
API_VERSION_OPTION = 'os_baremetal_api_version'
API_NAME = 'baremetal'
-LAST_KNOWN_API_VERSION = 20
+LAST_KNOWN_API_VERSION = 22
API_VERSIONS = {
'1.%d' % i: 'ironicclient.v1.client.Client'
for i in range(1, LAST_KNOWN_API_VERSION + 1)
diff --git a/releasenotes/notes/osc-max-microver-22-dc0d91a62f03a2e6.yaml b/releasenotes/notes/osc-max-microver-22-dc0d91a62f03a2e6.yaml
new file mode 100644
index 0000000..0911b9e
--- /dev/null
+++ b/releasenotes/notes/osc-max-microver-22-dc0d91a62f03a2e6.yaml
@@ -0,0 +1,4 @@
+---
+fixes:
+ - Fixes the OpenStackClient plugin so that
+ microversions 1.21 and 1.22 are supported.