]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Support multiple IPv6 prefixes on internal router ports for an HA Router
authorsridhargaddam <sridhar.gaddam@enovance.com>
Mon, 20 Apr 2015 10:29:54 +0000 (10:29 +0000)
committerIhar Hrachyshka <ihrachys@redhat.com>
Mon, 1 Jun 2015 12:50:58 +0000 (12:50 +0000)
commitb04ca9e2fbaffb4b553127bd08bf80fab5605954
tree9c4caaf6672eb5b307bd406b9e816a7cde015b0c
parent4d53e362253e3b42884532ea4dddf403f6bcacc0
Support multiple IPv6 prefixes on internal router ports for an HA Router

As part of BP multiple IPv6 prefixes, we can have multiple IPv6 prefixes on
router internal ports. Patch, I7d4e8194815e626f1cfa267f77a3f2475fdfa3d1, adds
the necessary support for a legacy router.

For an HA router, instead of configuring the addresses on the router internal
ports we should be updating the keepalived config file and let keepalived
configure the addresses depending on the state of the router.

Following are the observations with the current code for an HA router.
1. IPv6 addresses are configured on the router internal ports (i.e., qr-xxx)
   irrespective of the state of the router. As the same IP is configured on multiple
   ports you will notice dadfailed status on the ports.
2. Keepalived configuration is not updated with the new IPv6 addresses.

This patch addresses the above issues for an HA Router.

Closes-Bug: #1446161
Partially-implements: blueprint multiple-ipv6-prefixes
Change-Id: Icb9a0e4e6e5deafbdc0135ce7e6b100b1725df66
(cherry picked from commit 99de7cdf700218a54fa6fc2e194cca3ccb35abd4)
neutron/agent/l3/ha_router.py
neutron/agent/l3/router_info.py
neutron/tests/functional/agent/test_l3_agent.py