YANS
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.
0. Install prerequisites:
Mac OS X
Ubuntu
- Docker
sudo apt install bridge-utils
1. Install YANS
2. Create a file named topo.yaml
links:
- name: link1
nodes:
- node1
- node2
- name: link2
nodes:
- node1
- name: link3
3. Go!
Linux
sudo yans -t <path_to_topo.yaml> up
Mac OS X
yans -t <path_to_topo.yaml> up
Requirements
- Python >= 2.6 or >= 3.3
License
MIT licensed. See the bundled LICENSE file for more details.
