]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_zebra.c
bgpd, zebra: Add ability for bgp to send AS-Path information to zebra
authorDonald Sharp <sharpd@nvidia.com>
Sat, 5 Dec 2020 20:34:59 +0000 (15:34 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 8 Dec 2020 14:07:21 +0000 (09:07 -0500)
commite46723a50e4f7d07f8b924780354e54dbedf2753
treeedfcfcb068059fc4038a31580937630a9f6878de
parentcfa2a35d8d0abc746d0d557e22556bacac1431c0
bgpd, zebra: Add ability for bgp to send AS-Path information to zebra

Add a bit of code to allow bgp to send the AS-Path associated with
the route being installed to zebra so it can be displayed and
used as part of the `show ip route A` command in zebra.

eva# show ip route 20.0.0.0/11
Routing entry for 20.0.0.0/11
  Known via "bgp", distance 20, metric 0, best
  Last update 00:00:00 ago
  * 192.168.161.1, via enp39s0, weight 1
    AS-Path: 60000 64539 15096 6939 8075

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_vty.c
bgpd/bgp_zebra.c
bgpd/bgpd.c
bgpd/bgpd.h
zebra/zebra_vty.c