vyos frontend
VyControl is web frontend interface to manage a single or multiple VyoS servers. It is developed in Python/Django using VyOS API.
VyControl currently is deprecated since VyOS will bring a new API.
VyControl can be a web gui for one single VyOS installation, but it requires a separeted webserver from VyOS to a single network admin user or a TI department from a company
VyControl can be a web gui for multiple VyOS installation in a same enterprise, to a single network admin user or a TI department from a company
VyControl can be a web gui for multiple VyOS installation in a datacenter. Each of datacenter customer have a VyControl user to manage their own VyOSes (each user can manage several VyOS).
latest VyControl is being autobuilt at dockerhub https://hub.docker.com/r/robertoberto/vycontrol
download latest docker image:
docker pull robertoberto/vycontrol
run docker:
docker run -p 8000:8000 -t robertoberto/vycontrol
now you can access http://127.0.0.1:8000
Right now we are using db.sqlite3, you can edit composer and to change to mySQL/PostgreSQL if needed.
find vycontrol | grep migrations | xargs rm -rf
docker-compose build
docker-compose up
virtualenv env
source env/bin/activate
pip3 install -r requirements.txt
cp -a vycontrol/vycontrol/settings_example/ /vycontrol/vycontrol/settings_available/
edit according your needs:
openssl rand -hex 32
source env/bin/activate
cd vycontrol
python3 manage.py makemigrations config --settings=vycontrol.settings_available.production
python3 manage.py makemigrations --settings=vycontrol.settings_available.production
python3 manage.py migrate --settings=vycontrol.settings_available.production
source env/bin/activate
cd vycontrol
python3 manage.py runserver --settings=vycontrol.settings_available.production 0.0.0.0:8000
VyControl send email to users when they click on Forget Password. So you need to setup a email provider to be able to use this features.
EMAIL_HOST = 'email-smtp.us-east-1.amazonaws.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'user'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = True