]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Be careful about displaying vni's as labels.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 15 Oct 2019 01:09:55 +0000 (21:09 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 15 Oct 2019 01:17:16 +0000 (21:17 -0400)
commita51743300c3a05fba849b45099b8095a8610a905
tree01223e1d0b0363d5d89f4d8b937cf7a57af46d02
parent6b74234908e9d25857dfdc4f13ef3951092b663d
bgpd: Be careful about displaying vni's as labels.

When a type 2/3 or 5 route is received, verified and the
resulting route generated is pushed into the appropriate vrf
the vni's associated with the route are also passed in.
This is showing up as a Remote label when you dump
the route in bgp:

BGP routing table entry for 0.0.0.0/0^M
Paths: (1 available, best #1, table third)
   Advertised to non peer-group peers:
   10.10.120.22
   42001 42005 42006 42055
     10.10.120.22 from 10.10.120.22 (10.10.255.193)
       Origin IGP, valid, external, bestpath-from-AS 42001, best
       Remote label: 62750
       AddPath ID: RX 0, TX 2
       Last update: Fri Oct 11 12:59:56 2019

The `Remote label: 62750` is the mpls label version of the
vni passed in.  This is meaningless and confusing to the end
user.  Do not display this information.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c