Merge "Open the 2024.1 (Caracal) DB branch"

This commit is contained in:
Zuul 2023-09-19 20:24:07 +00:00 committed by Gerrit Code Review
commit dbe4ba910b
3 changed files with 8 additions and 1 deletions
neutron/db/migration
__init__.py
alembic_migrations/versions/2023.2/expand
cli.py

@ -39,6 +39,7 @@ YOGA = 'yoga'
ZED = 'zed' ZED = 'zed'
RELEASE_2023_1 = '2023.1' RELEASE_2023_1 = '2023.1'
RELEASE_2023_2 = '2023.2' RELEASE_2023_2 = '2023.2'
RELEASE_2024_1 = '2024.1'
NEUTRON_MILESTONES = [ NEUTRON_MILESTONES = [
# earlier milestones were not tagged # earlier milestones were not tagged

@ -17,6 +17,8 @@ from alembic import op
import sqlalchemy as sa import sqlalchemy as sa
from sqlalchemy import sql from sqlalchemy import sql
from neutron.db import migration
"""Add ECMP and BFD router-level policy attributes """Add ECMP and BFD router-level policy attributes
Revision ID: 89c58a70ceba Revision ID: 89c58a70ceba
@ -29,6 +31,9 @@ Create Date: 2023-02-22 21:08:33.593101
revision = '89c58a70ceba' revision = '89c58a70ceba'
down_revision = 'c33da356b165' down_revision = 'c33da356b165'
# milestone identifier, used by neutron-db-manage
neutron_milestone = [migration.RELEASE_2023_2]
def upgrade(): def upgrade():
op.add_column('router_extra_attributes', op.add_column('router_extra_attributes',

@ -38,7 +38,7 @@ HEADS_FILENAME = 'HEADS'
CONTRACT_HEAD_FILENAME = 'CONTRACT_HEAD' CONTRACT_HEAD_FILENAME = 'CONTRACT_HEAD'
EXPAND_HEAD_FILENAME = 'EXPAND_HEAD' EXPAND_HEAD_FILENAME = 'EXPAND_HEAD'
CURRENT_RELEASE = migration.RELEASE_2023_2 CURRENT_RELEASE = migration.RELEASE_2024_1
RELEASES = ( RELEASES = (
migration.LIBERTY, migration.LIBERTY,
migration.MITAKA, migration.MITAKA,
@ -57,6 +57,7 @@ RELEASES = (
migration.ZED, migration.ZED,
migration.RELEASE_2023_1, migration.RELEASE_2023_1,
migration.RELEASE_2023_2, migration.RELEASE_2023_2,
migration.RELEASE_2024_1,
) )
EXPAND_BRANCH = 'expand' EXPAND_BRANCH = 'expand'