Update default ironic API version list

This patch updates the default ironic API list with the latest
API version available for Stein.

Change-Id: Ibda16449cd88cd70607a181701c9ac0d0fa17948
This commit is contained in:
Riccardo Pittau 2019-07-20 11:59:58 +02:00
parent 0c154991ce
commit 9e690fc955
2 changed files with 8 additions and 1 deletions

View File

@ -35,11 +35,12 @@ VALID_ACTIVE_STATES = frozenset(['active', 'rescue'])
# 1.38 is the latest API version in the Queens release series, 10.1.0.
# 1.46 is the latest API version in the Rocky release series, 11.1.0.
# 1.56 is the latest API version in the Stein release series, 12.1.0
# NOTE(mgoddard): This should be updated with each release to ensure that
# inspector is able to use the latest ironic API. In particular, this version
# is used when processing introspection rules, and is the default version used
# by processing plugins.
DEFAULT_IRONIC_API_VERSION = ['1.38', '1.46']
DEFAULT_IRONIC_API_VERSION = ['1.38', '1.46', '1.56']
IRONIC_SESSION = None

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Updates the default Ironic API version to 1.56, which is the most
recent version in the Stein series Bare Metal release (12.1.0).