Skip to main content

Yet Another Network Simulator

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

YANS-0.2.3.tar.gz (6.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page