/OpenNet

A Simulator for Software-Defined Wireless Local Area Network

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

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

Support Ubuntu 14.04.1

$ git clone https://github.com/dlinknctu/OpenNet.git
$ sudo ./install.sh -a
After a successful installation, the script will show "OpenNet installation complete."

Run OpenNet

Before using OpenNet, you need to prepare SDN controller by yourself.
Please try following commands to run the simulation:

$ sudo ./waf_shell.sh
# cd $ROOT_PATH/mininet/examples/opennet
# python wifiroaming.py

Run NetAnim

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

$ cd $ROOT_PATH/ns-allinone-$NS3_VERSION/netanim-$NETANIM_VERSION
$ ./NetAnim

Reference