Commit c24f8667 authored by Shashi Guruprasad's avatar Shashi Guruprasad
Browse files

Merged all of my changes into ns2.1b9. Now we don't have to depend on

the flux repository to have ns-2. The install file just downloads the
ns2.1b9 distribution, patches it and installs it.
parent e8779169
For NSE based TCP traffic generation, we need the following files For NSE integration and traffic generation, we need the following files
as part of the FBSD disk image or it should be part of as part of the FBSD disk image or it should be part of
/usr/testbed/sup/sup/FBSD43-STD/root*/etc/testbed on the boss node. /usr/testbed/sup/sup/FBSD43-STD/root*/etc/testbed on the boss node.
...@@ -9,7 +9,7 @@ b) NSE executable file. To build it the first time, chdir to ...@@ -9,7 +9,7 @@ b) NSE executable file. To build it the first time, chdir to
./nse-install ./nse-install
c) Then do a c) Then do a
cp nse nseinput.tcl startnse init.tcl <sup_directory> cp nse nseinput.tcl startnse <sup_directory>
The current NSE trafgen comes with a major caveat: The current NSE trafgen comes with a major caveat:
......
#!/bin/sh #!/bin/sh
if [ ! -d ns-2 ]; then if [ ! -d ns-2 ]; then
echo "Checking out ns-2 source to ." echo "Downloading ns2.1b9 source ..."
cvs co ns-2 fetch http://www.emulab.net/ns-allinone-2.1b9.tar.gz
tar xzf ns-allinone-2.1b9.tar.gz
patch -p0 < nse.patch patch -p0 < nse.patch
cd ns-2 cd ns-allinone-2.1b9
./install ./install
cp ns-2.1b8a/nse .. cp ns-2.1b9/nse ..
cp lib/tcl8.3/init.tcl ..
fi fi
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment