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

[BGP] Dynamic routing advertisements - per NAT, LB, LRP, LSP options (opt-in) to advertise IP/prefixes

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • OVN
    • None
    • [BGP] Dynamic routing advertisements - per NAT, LB, LRP, LSP options (opt-in) to advertise IP/prefixes
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

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

      ( ) The acceptance criteria defined below are met.


      ( ) 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. ( ) 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?

      If a router/switch has dynamic-routing=true (existing option) and (new option) dynamic-routing-advertise-per-object=true (default=false) then:

      FOR logical routers with dynamic-routing-advertise set:

      • if dynamic-routing-redistribute ~ connected-as-host
        • advertise LSP IPs if LSP.option.dynamic-routing-advertise=true
        • advertise LRP IPs if LRP.option.dynamic-routing-advertise=true
      • if dynamic-routing-redistribute ~ nat/lb
        • advertise NAT/LB IPs if NAT/LB.option.dynamic-routing-advertise=true
      • if dynamic-routing-redistribute ~ static
        • advertise static route prefix if Static_Route.option.dynamic-routing-advertise=true

      FOR EVPN logical switches with dynamic-routing-advertise set:

      • if dynamic-routing-redistribute ~ fdb/ip
        • advertise LSP IPs/MAC if LSP.option.dynamic-routing-advertise=true

      Why is it needed?

      Today, if dynamic-routing-redistribute=connected-as-host/lb/nat/static/fdb/ip is set for a logical router (port) then OVN indiscriminately advertises the IPs (or prefixes) of all the matching records (NATs, LB VIPs, LSP IPs/MACs, LRP IPs/MACs, static route prefixes).

      However, some CMS might want more granularity and selectively configure which of the records should be advertised.  For example, if dynamic-routing-redistribute=nat and the logical router has three NAT entries defined:

      1. NAT1-public-IP -> NAT1-logical-IP
      2. NAT2-public-IP -> NAT2-logical-IP
      3. NAT3-public-IP -> NAT3-logical-IP

      The CMS might want to only advertise NAT1-public-IP and NAT3-public-IP.  Without an explicit, per NAT option, this wouldn't be possible.

      As we don't want to change the current default behavior, this feature needs to be opt-in, globally enabled per router through the new LR.options:dynamic-routing-advertise-per-object=true|false (default false) option.

      Who will benefit? 

      ovn-kubernetes transitioning to use OVN's native BGP support.  Potentially neutron-ovn too.

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

                Created:
                Updated: