]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Include IPv6 SLAAC addresses implicitly for port update
authorDane LeBlanc <leblancd@cisco.com>
Mon, 16 Mar 2015 16:27:34 +0000 (12:27 -0400)
committerDane LeBlanc <leblancd@cisco.com>
Wed, 18 Mar 2015 14:43:13 +0000 (14:43 +0000)
commite1377425b7586b2071340f39796669d2e593f145
tree703b891ac1cc708c665d98f209ca4f87b9858f65
parent259f969c030491690f1e6c856b505acbb0746657
Include IPv6 SLAAC addresses implicitly for port update

(Patch set #4 for the multiple-ipv6-prefixes blueprint)

This change adds functional code and UT for port-update
handling changes as described in the Neutron blueprint
'multiple-ipv6-prefixes'.

Whenever a port is updated on a network that includes one
or more auto-address subnets (e.g. SLAAC or DHCPv6-stateless),
then any addresses that the port previously had for those
subnets needs to be implicitly retained for the update
operation. This patch set adds this implicit retention
of the auto-addresses for port update operation.

Change-Id: I91687d05a48bc3938e4bf34a7c454823a500730c
Partially-implements: blueprint multiple-ipv6-prefixes
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/test_db_plugin.py