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.
Python >= 2.6 or >= 3.3
Clone repo
git clone https://github.com/rnunez95/YANS.git
Install pip packages
pip install -r requirements.txt
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