Giter Club home page Giter Club logo

opennet's Introduction

OpenNet

A simulator built on top of Mininet and ns-3 for Software-Defined Wireless Local Area Network (SDWLAN)
http://www.slideshare.net/rascov/20140824-open-net

Feature

  • Complement ns-3 by supporting channel scan behavior on Wi-Fi station (sta-wifi-scan.patch)
  • Show CsmaLink and SimpleLink in NetAnim (animation-interface.patch)
  • Fix runtime error when access PacketMetadata of CsmaLink, [Submitted] (https://www.nsnam.org/bugzilla/show_bug.cgi?id=1787, "ns-3 bugzilla issue 1787")

Build OpenNet on your own - Use install.sh

Supports Ubuntu 14.04.3

$ sudo su -
# apt-get install git ssh
# git clone https://github.com/dlinknctu/OpenNet.git
# cd OpenNet
# ./configure.sh
# ./install.sh master

After a successful installation, the script will show "OpenNet installation has completed."

Run OpenNet

With an SDN controller, the example script should work fine.

$ sudo su -
# cd OpenNet
# git clone https://github.com/noxrepo/pox.git
# cd OpenNet/pox
# ./pox.py forwarding.l2_learning &
# cd OpenNet/mininet/examples/opennet
# python wifiroaming.py

Do not run the example as "sudo python wifiroaming.py".
Sudo will replace environment variables and make the simulation fail.

If the simulation script cannot connect to the controller, stop the network-manager may help.

# service network-manager stop

Start the network-manager service after the simulation.

# service network-manager start

Run NetAnim

Use NetAnim to open the XML file in the directory /tmp/xml.
Click "Play Animation" button can start the animation.

$ sudo su -
# cd OpenNet/ns-allinone-$NS3_VERSION/netanim-$NETANIM_VERSION
# ./NetAnim

Reference

opennet's People

Contributors

pichuang avatar kansokusha avatar charlesmcchan avatar cgiraldo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.