]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
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>
Tue, 21 May 2019 08:28:20 +0000 (11:28 +0300)
commit25b5da8d50f366d52017a91dbb0e7ce8b752734e
treeea50f909e903b2b4be78241c6f2722aa6a9f0a66
parent84cdd5b375bb53fdcb25e3e9989af526cfa9983f
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]