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.

Filename, size & hash SHA256 hash help File type Python version Upload date
YANS-0.2.3.tar.gz (6.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page