Skip to content

kennethjiang/YANS

Repository files navigation

YANS

https://badge.fury.io/py/YANS.png https://travis-ci.org/kennethjiang/YANS.png?branch=master

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.

https://github.com/kennethjiang/YANS/raw/master/screenplay.gif

0. Install prerequisites:

Mac OS X

Ubuntu

  • Docker
  • sudo apt install bridge-utils

1. Install YANS

pip 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.

About

Yet Another Network Simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published