Merge "Set stage for Zed Release with 21.1"

This commit is contained in:
Zuul 2022-09-22 20:29:39 +00:00 committed by Gerrit Code Review
commit 9e9a23ef0c
3 changed files with 25 additions and 5 deletions

View File

@ -2,8 +2,8 @@
REST API Version History
========================
1.80 (Zed)
----------
1.80 (Zed, 21.1)
----------------------
This verison is a signifier of additional RBAC functionality allowing
a project scoped ``admin`` to create or delete nodes in Ironic.

View File

@ -490,6 +490,26 @@ RELEASE_MAPPING = {
'VolumeTarget': ['1.0'],
}
},
'21.1': {
'api': '1.80',
'rpc': '1.55',
'objects': {
'Allocation': ['1.1'],
'BIOSSetting': ['1.1'],
'Node': ['1.36'],
'NodeHistory': ['1.0'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
'Deployment': ['1.0'],
'DeployTemplate': ['1.1'],
'Port': ['1.10'],
'Portgroup': ['1.4'],
'Trait': ['1.0'],
'TraitList': ['1.0'],
'VolumeConnector': ['1.0'],
'VolumeTarget': ['1.0'],
}
},
'master': {
'api': '1.80',
'rpc': '1.55',
@ -525,9 +545,9 @@ RELEASE_MAPPING = {
#
# There should be at most two named mappings here.
# NOTE(mgoddard): remove xena prior to the zed release.
RELEASE_MAPPING['xena'] = RELEASE_MAPPING['18.2']
# NOTE(mgoddard): remove yoga prior to the antelope release.
RELEASE_MAPPING['yoga'] = RELEASE_MAPPING['20.1']
RELEASE_MAPPING['zed'] = RELEASE_MAPPING['21.1']
# List of available versions with named versions first; 'master' is excluded.
RELEASE_VERSIONS = sorted(set(RELEASE_MAPPING) - {'master'}, reverse=True)

View File

@ -44,7 +44,7 @@ NUMERIC_RELEASES = sorted(
map(versionutils.convert_version_to_tuple,
set(release_mappings.RELEASE_MAPPING)
# Update the exceptions whenever needed
- {'master', 'yoga', 'xena'}),
- {'master', 'zed', 'yoga'}),
reverse=True)