Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kansokusha committed Oct 26, 2016
1 parent 8a979c4 commit b9c86ee
Showing 1 changed file with 12 additions and 25 deletions.
37 changes: 12 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ 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")
* Fix runtime error when access PacketMetadata of CsmaLink, [Submitted](https://www.nsnam.org/bugzilla/show_bug.cgi?id=1787, "ns-3 bugzilla issue 1787")
* Support SDN-based LTE backhaul emulation

Build OpenNet on your own - Use install.sh
------------------------------------------
Supports Ubuntu 14.04.3
Supports Ubuntu 14.04.5

$ sudo su -
# apt-get install git ssh
Expand All @@ -22,39 +23,25 @@ Supports Ubuntu 14.04.3

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

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

$ 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
# python mininet/examples/opennet/wifi/two-ap-one-sw.py

Run NetAnim
-----------
Use NetAnim to open the XML file in the directory /tmp/xml.

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
# cd OpenNet
# python mininet/examples/opennet/wifi/wifi-roaming.py
# ./ns-allinone-3.22/netanim-3.105/NetAnim

Reference
---------
* Link modeling using ns-3, [Link] (https://github.com/mininet/mininet/wiki/Link-modeling-using-ns-3 "Link modeling using ns-3")
* Link modeling using ns-3, [Link](https://github.com/mininet/mininet/wiki/Link-modeling-using-ns-3 "Link modeling using ns-3")

0 comments on commit b9c86ee

Please sign in to comment.