From 0e29a2c4b9222697ab286c8ac53044ace97492e6 Mon Sep 17 00:00:00 2001 From: Abhishek Raut Date: Thu, 19 Jul 2018 13:29:56 -0700 Subject: [PATCH] Tag the alembic migration revisions for Rocky This allows the database to be upgraded with the command: neutron-db-manage upgrade rocky Change-Id: Ibe09edc43864a474978801598deaa3c95c392958 --- .../queens/contract/717f7f63a219_nsxv3_lbaas_l7policy.py | 2 +- .../versions/queens/expand/9799427fc0e1_nsx_tv_map.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vmware_nsx/db/migration/alembic_migrations/versions/queens/contract/717f7f63a219_nsxv3_lbaas_l7policy.py b/vmware_nsx/db/migration/alembic_migrations/versions/queens/contract/717f7f63a219_nsxv3_lbaas_l7policy.py index aaed97fa0a..803ef22666 100644 --- a/vmware_nsx/db/migration/alembic_migrations/versions/queens/contract/717f7f63a219_nsxv3_lbaas_l7policy.py +++ b/vmware_nsx/db/migration/alembic_migrations/versions/queens/contract/717f7f63a219_nsxv3_lbaas_l7policy.py @@ -30,7 +30,7 @@ revision = '717f7f63a219' down_revision = 'a1be06050b41' # milestone identifier, used by neutron-db-manage -neutron_milestone = [migration.QUEENS] +neutron_milestone = [migration.QUEENS, migration.ROCKY] def upgrade(): diff --git a/vmware_nsx/db/migration/alembic_migrations/versions/queens/expand/9799427fc0e1_nsx_tv_map.py b/vmware_nsx/db/migration/alembic_migrations/versions/queens/expand/9799427fc0e1_nsx_tv_map.py index deca649e53..83bd10262f 100644 --- a/vmware_nsx/db/migration/alembic_migrations/versions/queens/expand/9799427fc0e1_nsx_tv_map.py +++ b/vmware_nsx/db/migration/alembic_migrations/versions/queens/expand/9799427fc0e1_nsx_tv_map.py @@ -32,7 +32,7 @@ down_revision = 'ea7a72ab9643' plugin_type_enum = sa.Enum('dvs', 'nsx-v', 'nsx-t', name='nsx_plugin_type') # milestone identifier, used by neutron-db-manage -neutron_milestone = [migration.QUEENS] +neutron_milestone = [migration.QUEENS, migration.ROCKY] def upgrade():