Re: [PATCH] BGP: Add support for BGP hostname capability

2021-02-05 Thread Vincent Bernat
❦ 3 février 2021 23:37 +01, Ondrej Zajicek: > 1) Hostname has similar role like router id. It seems to me that there > should be global hostname config property, like config->router_id, > initialized like router_id in global_commit(). Done. Use `hostname "bla"` > 2) Consequently, there should

[PATCH v2] BGP: Add support for BGP hostname capability

2021-02-05 Thread Vincent Bernat
This is an implementation of draft-walton-bgp-hostname-capability-02. It's implemented since quite some time for FRR and in datacenter, this gives a nice output to avoid using IP addresses. It is disabled by default. The hostname is retrieved from uname(2) and can be overriden with "hostname". The