Initialize alembic branches for vmware-nsx repo
Add alembic migration branch for vmware-nsx repo. Scripts for new tables owned by vmware-nsx must now be added here. Partially-Implements: blueprint online-schema-migrations Change-Id: Ia3b805bb7a4583c96c61f322a45a91db0d67cc9c
This commit is contained in:
parent
87c9b39288
commit
10fa4d2869
@ -24,6 +24,8 @@ packages =
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
neutron-check-nsx-config = vmware_nsx.neutron.plugins.vmware.check_nsx_config:main
|
||||
neutron.db.alembic_migrations =
|
||||
vmware-nsx = vmware_nsx.neutron.db.migration:alembic_migrations
|
||||
neutron.service_plugins =
|
||||
vmware_nsx_l2gw = vmware_nsx.neutron.services.l2gateway.plugin:NsxL2GatewayPlugin
|
||||
vmware_nsx.neutron.nsxv.router_type_drivers =
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright ${create_date.year} VMware, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
"""${message}
|
||||
|
||||
Revision ID: ${up_revision}
|
||||
Revises: ${down_revision}
|
||||
Create Date: ${create_date}
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = ${repr(up_revision)}
|
||||
down_revision = ${repr(down_revision)}
|
||||
% if branch_labels:
|
||||
branch_labels = ${repr(branch_labels)}
|
||||
%endif
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
${imports if imports else ""}
|
||||
|
||||
|
||||
def upgrade():
|
||||
${upgrades if upgrades else "pass"}
|
@ -0,0 +1,3 @@
|
||||
393bf843b96
|
||||
53a3254aa95e
|
||||
kilo
|
@ -0,0 +1,32 @@
|
||||
# Copyright 2015 VMware, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
"""Initial Liberty no-op contract script.
|
||||
|
||||
Revision ID: 393bf843b96
|
||||
Revises: None
|
||||
Create Date: 2015-08-13 07:26:21.891165
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '393bf843b96'
|
||||
down_revision = None
|
||||
branch_labels = ('liberty_contract',)
|
||||
depends_on = ('kilo',)
|
||||
|
||||
|
||||
def upgrade():
|
||||
pass
|
@ -0,0 +1,32 @@
|
||||
# Copyright 2015 VMware, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
"""Initial Liberty no-op expand script.
|
||||
|
||||
Revision ID: 53a3254aa95e
|
||||
Revises: None
|
||||
Create Date: 2015-08-13 06:34:29.842396
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '53a3254aa95e'
|
||||
down_revision = None
|
||||
branch_labels = ('liberty_expand',)
|
||||
depends_on = ('kilo',)
|
||||
|
||||
|
||||
def upgrade():
|
||||
pass
|
Loading…
Reference in New Issue
Block a user