octavia/octavia/amphorae
Hang Yang 86452d5d75 Fix prefix for vip_ipv6
Currently we calculate prefix based on netmask when writing the vip
interface file. Since netmask has been converted to prefix in ipv6,
this patch will avoid converting it to prefix twice which could
result in a wrong prefix length.

Also fix a bug in another test that relies on osutils, but wasn't
mocking correctly.

Conflicts:
    octavia/amphorae/backends/agent/api_server/osutils.py

Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: I9ee0cce12a975f4ab8f3df2707b355aab35c6cb3
(cherry picked from commit b2162c39a2)
(cherry picked from commit 34fcaee9a7)
2019-02-04 20:28:40 +00:00
..
backends Fix prefix for vip_ipv6 2019-02-04 20:28:40 +00:00
driver_exceptions import _ from octavia.i18n 2017-10-13 21:35:21 +08:00
drivers Fix IPv6 in Active/Standby topology 2019-02-04 20:28:34 +00:00
__init__.py Initial directory skeleton 2014-09-04 15:28:10 -06:00