]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Support BP:ipv6-router in Neutron HA Router
authorsridhargaddam <sridhar.gaddam@enovance.com>
Tue, 14 Apr 2015 08:03:49 +0000 (08:03 +0000)
committersridhargaddam <sridhar.gaddam@enovance.com>
Mon, 11 May 2015 09:33:01 +0000 (09:33 +0000)
commit89489d2720c80c3465e36dad566aa835215fb92e
treee4c042383d393f1f91a059ff9bb6bfaa4e9df256
parent62ccf394c21eed132277b87b2428632efb07f1b0
Support BP:ipv6-router in Neutron HA Router

blueprint ipv6-router (ChangeID:Iaefa95f788053ded9fc9c7ff6845c3030c6fd6df),
supports an IPv6 Router where the router gateway port has no subnet.

The BP implements the following. If an external network (without any subnet)
is attached to the Neutron router, it reads the ipv6_gateway config parameter
(LLA of upstream router) from l3_agent.ini file and adds a default route that
points to this LLA.  If the ipv6_gateway config value is not configured, it
would configure the gateway interface to accept router advts from upstream
router to build the default route.

For an HA router, we would have to configure keepalived to perform this
operation. This patch extends the functionality to an HA router.

Implements: blueprint ipv6-router
Change-Id: I26dc5ce9e46c74423358aa8a9559bc6c7cbdf85e
neutron/agent/l3/ha_router.py
neutron/agent/l3/router_info.py
neutron/agent/linux/interface.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/agent/l3/test_agent.py