Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-2749

[BGP] Dynamic routing - add capabilities to OVN routers to only advertise (no learning) routes

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • OVN
    • None
    • [BGP] Dynamic routing - add capabilities to OVN routers to only advertise (no learning) routes
    • False
    • False
    • Hide

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given a logical router with options:dynamic-routing=true, options:dynamic-routing-vrf-id=42, options:dynamic-routing-redistribute=connected, and options:dynamic-routing-no-learning=true,

      When the router's connected subnet 10.1.1.0/24 exists and VRF-42 contains external route 192.168.1.0/24 learned from BGP peer,

      Then, VRF-42 routing table contains route 10.1.1.0/24 via the OVN port and the southbound learned_route table for this router's datapath contains zero entries.


      ( ) The epics work is available in a downstream build (nightly/async or other)


      ( ) Test coverage is available in downstream CI if applicable


      ( ) All cards under the epic have been moved to Done


      ( ) Failed Test Plans have bugs added as children to the epic/feature.

      Show
      Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given a logical router with options:dynamic-routing=true, options:dynamic-routing-vrf-id=42, options:dynamic-routing-redistribute=connected, and options:dynamic-routing-no-learning=true, When the router's connected subnet 10.1.1.0/24 exists and VRF-42 contains external route 192.168.1.0/24 learned from BGP peer, Then, VRF-42 routing table contains route 10.1.1.0/24 via the OVN port and the southbound learned_route table for this router's datapath contains zero entries. ( ) The epics work is available in a downstream build (nightly/async or other) ( ) Test coverage is available in downstream CI if applicable ( ) All cards under the epic have been moved to Done ( ) Failed Test Plans have bugs added as children to the epic/feature.
    • FDP-2753 - OVN-Kubernetes native BGP convergence
    • rhel-9
    • FDP-2753OVN-Kubernetes native BGP convergence
    • rhel-net-ovn
    • 100% To Do, 0% In Progress, 0% Done
    • ssg_networking

      This epic tracks all the effort needed to deliver the solution related to the feature request described below.

      What's the feature?

      Today OVN's BGP support allows OVN to advertise and learn routes to/from a host VRF routing table if the logical router is configured with "dynamic-routing=true" and "dynamic-routing-redistribute=....".

      However, learning and advertising of routes is tightly coupled, in the sense that a logical router cannot be configured today to only advertise routes (without learning dynamic ones that were installed in the VRF).

      Why is it needed?

      In topologies with different routers (that are local datapaths from ovn-controller's perspective) users might want to configure OVN dynamic routing in the following way:

      a. router1 configured to monitor VRF-ID=42 and learn routes from it (no advertisements)
      b. router2 configured to monitor VRF-ID=42 and advertise routes to it (no learning)

      This could be exposed through a new configuration option for logical routers, e.g.:
      NB.Logical_Router.options:dynamic-routing-no-learning=true|false (default false)

      Who will benefit? 

      ovn-kubernetes when moving to OVN's native dynamic-routing integration support.

              ovnteam@redhat.com OVN Team
              dceara@redhat.com Dumitru Ceara
              OVN QE OVN QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: