/webnetlab

Network labs with web-interface using containerized NOSes

Primary LanguagePythonMIT LicenseMIT

WebNetLab

An app to deploy network lab scenarios with containerized network operating systems via web-interface.

Getting Started

Prerequisites

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

  1. Install poetry
    apt install python3-poetry
  2. Clone the repository
    git clone https://github.com/gregory-mac/webnetlab.git
  3. Make projects virtual environment
    cd webnetlab/
    poetry install
  4. Make .env file inside webnetlab directory and fill it with required information
    cd webnetlab/
    cp .env.example .env
    nano .env
  5. Create user database
    poetry run alembic upgrade head
  6. Start the web-server
    poetry run python3 app.py

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Acknowledgments

(back to top)