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

Upstream: [EVPN] Add support for OVN VIF IP advertisements through L3 EVPN.

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • ovn26.03
    • None
    • 13
    • Hide

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

      ( ) Integration test case are written and pass successfully


      ( ) The upstream pull request is merged upstream and pass CI

      Show
      Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) Integration test case are written and pass successfully ( ) The upstream pull request is merged upstream and pass CI
    • ovn26.03-26.03.0-alpha.134.el9fdp
    • rhel-9
    • None
    • rhel-net-ovn
    • OVN FDP Sprint 10, OVN FDP Sprint 11
    • 2

      This is tracking the upstream effort needed to deliver the feature request described below.


      In specific deployments, e.g., with BGP EVPN configured for OVN logical switches / routers (the BGP control plane is executed outside of OVN), OVN owned IP addresses should be advertised to the fabric (EVPN).

      OVN should provide a way for users to configure an OVN logical switch to install (Linux) FDB and ip neigh entries (for all IPs owned by logical switch ports that are bound locally) into the tables of a Linux (VRF) bridge that's used by the control plane (e.g., FRR) to advertise MAC addresses through EVPN.

      Notes on potential implementation details:

      • OVN already supports dynamic route redistribution - blackhole routes are injected through netlink into the VRF associated to an OVN router that has dynamic route redistribution enabled
      • this mechanism could be extended to allow injecting static Linux FDB and IP neigh entries into such VRFs - the control plane (e.g., FRR) would then take care of advertising these mac and IP address mappings through EVPN
      • a prerequisite seems to be that a loopback interface must exist (e.g., created by the CMS) and must be attached to the Linux bridge used by FRR for EVPN; static FDB/neigh records must be added using this loopback interface

      E.g., simulate the effect of ovn-controller injecting FDB and neigh entries for a MAC and IP on VNI 20:

      vni=20
      podman exec $h1 ip neigh add dev br-$vni 42.42.1.$vni lladdr 00:01:42:42:00:$vni nud permanent
      podman exec $h1 bridge fdb add 00:01:42:42:00:$vni dev lo-$vni master static

              lorenzobianconi lorenzo bianconi
              nstbot NST Bot
              OVN QE OVN QE (Inactive)
              OVN
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: