-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
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()
- relates to
-
HC2VPP-174 BGP to VPP FIB translation for IP unicast family
-
- Done
-