From 9e690fc9556d43e1966b93f25280b1d7eb053f1f Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Sat, 20 Jul 2019 11:59:58 +0200 Subject: [PATCH] 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 --- ironic_inspector/common/ironic.py | 3 ++- .../update-default-ironic-api-stein-b3b01ec542fa8f15.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/update-default-ironic-api-stein-b3b01ec542fa8f15.yaml diff --git a/ironic_inspector/common/ironic.py b/ironic_inspector/common/ironic.py index c8ba563c3..00024ab80 100644 --- a/ironic_inspector/common/ironic.py +++ b/ironic_inspector/common/ironic.py @@ -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 diff --git a/releasenotes/notes/update-default-ironic-api-stein-b3b01ec542fa8f15.yaml b/releasenotes/notes/update-default-ironic-api-stein-b3b01ec542fa8f15.yaml new file mode 100644 index 000000000..0254bef8c --- /dev/null +++ b/releasenotes/notes/update-default-ironic-api-stein-b3b01ec542fa8f15.yaml @@ -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). +