]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Raise exception if ipv6 prefix is inappropriate for address mode
authorEugene Nikanorov <enikanorov@mirantis.com>
Sun, 24 Aug 2014 20:59:02 +0000 (00:59 +0400)
committerKyle Mestery <mestery@mestery.com>
Tue, 7 Oct 2014 16:04:48 +0000 (16:04 +0000)
commita56a35572d7b7d4b534825fe7b4f681028121a74
treeb35ce9c0e14246d4b470b1818871c2152c00b9aa
parent205162f58050fcb94db53cd51b674d2093dfe700
Raise exception if ipv6 prefix is inappropriate for address mode

Address prefix to use with slaac and stateless ipv6 address modes
should be equal to 64 in order to work properly.
The patch adds corresponding validation and fixes unit tests
accordingly.

Change-Id: I6c344b21a69f85f2885a72377171f70309b26775
Closes-Bug: #1357084
(cherry picked from commit 0d8911115e1b722da2f1e92f444e53b22223ee32)
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/test_db_plugin.py