← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1784590] [NEW] neutron-dynamic-routing bgp agent should have options for MP-BGP

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups