]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Limit router gw ports' stateful fixed IPs to one per address family
authorAndrew Boik <dboik@cisco.com>
Wed, 25 Mar 2015 20:05:41 +0000 (16:05 -0400)
committerAndrew Boik <dboik@cisco.com>
Sat, 9 May 2015 23:01:00 +0000 (23:01 +0000)
commit95d0985f5e8442d88e1495b1fbe4a2ddc32e8f21
tree7cb86d91717f12dae65c28281cf09c074fc6f591
parent696239b39282e99f07378cad1bd63d6021cde492
Limit router gw ports' stateful fixed IPs to one per address family

Validate a router's gateway port during a router update by ensuring
it has no more than one v4 fixed IP and one v6 (statefully-assigned)
fixed IP.

Note that there is no limit on v6 addresses from SLAAC and
DHCPv6-stateless subnets as they are automatically allocated.

Change-Id: I6a328048b99af39ab9497fd9f265d1a9b95b7148
Closes-Bug: 1438819
Partially-implements: blueprint multiple-ipv6-prefixes
(cherry picked from commit 1bfd86e1ef7148370798aa99c868d7f931fcbf78)
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/extensions/test_l3.py