wiki:GEC21Agenda/ChoiceNet/gt_tool

Version 6 (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

Change into the choicenet bin directory

cd choicenet/source/bin/

Run the configure to setup the necessary interfaces, routes and bridges

./gt -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa configure

Now install the Choicenet code which includes Choicenet CLICK Implementation and the Choicenet SDN Implementation

./gt -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa install

Turn on CLICK on all the Router Nodes (-R option)

./gt -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa -R clickon

Turn on the Choicenet PATH Service (Details about path service provided during the tutorial)

./gt -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa pathServiceOn

Send path advertisements to path service

./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)