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 details)

Uploaded Source

File details

Details for the file YANS-0.2.3.tar.gz.

File metadata

  • Download URL: YANS-0.2.3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for YANS-0.2.3.tar.gz
Algorithm Hash digest
SHA256 05e0cc8083e4114eac37873e8f159f8e56f8c5b90a26e998981f46b322bc6d93
MD5 d79afb4e2d686357bc78c229bb017f0a
BLAKE2b-256 1cc51b6c41ae761f2787f928eb1c9ab041a78629e716cf72249e8db8a862b31b

See more details on using hashes here.

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