Re: aggregate6 - a fast versatile prefix list compressor

2017-12-01 Thread Job Snijders
On Fri, Dec 01, 2017 at 12:35:13PM -0500, Aliaksei Sheshka wrote: > On Thu, Nov 30, 2017 at 3:07 PM, Job Snijders wrote: > > I re-implemented the venerable 'aggregate' tool (by Joe Abley & co) > > in python under the name of 'aggregate6'. The 'aggregate6' tool is > > faster and also has IPv6 suppo

Re: aggregate6 - a fast versatile prefix list compressor

2017-12-01 Thread Aliaksei Sheshka
On Thu, Nov 30, 2017 at 3:07 PM, Job Snijders wrote: > Dear NANOG, > > I re-implemented the venerable 'aggregate' tool (by Joe Abley & co) in > python under the name of 'aggregate6'. The 'aggregate6' tool is faster > and also has IPv6 support. > > https://github.com/job/aggregate6 > Nice! "-t

Re: aggregate6 - a fast versatile prefix list compressor

2017-12-01 Thread Steve Atkins
> On Dec 1, 2017, at 2:16 AM, Elmar K. Bins wrote: > > na...@studio442.com.au (Julien Goodwin) wrote: > >>> The first optimisation is to remove any supplied prefixes which are >>> superfluous because they are already included in another supplied >>> prefix. For example, 2001:67c:208c:10::/64 wo

Re: aggregate6 - a fast versatile prefix list compressor

2017-12-01 Thread Job Snijders
On Fri, Dec 01, 2017 at 09:09:38PM +1100, Julien Goodwin wrote: > Will it catch cases like: > 10.0.0.0/24 10.0.1.0/24 10.0.2.0/23 -> 10.0.0.0/22 Yes it does! hanna:~ job$ echo 10.0.0.0/24 10.0.1.0/24 10.0.2.0/23 | aggregate6 10.0.0.0/22 hanna:~ job$ Kind regards, Job

Re: aggregate6 - a fast versatile prefix list compressor

2017-12-01 Thread Elmar K. Bins
na...@studio442.com.au (Julien Goodwin) wrote: > > The first optimisation is to remove any supplied prefixes which are > > superfluous because they are already included in another supplied > > prefix. For example, 2001:67c:208c:10::/64 would be removed if > > 2001:67c:208c::/48 was also supplied.

Re: aggregate6 - a fast versatile prefix list compressor

2017-12-01 Thread Julien Goodwin
On 01/12/17 07:27, Job Snijders wrote: > Someone suggested I should clarify what 'aggregate6' actually does :-) > > aggregate6 takes a list of IPv4 and/or IPv6 prefixes in conventional > format, and performs two optimisations to attempt to reduce the length > of the prefix list. > > The first opt

Re: aggregate6 - a fast versatile prefix list compressor

2017-11-30 Thread Job Snijders
Someone suggested I should clarify what 'aggregate6' actually does :-) aggregate6 takes a list of IPv4 and/or IPv6 prefixes in conventional format, and performs two optimisations to attempt to reduce the length of the prefix list. The first optimisation is to remove any supplied prefixes which ar