wiki:GEC21Agenda/ChoiceNet/run_tests

Version 10 (modified by Hussamuddin Nasir, 9 years ago) (diff)

--

Navigation: Up

At this point we have the Choicenet Framework setup. We now need to run some end to end services to demonstrate the usability of "choice" within a network. For this we will run an iperf test between the end host nodes H1 and H2.

So Open up two more ssh session terminals to the GNO Node and cd ~/choicenet/source/bin on each one

On TERMINAL 1

cd ~/choicenet/source/bin
./getool -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h1

this will take you to H1 node (You can also directly ssh into H1 Node from your laptop if you prefer that way)

on H1 Node

cd  choicenet/source/bin

cp ../wrap .

/sbin/ifconfig

Form the last command (ifconfig), please note down the IPV6 address of eth1. (This should begin with an fec0:: . This will be used the next terminal )

Choicenet is all about choices in the network. For our iperf test run, we currently have a set the network to use the High Bandwidth path "HB". If you like to take an alternate route based on your network preference , you can use any editor (vim, pico , nano) that you prefer to edit the ../config/config.txt and change HB to LB ( Low Bandwith) path or HBHL (High bandwidth High Latency) path as the last line.

We then use a Choicenet wrapper app to convert an existing tcp application into a Choicenet application as shown below

get ready to start the iperf Server here . Type the command and keep it ready . DO NOT RUN IT JUST YET

sudo ./wrap /usr/bin/iperf -s -V 

On TERMINAL 2

cd ~/choicenet/source/bin
./getool -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h2

this will take you to H2 node (You can also directly ssh into H2 Node from your laptop if you prefer that way)

on H2 Node

cd  choicenet/source/bin

cp ../wrap .

Choicenet is all about choices in the network. For our iperf test run, we currently have a set the network to use the High Bandwidth path "HB". If you like to take an alternate route based on your network preference , you can use any editor (vim, pico , nano) that you prefer to edit the ../config/config.txt and change HB to LB ( Low Bandwidth) path or HBHL (High bandwidth High Latency) path as the last line. We then use a Choicenet wrapper app to convert an existing tcp application into a Choicenet application as shown below

get ready to start the iperf Client here . Type the command and keep it ready . DO NOT RUN IT JUST YET

sudo ./wrap /usr/bin/iperf -c <IPv6 address of H1 > -V

(IPv6 address should be eth1 on H1 and starts with fec0)

Now GOTO TERMINAL1 and run the iperf server command. Immediately then switch to TERMINAL2 and run the client command too.

Attachments (11)

Download all attachments as: .zip