Skip to content

wide-vsix/vrf-initializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vrf-initializer

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

Requirements

Linux only

  • iproute2
  • vrf modeule

How to deploy

systemd

see sample/vrf-initializer.service

docker

see docker-compose.yml

About

VRF manager script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published