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

2021-02-03 Thread Ondrej Zajicek
On Wed, Feb 03, 2021 at 07:19:50PM +0100, Vincent Bernat wrote: > 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. > > Currently, it is always enabled. T

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

2021-02-03 Thread Vincent Bernat
❦ 3 février 2021 21:27 +01, Job Snijders: > I recommend adjusting the patch in such a way that the capability is > only exchanged with specific neighbors where the capability has been > explicitly enabled through neighbor/group specific configuration. Yes, I'll do that. I am also OK with the pa

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

2021-02-03 Thread Job Snijders
Dear Vincent, Thank you for your contribution, running code always is an excellent way to move specifications for the purpose of interopability forward. I'd like to comment on my favorite topic... *** DEFAULTS :-) On Wed Feb 3 19:19:50 CET 202, you wrote: > > However, maybe the capability s

Re: Order of prefixes in "show" command

2021-02-03 Thread Ondrej Zajicek
On Wed, Feb 03, 2021 at 02:09:53PM +, Muzalewska, Klara wrote: > Hi, > In which order prefixes are displayed while doing : > “show route table ” ? Hi We use hash tables internally to implement routing tables, so routes are reported in order they are in the hash table (i.e. sorted by hash valu

[PATCH] BGP: Add support for BGP hostname capability

2021-02-03 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. Currently, it is always enabled. The hostname is retrieved from uname(2) and not configurable. The domain na

Re: JSON Route Table Displays

2021-02-03 Thread Asbjørn Sloth Tønnesen
Hi Jay, On 2/3/21 2:22 PM, Jay Hanke wrote: Is it possible to output the BIRD route table in JSON format from birdc? BIRD doesn't have any build in support for generating JSON, but there are two projects for using regular expressions for parsing birdc output: https://github.com/alice-lg/birdw

Re: JSON Route Table Displays

2021-02-03 Thread Toke Høiland-Jørgensen
Jay Hanke writes: > Is it possible to output the BIRD route table in JSON format from > birdc? Nope... -Toke

JSON Route Table Displays

2021-02-03 Thread Jay Hanke
Is it possible to output the BIRD route table in JSON format from birdc? Jay

Order of prefixes in "show" command

2021-02-03 Thread Muzalewska, Klara
Hi, In which order prefixes are displayed while doing : “show route table ” ? While doing this command with this same set of prefixes, it will always display in this same order? Best regards, Klara