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

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

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • OVN
    • False
    • False
    • Hide

      ( ) The new test plan is aligned with the epic's acceptance criteria

      Given an OCP cluster with remote tunnel endpoints learned via BGP and a virtual network port linked to a configured Linux bridge,

      When OVN adds MAC and IP addresses of local switch ports to the bridge’s forwarding and neighbor tables,

      Then OVN enables FRR to advertise these MAC and IP pairs to remote peers.

      ( ) The test plan/test case pass successfully on all non blocking functions of the feature

      Show
      ( ) The new test plan is aligned with the epic's acceptance criteria Given an OCP cluster with remote tunnel endpoints learned via BGP and a virtual network port linked to a configured Linux bridge, When OVN adds MAC and IP addresses of local switch ports to the bridge’s forwarding and neighbor tables, Then OVN enables FRR to advertise these MAC and IP pairs to remote peers. ( ) The test plan/test case pass successfully on all non blocking functions of the feature
    • rhel-9
    • None
    • 3
    • OVN FDP Sprint 12
    • 1

      This task is tracking the test case writing activities to cover 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

              ovnteam@redhat.com OVN Team
              nstbot NST Bot
              Jianlin Shi Jianlin Shi
              OVN
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: