Merge "Stop hardcoding baremetal API version in stackrc"

This commit is contained in:
Zuul 2018-08-28 20:43:46 +00:00 committed by Gerrit Code Review
commit f7c2f167d6
2 changed files with 7 additions and 3 deletions

View File

@ -21,9 +21,6 @@ export COMPUTE_API_VERSION=1.1
export NOVA_VERSION=1.1 export NOVA_VERSION=1.1
export OS_NO_CACHE=True export OS_NO_CACHE=True
export OS_CLOUDNAME=undercloud export OS_CLOUDNAME=undercloud
# 1.34 is the latest API version in Ironic Pike supported by ironicclient
export IRONIC_API_VERSION=1.34
export OS_BAREMETAL_API_VERSION=\$IRONIC_API_VERSION
export OS_IDENTITY_API_VERSION='3' export OS_IDENTITY_API_VERSION='3'
export OS_PROJECT_DOMAIN_NAME='Default' export OS_PROJECT_DOMAIN_NAME='Default'
export OS_USER_DOMAIN_NAME='Default' export OS_USER_DOMAIN_NAME='Default'

View File

@ -0,0 +1,7 @@
---
fixes:
- |
The baremetal API version is no longer hardcoded in ``stackrc``. This
allows easy access to new features in *ironicclient* as they are
introduced. If you need to use a fixed API version, set the
``OS_BAREMETAL_API_VERSION`` environment variable.