]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
No IPv6 SLAAC addrs for create router intf without fixed_ips
authorDane LeBlanc <leblancd@cisco.com>
Sun, 15 Mar 2015 00:54:16 +0000 (20:54 -0400)
committerDane LeBlanc <leblancd@cisco.com>
Wed, 25 Mar 2015 19:00:51 +0000 (15:00 -0400)
commitd74603cb8136bf8b9574e7197892f8f762221688
tree739dec762ebe4513456963c5cb47457f22e5c45a
parent88f7e3aed68e3abf6f9d97c26ad9ba6d01d34e7b
No IPv6 SLAAC addrs for create router intf without fixed_ips

Consider the following sequence:
- Create a neutron network
- Create multiple subnets on the network, including one or more IPv6 SLAAC
  subnets
- Create a router port on the network without specifying fixed_ips

The port created in this case is incorrectly getting associated with
addresses from the SLAAC subnet(s). This patch corrects this
behavior.

Change-Id: Ic0ab2294c5487f85baade8f879946dfe738d109b
Closes-Bug: 1432270
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/test_db_plugin.py