]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Support IPv6 Router
authorAbishek Subramanian <absubram@cisco.com>
Mon, 30 Mar 2015 17:24:09 +0000 (13:24 -0400)
committerAbishek Subramanian <absubram@cisco.com>
Mon, 30 Mar 2015 17:32:46 +0000 (13:32 -0400)
commit07077bebb69da29994257d061d3a8d7ea9598c3d
treea221ce9caf417c407f91c1336fe6cce5d9abde98
parent0264074966c8f00cac06429366baf28c5fdb962b
Support IPv6 Router

Allow router-gateway-set to work even without an assigned
subnet with the net_id so as to enable IPv6 L3 routing
using the assigned LLA for the gateway.

The goal is to allow for IPv6 routing using just
the allocated LLA address for the gateway port to be
used as the external gateway to connect to the upstream
router. For this purpose router-gateway-set no
longer has a requirement of an assigned subnet.

A new config has also been added to the l3_agent.ini
to allow the user to set a valid ipv6_gateway address
to be used as the gateway for the default ::/0 route

If the ipv6_gateway config is not set and a gateway
is still created without a subnet, the gateway interface
will be configured to accept router advertisements (RAs)
from the upstream router so as to build the default route.

Unit test changes and additions reflect these changes.

APIImpact
DocImpact
UpgradeImpact

Implements: blueprint ipv6-router
Change-Id: Iaefa95f788053ded9fc9c7ff6845c3030c6fd6df
etc/l3_agent.ini
neutron/agent/l3/agent.py
neutron/agent/l3/config.py
neutron/agent/l3/router_info.py
neutron/agent/linux/interface.py
neutron/db/l3_db.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/test_l3_agent.py
neutron/tests/unit/test_l3_plugin.py