]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_open.h
bgpd: Exchange hostname capability and display hostnames in output
authorDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 11 Sep 2015 03:10:16 +0000 (20:10 -0700)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 11 Sep 2015 03:10:16 +0000 (20:10 -0700)
commit04b6bdc0ee6275442464edec1d14b3f4d3eaa246
tree402996c2ef60c5a4ed2f03a0a8e63d3ec7c8c154
parent404504b1254c15b5caccd8648b2d62e72d9d4ad1
bgpd: Exchange hostname capability and display hostnames in output

This patch adds a hostname capability. The node's hostname and
domainname are exchanged in the new capability and used in show command
outputs based on a knob enabled by the user. The hostname and domainname
can be a maximum of 64 chars long, each.

Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Vivek Venkataraman <vivek@cumulusnetworks.com>
Ticket: CM-5660
Reviewed By: CCR-2563
Testing Done:
bgpd/bgp_debug.c
bgpd/bgp_fsm.c
bgpd/bgp_open.c
bgpd/bgp_open.h
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h