]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix IP allocation for multiple slaac subnets
authorXu Han Peng <xuhanp@cn.ibm.com>
Wed, 14 Jan 2015 06:15:49 +0000 (14:15 +0800)
committerXu Han Peng <xuhanp@cn.ibm.com>
Wed, 14 Jan 2015 16:53:59 +0000 (00:53 +0800)
commit1dac7c43471f18ea83784986b5ffeab83e26323b
tree5aa6aad7259af2f2fcd2e26679290f44f082b40b
parent2c94b10d741f3a9d96b548cc051850467468c8de
Fix IP allocation for multiple slaac subnets

Currently when one network contains multiple IPv6 slaac
subnets, the IP allocation for the port on this network
is not correct. Only the first fixed ip is based on EUI64.
This is caused by a wrong usage of removing element in list.

Change-Id: I1b0a478997371afeae34c0536d5fed7a18223f63
Closes-Bug:1358709
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/test_db_plugin.py