Dear all, py-aggregate6 is a python replacement for the net/aggregate tool. It's faster, and capable of optimising lists of IPv6 prefixes. It can also be used as python library.
Example:
$ echo 2000::/4 2001:67c:208c::/48 3000::/4 | aggregate6
2000::/3
Kind regards,
Job
pkg/DESCR:
aggregate6 takes a list of IPv4 and IPv6 prefixes in conventional
format on stdin, and performs two optimisations to attempt to reduce
the length of the prefix list.
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.
The second optimisation identifies adjacent prefixes that can
be combined under a single, shorter-length prefix. For example,
2001:67c:208c::/48 and 2001:67c:208d::/48 can be combined into the
single prefix 2001:67c:208c::/47.
py-aggregate6.tar.gz
Description: application/tar-gz
