]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add database relationship between router and ports
authorMark McClain <mmcclain@yahoo-inc.com>
Wed, 8 Oct 2014 18:49:20 +0000 (18:49 +0000)
committerKyle Mestery <mestery@mestery.com>
Wed, 8 Oct 2014 23:57:11 +0000 (23:57 +0000)
commit8e76cccb1ed9a248439b1188d1d805649169e46b
treed979e3508e30db901fd7f0965580f191ac0440be
parent5610343d5aab876480cbe15c8d77631e67d6142f
Add database relationship between router and ports

Add an explicit schema relationship between a router and its ports. This
change ensures referential integrity among the entities and prevents orphaned
ports.

Change-Id: I09e8a694cdff7f64a642a39b45cbd12422132806
Closes-Bug: #1378866
(cherry picked from commit 93012915a3445a8ac8a0b30b702df30febbbb728)
neutron/db/l3_db.py
neutron/db/l3_dvr_db.py
neutron/db/migration/alembic_migrations/versions/544673ac99ab_add_router_port_table.py [new file with mode: 0644]
neutron/db/migration/alembic_migrations/versions/HEAD