Skip to content
 
 

Latest commit

 

History

148 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Simulator for Software-Defined Wireless Local Area Network

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages