]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
bug 1057844: improve floating-ip association checks
authorDan Wendlandt <dan@nicira.com>
Tue, 20 Nov 2012 22:09:19 +0000 (14:09 -0800)
committerDan Wendlandt <dan@nicira.com>
Tue, 20 Nov 2012 22:09:19 +0000 (14:09 -0800)
commit86436a661b4cdb2aedc3c55ce37ba38c03f37e3f
treebbe7b66d2d2b7eb59f01d383d7e6a34c647254c4
parentb23940c3196e58d0d161953aff2c0397d4f6415b
bug 1057844: improve floating-ip association checks

allow multiple floating ips to be associated with the same internal port
as long as they map to different external nets (not yet supported in
Folsom) or different internal fixed IPs.  With Quantum, there is no
need to disallow either scenario.

Also improve check for a valid external network to router to internal
subnet path when a floating IP is bound.

Change-Id: Iced675e1f064172ee8a5bb6b9e37032e83af5711
quantum/db/l3_db.py
quantum/extensions/l3.py
quantum/tests/unit/test_l3_plugin.py