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

Not using default configuration paths #6

Closed benerudolph closed 7 years ago

benerudolph commented 7 years ago

Other than stated in the documentation

By default, ARouteServer looks for this [arouteserver.yml] file in ~/arouteserver and /etc/arouteserver/

ARouteServer raises en error “Configuration file not found”. This is likely because self.cfg is replaced with self.default which has cfg_dir=None (pierky/arouteserver/config/program.py:44). Expected behavior is to look for arouteserver.yml at the specified locations.

Workaround is to specify optional parameter --cfg and path to arouteserver.yml.

pierky commented 7 years ago

Thanks it should be fixed now