summaryrefslogtreecommitdiff
path: root/ironic/api/controllers/v1/versions.py
diff options
context:
space:
mode:
authorJakub Jelinek <vilouskubajj@gmail.com>2022-12-06 13:54:19 +0000
committerJakub Jelinek <vilouskubajj@gmail.com>2023-01-12 15:09:18 +0000
commit2e80ea9099cd913216c1a57f1af45ebd1152a235 (patch)
tree27b3ca7d83b3563c77ed96e6f752412f4ee135f8 /ironic/api/controllers/v1/versions.py
parent320b1f0ca72739e1bae0a08c5cef7f82fe524603 (diff)
downloadironic-2e80ea9099cd913216c1a57f1af45ebd1152a235.tar.gz
API for node inventory
Add api to access node inventory Story: 2010275 Task: 46204 Change-Id: If50f665da5fbb16f7646f3d6195a6e14e7325b0a
Diffstat (limited to 'ironic/api/controllers/v1/versions.py')
-rw-r--r--ironic/api/controllers/v1/versions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ironic/api/controllers/v1/versions.py b/ironic/api/controllers/v1/versions.py
index 763d92389..4dcfd7fb8 100644
--- a/ironic/api/controllers/v1/versions.py
+++ b/ironic/api/controllers/v1/versions.py
@@ -118,6 +118,7 @@ BASE_VERSION = 1
# v1.78: Add node history endpoint
# v1.79: Change allocation behaviour to prefer node name match
# v1.80: Marker to represent self service node creation/deletion
+# v1.81: Add node inventory
MINOR_0_JUNO = 0
MINOR_1_INITIAL_VERSION = 1
MINOR_2_AVAILABLE_STATE = 2
@@ -199,6 +200,7 @@ MINOR_77_DRIVER_FIELDS_SELECTOR = 77
MINOR_78_NODE_HISTORY = 78
MINOR_79_ALLOCATION_NODE_NAME = 79
MINOR_80_PROJECT_CREATE_DELETE_NODE = 80
+MINOR_81_NODE_INVENTORY = 81
# When adding another version, update:
# - MINOR_MAX_VERSION
@@ -206,7 +208,7 @@ MINOR_80_PROJECT_CREATE_DELETE_NODE = 80
# explanation of what changed in the new version
# - common/release_mappings.py, RELEASE_MAPPING['master']['api']
-MINOR_MAX_VERSION = MINOR_80_PROJECT_CREATE_DELETE_NODE
+MINOR_MAX_VERSION = MINOR_81_NODE_INVENTORY
# String representations of the minor and maximum versions
_MIN_VERSION_STRING = '{}.{}'.format(BASE_VERSION, MINOR_1_INITIAL_VERSION)