pierky / arouteserver

A tool to automatically build (and test) feature-rich configurations for BGP route servers.
https://arouteserver.readthedocs.org/
GNU General Public License v3.0
288 stars 46 forks source link

only build prefixes in as_set if the option is enabled #58

Open nicko170 opened 4 years ago

nicko170 commented 4 years ago

Only run IRRDBConfigEnricher_ASNs & IRRDBConfigEnricher_Prefixes if the options are enabled.

When 'enforce_prefix_in_as_set' is set to False, we are still generating prefix lists with bqpq3/4 and putting them into the resulting configuration.

This stops them being generated, and stops them being put into the configuration files. Reducing the number of lines, the size, and the time to build each file.