Nav apraksta

Roberto Berto 9c5950e072 Merge branch 'master' of github.com:underinternet/vycenter 5 gadi atpakaļ
.github 025e3b303a Update django.yml 5 gadi atpakaļ
vycenter b849a490c6 fixed bug when there are no firewall 5 gadi atpakaļ
.dockerignore b927f53f93 docker 5 gadi atpakaļ
.gitignore 7a7488488a interface rename && firewall basic add rules 5 gadi atpakaļ
Dockerfile b927f53f93 docker 5 gadi atpakaļ
LICENSE 1d0c199366 fixed license 5 gadi atpakaļ
README.md dc3bec4eb8 references of api 5 gadi atpakaļ
docker-compose.yml b927f53f93 docker 5 gadi atpakaļ
requirements.txt 4d9181aae3 first API working version 5 gadi atpakaļ

README.md

vycenter

VyOS frontend made in Python / Django using VyOS new 1.3 API server

It will work with a single VyoS server or to multiple VyOS servers, so datacenters which do not want share same firewall to different customers will not need to install several vycenter to each customer. That's why the name vycenter.

community

features

in alpha stage we're going to provide just essential device config, interfaces and firewall, as proof of concencept, as well config module basic cruds (users, groups and vyOS Servers)

interfaces module

  • list interfaces - alpha
  • show interface - alpha
  • unset/set firewall interface - todo
  • change interface parameters - todo

firewall module

  • basic firewall rules creation proof of concept - done
  • basic list firewall rules - done
  • basic add firewall rules - done
  • basic edit firewall rules - done
  • basic firewall create - done
  • change firewall rules order - todo
  • delete firewall rules - todo

other modules - todo

  • ospf
  • bgp
  • ipsec
  • openvpn
  • reports (maybe collecting using snmp)
  • ssh management
  • system login managament
  • nat
  • dhcp servers
  • static routes

config module

  • vycenter users crud - todo
  • vycenter groups crud - todo
  • vyos instance using database - done
  • full vyos instances crud - todo
  • add new VyoS instances test connection while adding - todo
  • add new VyoS instances test connection all servers crontab - todo
  • associate groups to VyOS instances

known issues

  • cannot edit firewall rules number using current API

dockerhub

latest vycenter is being autobuilt at dockerhub https://hub.docker.com/r/robertoberto/vycenter

docker pull robertoberto/vycenter

docker composer

Right now we are using db.sqlite3, but I used composer so we can change to mySQL if needed.

docker-compose build
docker-compose  up

manual install instructions

setup virtual env and pip requirements

virtualenv env
source env/bin/activate
pip3 install -r requirements.txt

setup initial database

cd vycenter
python3 manage.py migrate

run webserver

python3 manage.py runserver

access webpage

http://127.0.0.1:8000/

setup vyos new instance

references

screenshoots (keep in mind we're in early alpha stages)

List VyOS Instances

List VyOS Instances

Add VyOS Instances

Add VyOS Instances

List Interfaces

List Interfaces

Firewall Dashboard

Firewall Dashboard

Add Firewall Rule

Add Firewall Rule