yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #77263
[Bug 1784590] Re: neutron-dynamic-routing bgp agent should have options for MP-BGP
Reviewed: https://review.openstack.org/608302
Committed: https://git.openstack.org/cgit/openstack/neutron-dynamic-routing/commit/?id=fc2dae7c93eb8606bcf0c77b6691595f69502c20
Submitter: Zuul
Branch: master
commit fc2dae7c93eb8606bcf0c77b6691595f69502c20
Author: Ryan Tidwell <rtidwell@xxxxxxxx>
Date: Fri Oct 5 10:45:38 2018 -0500
Enable MP-BGP capabilities in Ryu BGP driver
This change enables all capabilties regardless of peer address
family, thereby enabling announcement of IPv6 prefixes over IPv4
sessions and vice-versa. Peers can opt in/out with capabilities
configured on the remote end of the session.
Change-Id: I7b241cdfddcecbdd8cdde2e88de35b9be6982451
Closes-Bug: #1784590
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1784590
Title:
neutron-dynamic-routing bgp agent should have options for MP-BGP
Status in neutron:
Fix Released
Bug description:
neutron-dynamic-routing
The implementation of BGP with Ryu supports IPv4 and IPv6 peers but
the MP-BGP capabilities is announced based on if the peer is a v4 or
v6 address.
If you want to use a IPv4 peer but announce IPv6 prefixes this will
not work because in services/bgp/agent/driver/ryu/driver.py in the
function add_bgp_peer() it disables the IPv6 MP-BGP capability if the
peer IP is a IPv4 address.
This should be extended to support setting the capabilities manually,
if you change the enable_ipv6 variable in the add_bgp_peer() function
to True it will correctly announce IPv6 prefixes over the IPv4 BGP
peer if the upstream router (the other side) supports the MP-BGP IPv6
capability.
Should be easy to implement with a "mode" config option that can be
set to auto or manual and then options to override the capabilities.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1784590/+subscriptions
References