1 # Copyright 2015 Cisco Systems, Inc.
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
16 """Drop cisco monolithic tables
18 Revision ID: 4af11ca47297
20 Create Date: 2015-08-13 08:01:19.709839
24 from alembic import op
26 from neutron.db import migration
29 # revision identifiers, used by Alembic.
30 revision = '4af11ca47297'
31 down_revision = '11926bcfe72d'
33 # milestone identifier, used by neutron-db-manage
34 neutron_milestone = [migration.LIBERTY]
38 op.drop_table('cisco_n1kv_port_bindings')
39 op.drop_table('cisco_n1kv_network_bindings')
40 op.drop_table('cisco_n1kv_multi_segments')
41 op.drop_table('cisco_provider_networks')
42 op.drop_table('cisco_n1kv_trunk_segments')
43 op.drop_table('cisco_n1kv_vmnetworks')
44 op.drop_table('cisco_n1kv_profile_bindings')
45 op.drop_table('cisco_qos_policies')
46 op.drop_table('cisco_credentials')
47 op.drop_table('cisco_n1kv_vlan_allocations')
48 op.drop_table('cisco_n1kv_vxlan_allocations')
49 op.drop_table('cisco_network_profiles')
50 op.drop_table('cisco_policy_profiles')