wiki:GEC21Agenda/ChoiceNet/run_tests

Version 6 (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
./gt -f /tmp/rspec.xml -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 )

The use any editor (vim, pico , nano) that you prefer to edit the ../config/config.txt and add HB or LB as the last line. This tells the choicenet network that your network choice is to use the path you select which can be an HB (High Bandwidth ) path or a LB (Low Bandwidth) path

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
./gt -f /tmp/rspec.xml -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 .

The use any editor (vim, pico , nano) that you prefer to edit the ../config/config.txt and add HB or LB as the last line. This tells the choicenet network that your network choice is to use the path you select which can be an HB (High Bandwidth ) path or a LB (Low Bandwidth) path

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 > -M 1000 -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