wiki:GEC21Agenda/ChoiceNet/gt_tool

Version 4 (modified by Hussamuddin Nasir, 5 years ago) (diff)

--

Navigation: Up

At this point we will start configure and Installing Choicenet code onto the nodes in your slice.

Follow the list of commands below to set the the CHOICENET FRAMEWORK

cd choicenet/source/bin/
./gt -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa configure
}}

{{{
#!sh
./gt -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa install
}}}

{{{
#!sh
./gt -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa -R clickon
}}}

{{{
#!sh
./gt -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa pathServiceOn
./sendAdvertisements.sh
}}}

Open up two more ssh sessions to the GNO node and cd ~/choicenet/source/bin on each one

On TERMINAL 1 do

================



./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h1

sudo apt-get update;sudo apt-get install iperf


this will take you to H1 node

here 

cd  choicenet/source/bin

cp ../wrap .


Edit this 
vim ../config/config.txt

and add HB or LB as the last line

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


On TERMINAL 2 do

================




./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h2


sudo apt-get update;sudo apt-get install iperf


this will take you to H2 node

here 

cd  choicenet/source/bin

cp ../wrap .


Edit this 
vim ../config/config.txt

and add HB or LB as the last line

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

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