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

Create command "check-config", parses config files without build #82

Closed vilhelmprytz closed 3 years ago

vilhelmprytz commented 3 years ago

Still WIP and not fully tested!

I want to avoid reinventing the wheel as much as possible. I want it to read from the program's configuration file but I have also added --general and --clients because I want the user to be able to override the defaults (perhaps useful in CI?).

Fixes https://github.com/pierky/arouteserver/issues/79

vilhelmprytz commented 3 years ago

I have done some very limited testing, but it seems to work as I expected! Let me know if there is anything that should be changed.

pierky commented 3 years ago

Hi @vilhelmprytz, just to let you know that I've merged this branch into dev, which is still WIP at the moment. The command you introduced will be added in the next release. Thanks a lot for the contribution!