.. image:: https://badge.fury.io/py/YANS.png :target: http://badge.fury.io/py/YANS
.. image:: https://travis-ci.org/kennethjiang/YANS.png?branch=master :target: https://travis-ci.org/kennethjiang/YANS
Yet Another Network Simulator
YANS is a Docker <https://www.docker.com/>
_-based network simulator. It is lightening-fast. The screenplay below demonstrates that YANS can launch a simulated network in under 3 seconds.
.. image:: https://github.com/kennethjiang/YANS/raw/master/screenplay.gif :height: 512 px :width: 499 px :scale: 50 %
Mac OS X
Docker <https://docs.docker.com/engine/installation/mac/>
__Docker Machine <https://docs.docker.com/machine/install-machine/>
__Ubuntu
Docker <https://docs.docker.com/engine/installation/linux/ubuntulinux/>
__sudo apt install bridge-utils
.. code:: bash
pip install YANS
topo.yaml
.. code::
links:
- name: link1
nodes:
- node1
- node2
- name: link2
nodes:
- node1
- name: link3
Linux
sudo yans -t <path_to_topo.yaml> up
Mac OS X
yans -t <path_to_topo.yaml> up
MIT licensed. See the bundled LICENSE <https://github.com/kennethjiang/yans/blob/master/LICENSE>
_ file for more details.