Uploaded image for project: 'hc2vpp'
  1. hc2vpp
  2. HC2VPP-177

BGP multiple path to VPP FIB transation

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • bgp
    • None

      ODL's BGP supports ADD-PATH capability (https://tools.ietf.org/html/rfc7911)
      which allows to advertise multiple paths for the same address prefix.

       

      Current IPv4/IPv6 unicast BGP loc-rib to VPP FIB translation might not properly support

      such case, because IpAddDelRoute.nextHopWeight is always set to 0.

       

      To calculate request.nextHopWeight (lower we can use:
      https://tools.ietf.org/html/rfc4271#section-5.1.5
      The higher degree of preference MUST be preferred

      LocalPref localPref = dataAfter.getAttributes().getLocalPref();
       

      or
      https://tools.ietf.org/html/rfc7311#section-3
      accumulated IGP metric

      dataAfter.getAttributes().getAigp()

       

      or
      MULTI_EXIT_DISC - optional non-transitive attribute used to determine most preferred exit point (lower metric SHOULD be preferred)
      https://tools.ietf.org/html/rfc4271#section-5.1.4

      dataAfter.getAttributes().getMultiExitDisc();

      or

      path identifier provided by peer
      dataAfter.getKey().getPathId()

            Unassigned Unassigned
            mgradzki Marek Gradzki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: