]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Show FQDN in `show [ip] bgp` output
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 20 May 2019 13:43:01 +0000 (16:43 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Thu, 30 May 2019 14:10:51 +0000 (17:10 +0300)
commitfdfd87fef23cd2abda6956ab61baf02b2c13d685
tree8465f6ed916052f86b1384d88eb8d2bd833f0213
parent22b01311b5c0449bdf2bd024ea7119426ce9d780
bgpd: Show FQDN in `show [ip] bgp` output

We already show this information in `show [ip] bgp <prefix`, thus why don't
show it in global output. It's very handy when using at scale and to see
the whole picture instead of resolving neighbor manually.

It will show FQDN only if `bgp default show-hostname` is toggled.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_route.c
tests/topotests/bgp_show_ip_bgp_fqdn/__init__.py [new file with mode: 0644]
tests/topotests/bgp_show_ip_bgp_fqdn/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_show_ip_bgp_fqdn/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_show_ip_bgp_fqdn/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_show_ip_bgp_fqdn/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_show_ip_bgp_fqdn/test_bgp_show_ip_bgp_fqdn.py [new file with mode: 0644]