WebNetLab
An app to deploy network lab scenarios with containerized network operating systems via web-interface.
Getting Started
Prerequisites
- Docker
- Containerlab
- Python 3.9
- Poetry
In addition, one must acquire desired NOS image. Example scenarios in this repository use Arista cEOS, which can be downloaded on their site after registration.
How to run
- Install poetry
apt install python3-poetry
- Clone the repository
git clone https://github.com/gregory-mac/webnetlab.git
- Make projects virtual environment
cd webnetlab/ poetry install
- Make .env file inside webnetlab directory and fill it with required information
cd webnetlab/ cp .env.example .env nano .env
- Create user database
poetry run alembic upgrade head
- Start the web-server
poetry run python3 app.py
License
Distributed under the MIT License. See LICENSE
for more information.