From b9c86ee9b85b1a8b830ae2d4dc5f5e0b893479fa Mon Sep 17 00:00:00 2001 From: Ting Hsuan Hsieh Date: Thu, 27 Oct 2016 01:28:12 +0800 Subject: [PATCH] Update README.md --- README.md | 37 ++++++++++++------------------------- 1 file changed, 12 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index fd1198a..b3848f9 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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")