Scripts for creating VRFs and assigning interfaces. When daemon mode is enabled, it constantly monitors the status of interfaces.
usage: main.py [-h] [-d] [-t TIMEOUT] [-f FILE]
optional arguments:
-h, --help show this help message and exit
-d, --daemon Daemon mode. Exec eternally default: False
-t TIMEOUT, --timeout TIMEOUT
Timeout seconds is enabled only in daemon mode. (Otherwise, it is ignored). default: 10
-f FILE, --file FILE Config file. default: ./config.json
Linux only
- iproute2
- vrf modeule
see sample/vrf-initializer.service
see docker-compose.yml