Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 979 Bytes

README.md

File metadata and controls

59 lines (40 loc) · 979 Bytes

YANS Build Status

Yet Another Network Simulator

YANS is a Docker based network simulator. It is lightening-fast. The screenplay below demonstrates that YANS can launch a simulated network in under 3 seconds.

Install prerequisites:

Python >= 2.6 or >= 3.3

Docker

Clone repo

git clone https://github.com/rnunez95/YANS.git

Install pip packages

pip install -r requirements.txt

Run

CD into YANS

cd ./YANS

Create a network topology file as a .yaml

links:
- name: link1
    nodes:
        - node1
        - node2
- name: link2
    nodes:
        - node1
- name: link3

To view all commands run

yans.py -h

Start the simulator

yans.py -V -t <path_to_topo.yaml> up