File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.DS_Store
2- openvswitch- *
32ns-allinone- * /*
4- openflow /*
53mininet /*
6- pygccxml /*
7- gccxml /*
84.idea /*
95* .ropeproject *
106* .tar.bz2
117* .zip
128* .deb
13- waf_shell.sh
149opennet_help.txt
Original file line number Diff line number Diff line change @@ -20,24 +20,24 @@ Supports Ubuntu 14.04.3
2020 # ./configure.sh
2121 # ./install.sh master
2222
23- After a successful installation, the script will show "OpenNet installation complete ."
23+ After a successful installation, the script will show "OpenNet installation has completed ."
2424
2525Run OpenNet
2626-----------
27- Before using OpenNet, you need to prepare SDN controller by yourself.
28- Please try following commands to run the simulation:
27+ With an SDN controller, the example script should work fine.
2928
3029 $ sudo su -
3130 # cd OpenNet
32- # ./waf_shell.sh
33- # cd ../../mininet/examples/opennet
31+ # git clone https://github.com/noxrepo/pox.git
32+ # cd OpenNet/pox
33+ # ./pox.py forwarding.l2_learning &
34+ # cd OpenNet/mininet/examples/opennet
3435 # python wifiroaming.py
3536
36- Do not type "sudo python wifiroaming.py", sudo will affect the environment
37- variable required by simulation.
37+ Do not run the example as "sudo python wifiroaming.py".
38+ Sudo will replace environment variables and make the simulation fail .
3839
39- If the simulation script cannot connect to the controller,
40- stop the network-manager may help.
40+ If the simulation script cannot connect to the controller, stop the network-manager may help.
4141
4242 # service network-manager stop
4343
Original file line number Diff line number Diff line change 1616 register : gg
1717 tags : ez_setup
1818- name : Remove ez_setup source code
19- command : " rm ez_setup.py "
20- args :
21- chdir : " {{ file_path }} "
22- tags : ez_setup
19+ file :
20+ path : " {{ file_path }}/ez_setup.py "
21+ state : absent
22+ tags : ez_setup
Original file line number Diff line number Diff line change 11=======================================================================
2- OpenNet installation complete .
3- Before using OpenNet, you need to prepare SDN controller by yourself .
2+ OpenNet installation has completed .
3+ With an SDN controller, the example script should work fine .
44=======================================================================
5- Please try following commands to run the simulation
6- $ sudo ./waf_shell.sh
5+ $ sudo su -
6+ # cd {{ home_location }}
7+ # git clone https://github.com/noxrepo/pox.git
8+ # cd {{ home_location }}/pox
9+ # ./pox.py forwarding.l2_learning &
710# cd {{ home_location }}/mininet/examples/opennet
811# python wifiroaming.py
912
Original file line number Diff line number Diff line change 5656- name : Configure dynamic linker run-time bindings
5757 command : " ldconfig"
5858 tags : ns3
59- - name : Create Waf Shell
60- template :
61- src : " waf_shell.sh.j2"
62- dest : " {{ home_location }}/waf_shell.sh"
63- mode : 0744
64- tags : ns3
6559- name : Remove NS3 source code
6660 file :
6761 path : " {{ home_location }}/ns-allinone-{{ NS3_VERSION }}.tar.bz2"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ --- quagga/configure.ac 2016-01-25 22:42:27.500861718 +0800
2+ +++ quagga-patch/configure.ac 2016-01-25 22:43:25.292774828 +0800
3+ @@ -10,6 +10,7 @@ AC_PREREQ(2.53)
4+ AC_INIT(Quagga, 0.99.25-dev, [https://bugzilla.quagga.net])
5+ CONFIG_ARGS="$*"
6+ AC_SUBST(CONFIG_ARGS)
7+ + AC_CONFIG_AUX_DIR([.])
8+ AC_CONFIG_SRCDIR(lib/zebra.h)
9+ AC_CONFIG_MACRO_DIR([m4])
10+
Original file line number Diff line number Diff line change 1414 version : " quagga-{{ QUAGGA_VERSION }}"
1515 tags : quagga
1616
17- - name : Use Autotools
18- command : " ./update-autotools"
19- args :
20- chdir : " {{ quagga_dir_path }}"
17+ - name : Patch configure.ac
18+ patch :
19+ src : " {{ item }}"
20+ basedir : " {{ quagga_dir_path }}"
21+ strip : 1
22+ with_items :
23+ - quagga-configure.patch
2124 tags : quagga
2225
2326- name : Autoreconf
Original file line number Diff line number Diff line change 9696echo " ***Check hostname in /etc/hosts"
9797for i in " $@ " ; do
9898 HOST_STATUS=$( cat /etc/hosts | grep -w $i | awk ' {print $2}' )
99- if [ -z $HOST_STATUS ]; then
99+ if [[ -z $HOST_STATUS ] ]; then
100100 echo " Can Not find hostname '$i ' in /etc/hosts, please check."
101101 echo " The format should be like:"
102102 echo " 10.0.0.1 master"
You can’t perform that action at this time.
0 commit comments