]> 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)
committerMark McClain <mmcclain@yahoo-inc.com>
Thu, 9 Oct 2014 12:41:00 +0000 (12:41 +0000)
commit93012915a3445a8ac8a0b30b702df30febbbb728
tree8b782f2408c311b1990d3854f0b9c53315011295
parentd217543ea05f7be2b01630afa76148bf1c0b48bb
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
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