From ca8f1a20c586345e48d65e45ec63b1d37df8d5bd Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Mon, 29 Mar 2021 15:28:51 +0000 Subject: [PATCH] Open Xena DB branch Change-Id: I13ba740d245a46c41a969ff198e08ddff896eb1a --- neutron/db/migration/__init__.py | 2 ++ .../expand/6135a7bd4425_add_rbac_support_for_address_group.py | 4 ++++ neutron/db/migration/cli.py | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/neutron/db/migration/__init__.py b/neutron/db/migration/__init__.py index cc76d00195c..8de462ea1d7 100644 --- a/neutron/db/migration/__init__.py +++ b/neutron/db/migration/__init__.py @@ -35,6 +35,7 @@ TRAIN = 'train' USSURI = 'ussuri' VICTORIA = 'victoria' WALLABY = 'wallaby' +XENA = 'xena' NEUTRON_MILESTONES = [ # earlier milestones were not tagged @@ -49,6 +50,7 @@ NEUTRON_MILESTONES = [ TRAIN, USSURI, VICTORIA, + WALLABY, # Do not add the milestone until the end of the release ] diff --git a/neutron/db/migration/alembic_migrations/versions/wallaby/expand/6135a7bd4425_add_rbac_support_for_address_group.py b/neutron/db/migration/alembic_migrations/versions/wallaby/expand/6135a7bd4425_add_rbac_support_for_address_group.py index 6cfb1ab1c9b..9c550460897 100644 --- a/neutron/db/migration/alembic_migrations/versions/wallaby/expand/6135a7bd4425_add_rbac_support_for_address_group.py +++ b/neutron/db/migration/alembic_migrations/versions/wallaby/expand/6135a7bd4425_add_rbac_support_for_address_group.py @@ -14,6 +14,7 @@ from alembic import op import sqlalchemy as sa +from neutron.db import migration """add_rbac_support_for_address_group @@ -27,6 +28,9 @@ Create Date: 2021-01-22 11:24:07.435031 revision = '6135a7bd4425' down_revision = '1e0744e4ffea' +# milestone identifier, used by neutron-db-manage +neutron_milestone = [migration.WALLABY] + def upgrade(): op.create_table( diff --git a/neutron/db/migration/cli.py b/neutron/db/migration/cli.py index ffe2a5facb0..84542cc7656 100644 --- a/neutron/db/migration/cli.py +++ b/neutron/db/migration/cli.py @@ -37,7 +37,7 @@ HEADS_FILENAME = 'HEADS' CONTRACT_HEAD_FILENAME = 'CONTRACT_HEAD' EXPAND_HEAD_FILENAME = 'EXPAND_HEAD' -CURRENT_RELEASE = migration.WALLABY +CURRENT_RELEASE = migration.XENA RELEASES = ( migration.LIBERTY, migration.MITAKA, @@ -51,6 +51,7 @@ RELEASES = ( migration.USSURI, migration.VICTORIA, migration.WALLABY, + migration.XENA, ) EXPAND_BRANCH = 'expand'