]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add missing ondelete option to Cisco N1kv tables
authorAbhishek Raut <abhraut@cisco.com>
Sun, 9 Mar 2014 14:26:29 +0000 (07:26 -0700)
committerAbhishek Raut <abhraut@cisco.com>
Sun, 9 Mar 2014 14:31:12 +0000 (07:31 -0700)
commitccfe47d4b9c2abaa25b3b2a2dc655c32beb0b377
treebb6255f4e2f4cd7181f873901023d43ef7fa7880
parent0009e474e23c84e5952696e4fc423fd69c9ed74d
Add missing ondelete option to Cisco N1kv tables

Update the DB migration script, which creates the Cisco N1kv tables,
to include the ondelete='CASCADE' option in network and port
binding tables. This allows proper clean up of network and port
binding entries on respective delete operations, when the tables
are populated via DB migration script.

Closes-Bug: #1294434

Change-Id: I5dad7bd718b75cfd8825b08336e834d64bddd196
neutron/db/migration/alembic_migrations/versions/c88b6b5fea3_cisco_n1kv_tables.py