From 28c93a44766b205747e10308e77ed6b9dbe65a43 Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Sun, 5 Feb 2017 08:24:14 -0800 Subject: [PATCH] Tag the alembic migration revisions for Ocata Change-Id: Ia7bfa3accb5dbe5a53f4d0da393050bd1edc126b --- neutron/db/migration/__init__.py | 1 + .../ocata/expand/a9c43481023c_extend_ml2_port_bindings.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/neutron/db/migration/__init__.py b/neutron/db/migration/__init__.py index f0ac982a744..dad19514f8c 100644 --- a/neutron/db/migration/__init__.py +++ b/neutron/db/migration/__init__.py @@ -27,6 +27,7 @@ LIBERTY = 'liberty' MITAKA = 'mitaka' NEWTON = 'newton' OCATA = 'ocata' +PIKE = 'pike' NEUTRON_MILESTONES = [ # earlier milestones were not tagged diff --git a/neutron/db/migration/alembic_migrations/versions/ocata/expand/a9c43481023c_extend_ml2_port_bindings.py b/neutron/db/migration/alembic_migrations/versions/ocata/expand/a9c43481023c_extend_ml2_port_bindings.py index 6fa702ec874..9cd4c2cb51f 100644 --- a/neutron/db/migration/alembic_migrations/versions/ocata/expand/a9c43481023c_extend_ml2_port_bindings.py +++ b/neutron/db/migration/alembic_migrations/versions/ocata/expand/a9c43481023c_extend_ml2_port_bindings.py @@ -30,9 +30,11 @@ import sqlalchemy as sa from sqlalchemy.engine.reflection import Inspector as insp from neutron.common import constants +from neutron.db import migration MYSQL_ENGINE = 'mysql' ML2_PORT_BINDING = 'ml2_port_bindings' +neutron_milestone = [migration.OCATA] def upgrade():