]> 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>
Thu, 7 May 2015 20:06:16 +0000 (20:06 +0000)
commit1bfd86e1ef7148370798aa99c868d7f931fcbf78
treec011a72f871343a79859a8a0eb9d426d2cf64262
parent5cb06a0d5787da15aefb6f53e0577a8658502059
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
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/extensions/test_l3.py