Commit e02af541 authored by Harry Jiang's avatar Harry Jiang

update directory names for hp4plus and controller

parent bd69afac
File added
#!/bin/bash
python -m hp4controller.clients.client $@
python -m central-controller.clients.client $@
......@@ -5,12 +5,12 @@ then
echo "configuring controller for cloudlab execution"
printf "#!/bin/bash\n\n" > tests/ssh_vals.sh
printf "user=$1\n" >> tests/ssh_vals.sh
echo "/opt/hp4-src/hp4/hp4.json" > hp4controller/hp4_json_path
echo "/opt/hp4plus/hp4/hp4.json" > central-controller/hp4_json_path
if [[ $# -gt 1 ]]
then
printf "nodes=( $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} )\n" >> tests/ssh_vals.sh
fi
else
echo "configuring controller for local (e.g., mininet) execution"
rm -f hp4controller/hp4_json_path
rm -f central-controller/hp4_json_path
fi
#!/bin/bash
python -u -m hp4controller.controller $@
python -u -m central-controller.controller $@
File added
......@@ -6,7 +6,7 @@ ADMIN="$(cat /tmp/pts_admin)"
BMV2_CLI="$(cat /tmp/pts_bmv2_cli)"
SLICEMGR="$(cat /tmp/pts_slice_manager)"
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --topo ~/hp4-ctrl/tests/t01/topo.txt
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --topo ~/controller/tests/t01/topo.txt
ttyecho -n $CONTROLLER ./controller --debug
......@@ -24,4 +24,4 @@ ttyecho -n $SLICEMGR ./client --debug --startup tests/t01/t01_jupiter jupiter
echo "Next: pairpings"
read -n 1 -s
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t01/t01_pairpings
ttyecho -n $MININET source /home/ubuntu/controller/tests/t01/t01_pairpings
......@@ -6,14 +6,14 @@ ADMIN="$(cat /tmp/pts_admin)"
BMV2_CLI="$(cat /tmp/pts_bmv2_cli)"
SLICEMGR="$(cat /tmp/pts_slice_manager)"
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --topo ~/hp4-ctrl/tests/t02/topo.txt
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --topo ~/controller/tests/t02/topo.txt
ttyecho -n $CONTROLLER ./controller --debug
echo "Next: split subnet / change addresses"
read -n 1 -s
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t02/t02_mininet
ttyecho -n $MININET source /home/ubuntu/controller/tests/t02/t02_mininet
echo "Next: create/provision 'jupiter' slice with lease to 'alpha' physical device"
read -n 1 -s
......@@ -28,4 +28,4 @@ ttyecho -n $SLICEMGR ./client --debug --startup tests/t02/t02_jupiter jupiter
echo "Next: pairpings"
read -n 1 -s
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t02/t02_pairpings
ttyecho -n $MININET source /home/ubuntu/controller/tests/t02/t02_pairpings
......@@ -6,14 +6,14 @@ ADMIN="$(cat /tmp/pts_admin)"
BMV2_CLI="$(cat /tmp/pts_bmv2_cli)"
SLICEMGR="$(cat /tmp/pts_slice_manager)"
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --topo ~/hp4-ctrl/tests/t02/topo.txt
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --topo ~/controller/tests/t02/topo.txt
ttyecho -n $CONTROLLER ./controller --debug
echo "Next: split subnet / change addresses"
read -n 1 -s
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t02/t02_mininet
ttyecho -n $MININET source /home/ubuntu/controller/tests/t02/t02_mininet
echo "Next: create/provision 'jupiter' slice with lease to 'alpha' physical device"
read -n 1 -s
......@@ -25,14 +25,14 @@ echo "Next: create and configure L3 router virtual devices"
read -n 1 -s
#ttyecho -n $SLICEMGR ./client --debug --startup tests/t02/t02_jupiter_b jupiter
ttyecho -n $SLICEMGR source /home/ubuntu/hp4-ctrl/tests/t02/t02_jupiter_b
ttyecho -n $SLICEMGR source /home/ubuntu/controller/tests/t02/t02_jupiter_b
echo "Next: pairpings"
read -n 1 -s
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t02/t02_pairpings
ttyecho -n $MININET source /home/ubuntu/controller/tests/t02/t02_pairpings
echo "Next: add firewall"
read -n 1 -s
ttyecho -n $SLICEMGR source /home/ubuntu/hp4-ctrl/tests/t02/t02b_add_firewall
ttyecho -n $SLICEMGR source /home/ubuntu/controller/tests/t02/t02b_add_firewall
......@@ -6,7 +6,7 @@ ADMIN="$(cat /tmp/pts_admin)"
BMV2_CLI="$(cat /tmp/pts_bmv2_cli)"
SLICEMGR="$(cat /tmp/pts_slice_manager)"
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --scenario arp --topo ~/hp4-ctrl/tests/t03/topo.txt --seed 32
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --scenario arp --topo ~/controller/tests/t03/topo.txt --seed 32
ttyecho -n $CONTROLLER ./controller --debug
......@@ -23,4 +23,4 @@ ttyecho -n $SLICEMGR ./client --debug --startup tests/t03/t03_jupiter jupiter
echo "Next: pairpings"
read -n 1 -s
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t03/t03_pairpings
ttyecho -n $MININET source /home/ubuntu/controller/tests/t03/t03_pairpings
......@@ -6,7 +6,7 @@ ADMIN="$(cat /tmp/pts_admin)"
BMV2_CLI="$(cat /tmp/pts_bmv2_cli)"
SLICEMGR="$(cat /tmp/pts_slice_manager)"
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --topo ~/hp4-ctrl/tests/t04/topo.txt
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --topo ~/controller/tests/t04/topo.txt
ttyecho -n $CONTROLLER ./controller --debug
......
......@@ -9,7 +9,7 @@ BMV2_CLI="$(cat /tmp/pts_bmv2_cli)"
SLICEMGR="$(cat /tmp/pts_slice_manager)"
SLICEMGRSATURN="$(cat /tmp/pts_slice_manager_saturn)"
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --scenario chain --topo ~/hp4-ctrl/tests/t05/topo.txt
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --scenario chain --topo ~/controller/tests/t05/topo.txt
ttyecho -n $CONTROLLER ./controller --debug
......@@ -20,7 +20,7 @@ $pause
ttyecho -n $ADMIN ./client --debug --startup tests/t05/t05_admin_1 admin
echo "Next: MANUAL xterm h1 h2 h3 h4 h5 h6, start test_tcpdump.sh"
echo "~/hp4-ctrl/tests$ sudo ./test_tcpdump.sh -t 05 -r 01:04|05:06 -s 1 -i 1|4"
echo "~/controller/tests$ sudo ./test_tcpdump.sh -t 05 -r 01:04|05:06 -s 1 -i 1|4"
echo "r 2,4,6: [h6 xterm]# iperf -s -i 1"
echo "r 2,4,6: [h3 xterm]# iperf -c 10.2.0.106 -t 15 DO NOT HIT ENTER YET"
echo "r 1,2: [h1 xterm]# ./h1ping.sh"
......@@ -45,7 +45,7 @@ echo "Next: update topology"
#$pause
sleep 5
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t05/t05_changenodes
ttyecho -n $MININET source /home/ubuntu/controller/tests/t05/t05_changenodes
# t = 10
#echo "Next: try pings. Expected connectivity domains: (h1 h2 h3), (h6 h7)"
......@@ -95,7 +95,7 @@ echo "Next: add arp proxy, remove gateways from host arp caches, change netmask
sleep 5
ttyecho -n $SLICEMGR source tests/t05/t05_jupiter_3
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t05/t05_changenodes2
ttyecho -n $MININET source /home/ubuntu/controller/tests/t05/t05_changenodes2
# t = 35
#echo "Next: try pings. Expected connectivity domains: (h1 h2 h3 h6 h7)"
......@@ -124,7 +124,7 @@ echo "Next: restore previous host network configurations (e.g., netmask back to
#$pause
sleep 5
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t05/t05_changenodes3
ttyecho -n $MININET source /home/ubuntu/controller/tests/t05/t05_changenodes3
# t = 50
echo "Next: add router to end of chain"
......
......@@ -6,7 +6,7 @@ ADMIN="$(cat /tmp/pts_admin)"
BMV2_CLI="$(cat /tmp/pts_bmv2_cli)"
SLICEMGR="$(cat /tmp/pts_slice_manager)"
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --scenario chain --topo ~/hp4-ctrl/tests/t05/topo.txt
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --scenario chain --topo ~/controller/tests/t05/topo.txt
ttyecho -n $CONTROLLER ./controller --debug
......@@ -19,7 +19,7 @@ ttyecho -n $ADMIN ./client --debug --startup tests/t06/t06_admin_1 admin
echo "Next: update topology"
read -n 1 -s
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t06/t06_changenodes
ttyecho -n $MININET source /home/ubuntu/controller/tests/t06/t06_changenodes
echo "Next: create and configure L3 routers"
read -n 1 -s
......@@ -29,4 +29,4 @@ ttyecho -n $SLICEMGR ./client --debug --startup tests/t06/t06_jupiter_1 jupiter
echo "Next: create and configure firewalls"
read -n 1 -s
ttyecho -n $SLICEMGR source /home/ubuntu/hp4-ctrl/tests/t06/t06_jupiter_2
ttyecho -n $SLICEMGR source /home/ubuntu/controller/tests/t06/t06_jupiter_2
......@@ -14,14 +14,14 @@ SLICEMGR="$(cat /tmp/pts_slice_manager)"
SLICEMGR2="$(cat /tmp/pts_slice_manager2)"
EVALUATOR="$(cat /tmp/pts_evaluator)"
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --scenario chain --topo ~/hp4-ctrl/tests/t09/topo.txt
ttyecho -n $MININET ./run.sh --commands hp4commands.txt --scenario chain --topo ~/controller/tests/t09/topo.txt
ttyecho -n $CONTROLLER ./controller --debug
echo "Next: change MTU for all interfaces belonging to slice1"
$pause
ttyecho -n $MININET source /home/ubuntu/hp4-ctrl/tests/t09/change_mtu
ttyecho -n $MININET source /home/ubuntu/controller/tests/t09/change_mtu
echo "Next: create/provision slice1 with lease to s1, s2, and s3, slice2 w/ lease to s1, s4, and s5"
$pause
......
......@@ -28,10 +28,10 @@ echo "If necessary acknowledge SSH key update; next: launch controller"
$pause
ttyecho -n $MININET cd /opt
ttyecho -n $CONTROLLER cd /opt/hp4-ctrl
ttyecho -n $ADMIN cd /opt/hp4-ctrl
ttyecho -n $SLICEMGR cd /opt/hp4-ctrl
ttyecho -n $SLICEMGR2 cd /opt/hp4-ctrl
ttyecho -n $CONTROLLER cd /opt/controller
ttyecho -n $ADMIN cd /opt/controller
ttyecho -n $SLICEMGR cd /opt/controller
ttyecho -n $SLICEMGR2 cd /opt/controller
s1_ip="$(ssh -p 22 $user@pc${nodes[1]}.emulab.net "ifconfig eth0 | grep 'inet ' | tr ':' ' '" | awk '{print $3}' )"
echo s1@$s1_ip
......@@ -49,7 +49,7 @@ printf "s3_ip=${s3_ip}\n" >> infr_manifest.sh
printf "s4_ip=${s4_ip}\n" >> infr_manifest.sh
scp infr_manifest.sh $user@pc${nodes[0]}.emulab.net:~/
ttyecho -n $CONTROLLER sudo cp /users/$user/infr_manifest.sh /opt/hp4-ctrl/tests/t10/
ttyecho -n $CONTROLLER sudo cp /users/$user/infr_manifest.sh /opt/controller/tests/t10/
ttyecho -n $CONTROLLER sudo ./tests/update_t10.sh
ttyecho -n $CONTROLLER "sudo ./controller --debug | sudo tee -i controller.out"
......
T01: TEST SEMANTIC EQUIVALENCE OF L2 SWITCH (hp4 vs native)
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
./gen_pairpings.py --numswitches 1 --numhosts 3 --test t01
----- HP4
WINDOW - MININET
cd ~/hp4-src/hp4
./run.sh --commands hp4commands.txt --topo ~/hp4-ctrl/tests/t01/topo.txt
cd ~/hp4plus/hp4
./run.sh --commands hp4commands.txt --topo ~/controller/tests/t01/topo.txt
WINDOW - HP4CONTROLLER
cd ~/hp4-ctrl
cd ~/controller
./controller --debug
WINDOW - HP4CLIENT (ADMIN)
cd ~/hp4-ctrl
cd ~/controller
./client --debug --startup tests/t01/t01_admin admin
WINDOW - HP4CLIENT (SLICE MANAGER)
cd ~/hp4-ctrl
cd ~/controller
./client --debug --startup tests/t01/t01_jupiter jupiter
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
sudo ./test_tcpdump.sh -t 01 -r hp4 -s 1 -i 3
WINDOW - MININET
mininet> source /home/ubuntu/hp4-ctrl/tests/t01/t01_pairpings
mininet> source /home/ubuntu/controller/tests/t01/t01_pairpings
WINDOW - TESTS
<keypress>
......@@ -35,19 +35,19 @@ WINDOW - TESTS
----- NATIVE
WINDOW - MININET
cd ~/p4-projects/projects/hp4t_l2_switch
./run.sh --commands setup_commands.txt --topo ~/hp4-ctrl/tests/t01/topo.txt
mininet> sh ./run_cli.sh 22222 < /home/ubuntu/hp4-ctrl/tests/t01/t01_switch_entries
./run.sh --commands setup_commands.txt --topo ~/controller/tests/t01/topo.txt
mininet> sh ./run_cli.sh 22222 < /home/ubuntu/controller/tests/t01/t01_switch_entries
WINDOW - TESTS
cd ~/hp4-ctrl
cd ~/controller
./test_tcpdump.sh -t 01 -r native -s 1 -i 3
WINDOW - MININET
mininet> source /home/ubuntu/hp4-ctrl/tests/t01/t01_pairpings
mininet> source /home/ubuntu/controller/tests/t01/t01_pairpings
WINDOW - TESTS
<keypress>
----- END NATIVE
cd ~/hp4-ctrl/tests
cd ~/controller/tests
./compare_pcaps.sh -t 01 -r1 hp4 -r2 native -s 1 -i 3
T02: TEST SEMANTIC EQUIVALENCE OF L3 ROUTER (hp4 vs native)
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
./gen_pairpings.py --numswitches 2 --numhosts 6 --test t02
----- HP4
WINDOW - MININET
cd ~/hp4-src/hp4
./run.sh --commands hp4commands.txt --topo ~/hp4-ctrl/tests/t02/topo.txt
mininet> source /home/ubuntu/hp4-ctrl/tests/t02/t02_mininet
cd ~/hp4plus/hp4
./run.sh --commands hp4commands.txt --topo ~/controller/tests/t02/topo.txt
mininet> source /home/ubuntu/controller/tests/t02/t02_mininet
WINDOW - HP4CONTROLLER
cd ~/hp4-ctrl
cd ~/controller
./controller --debug
WINDOW - HP4CLIENT (ADMIN)
cd ~/hp4-ctrl
cd ~/controller
./client --debug --startup tests/t02/t02_admin admin
WINDOW - HP4CLIENT (SLICE MANAGER)
cd ~/hp4-ctrl
cd ~/controller
./client --debug --startup tests/t02/t02_jupiter jupiter
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
sudo ./test_tcpdump.sh -t 02 -r hp4 -s 2 -i 4
WINDOW - MININET
mininet > source /home/ubuntu/hp4-ctrl/tests/t02/t02_pairpings
mininet > source /home/ubuntu/controller/tests/t02/t02_pairpings
WINDOW - TESTS
<keypress>
......@@ -36,21 +36,21 @@ WINDOW - TESTS
----- NATIVE
WINDOW - MININET
cd ~/p4-projects/projects/simple_router
./run.sh --topo ~/hp4-ctrl/tests/t02/topo.txt
mininet> source /home/ubuntu/hp4-ctrl/tests/t02/t02_mininet
mininet> sh ./run_cli.sh 22222 < /home/ubuntu/hp4-ctrl/tests/t02/t02_router1_entries
mininet> sh ./run_cli.sh 22223 < /home/ubuntu/hp4-ctrl/tests/t02/t02_router2_entries
./run.sh --topo ~/controller/tests/t02/topo.txt
mininet> source /home/ubuntu/controller/tests/t02/t02_mininet
mininet> sh ./run_cli.sh 22222 < /home/ubuntu/controller/tests/t02/t02_router1_entries
mininet> sh ./run_cli.sh 22223 < /home/ubuntu/controller/tests/t02/t02_router2_entries
WINDOW - TESTS
cd ~/hp4-ctrl
cd ~/controller
sudo ./test_tcpdump.sh -t 02 -r native -s 2 -i 4
WINDOW - MININET
mininet> source /home/ubuntu/hp4-ctrl/tests/t02/t02_pairpings
mininet> source /home/ubuntu/controller/tests/t02/t02_pairpings
WINDOW - TESTS
<keypress>
----- END NATIVE
cd ~/hp4-ctrl/tests
cd ~/controller/tests
./compare_pcaps.sh -t 02 -r1 hp4 -r2 native -s 2 -i 4
T03: TEST SEMANTIC EQUIVALENCE OF ARP PROXY (hp4 vs native)
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
./gen_topo.py --numswitches 3 --hostsperswitch 4 --test t03
-> ./t03/topo.txt
./t03/gen_t03_arp_entries.py --seed 32 --numswitches 3 --hostsperswitch 4
......@@ -13,30 +13,30 @@ cd ~/hp4-ctrl/tests
./gen_scanpings.py --numswitches 3 --numhosts 4 --test t03
-> t03_scanpings
----- HP4
----- HP4plus
WINDOW - MININET
cd ~/hp4-src/hp4
./run.sh --commands hp4commands.txt --scenario arp --topo ~/hp4-ctrl/tests/t03/topo.txt --seed 32
cd ~/hp4plus/hp4
./run.sh --commands hp4commands.txt --scenario arp --topo ~/controller/tests/t03/topo.txt --seed 32
WINDOW - HP4CONTROLLER
cd ~/hp4-ctrl
cd ~/controller
./controller --debug
WINDOW - HP4CLIENT (ADMIN)
cd ~/hp4-ctrl
cd ~/controller
./client --debug --startup tests/t03/t03_admin admin
WINDOW - HP4CLIENT (SLICE MANAGER)
cd ~/hp4-ctrl
cd ~/controller
./client --debug --startup tests/t03/t03_jupiter jupiter
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
sudo ./test_tcpdump.sh -t 03 -r hp4 -s 3 -i 6
WINDOW - MININET
mininet> source /home/ubuntu/hp4-ctrl/tests/t03/t03_pairpings
mininet> source /home/ubuntu/hp4-ctrl/tests/t03/t03_scanpings
mininet> source /home/ubuntu/controller/tests/t03/t03_pairpings
mininet> source /home/ubuntu/controller/tests/t03/t03_scanpings
WINDOW - TESTS
<keypress>
......@@ -45,23 +45,23 @@ WINDOW - TESTS
----- NATIVE
WINDOW - MININET
cd ~/p4-projects/projects/arp_proxy
./run.sh -c ~/hp4-ctrl/tests/t03/t03_arp_entries_s1 \
-c ~/hp4-ctrl/tests/t03/t03_arp_entries_s2 \
-c ~/hp4-ctrl/tests/t03/t03_arp_entries_s3 \
./run.sh -c ~/controller/tests/t03/t03_arp_entries_s1 \
-c ~/controller/tests/t03/t03_arp_entries_s2 \
-c ~/controller/tests/t03/t03_arp_entries_s3 \
--scenario arp \
--topo ~/hp4-ctrl/tests/t03/topo.txt --seed 32
--topo ~/controller/tests/t03/topo.txt --seed 32
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
sudo ./test_tcpdump.sh -t 03 -r native -s 3 -i 6
WINDOW - MININET
mininet> source /home/ubuntu/hp4-ctrl/tests/t03/t03_pairpings
mininet> source /home/ubuntu/hp4-ctrl/tests/t03/t03_scanpings
mininet> source /home/ubuntu/controller/tests/t03/t03_pairpings
mininet> source /home/ubuntu/controller/tests/t03/t03_scanpings
WINDOW - TESTS
<keypress>
----- END NATIVE
cd ~/hp4-ctrl/tests
cd ~/controller/tests
./compare_pcaps.sh -t t03 -r1 hp4 -r2 native -s 3 -i 6
......@@ -14,7 +14,7 @@ fw rules:
- t3: block all traffic to 20 different ip-port tuples
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
----- HP4
......@@ -37,6 +37,6 @@ WINDOW - TEST
----- NATIVE
cd ~/p4-projects/projects/firewall2
./run.sh --commands /home/ubuntu/hp4-ctrl/tests/t04/t04_fw_entries --topo ~/hp4-ctrl/tests/t04/topo.txt
./run.sh --commands /home/ubuntu/controller/tests/t04/t04_fw_entries --topo ~/controller/tests/t04/topo.txt
----- END NATIVE
......@@ -15,34 +15,34 @@ Comment: wanted to start with 1 switch, 3 hosts, but the bmv2 switches in the mi
L2
WINDOW - TESTS
cd ~/hp4-ctrl/tests
cd ~/controller/tests
./gen_topo.py --numswitches 1 --hostsperswitch 3 --test t05
./gen_pairpings.py --numswitches 1 --hostsperswitch 3 --test t05
WINDOW - MININET
cd ~/hp4-src/hp4
./run.sh --commands hp4commands.txt --scenario chain --topo ~/hp4-ctrl/tests/t05/topo.txt
cd ~/hp4plus/hp4
./run.sh --commands hp4commands.txt --scenario chain --topo ~/controller/tests/t05/topo.txt
WINDOW - HP4CONTROLLER
cd ~/hp4-ctrl
cd ~/controller
./controller --debug
WINDOW - HP4CLIENT (ADMIN)
cd ~/hp4-ctrl
cd ~/controller
./client --debug --startup tests/t05/t05_admin_1 admin
WINDOW - HP4CLIENT (SLICE MANAGER)
cd ~/hp4-ctrl
cd ~/controller
./client --debug --startup tests/t05/t05_jupiter_1 jupiter
test: pairpings
WINDOW - MININET
mininet> source /home/ubuntu/hp4-ctrl/tests/t05/t05_pairpings
mininet> source /home/ubuntu/controller/tests/t05/t05_pairpings
topo change: add switch + 3 hosts in separate IP subnet
mininet> source /home/ubuntu/hp4-ctrl/tests/t05/t05_addnodes
mininet> source /home/ubuntu/controller/tests/t05/t05_addnodes
WINDOW - HP4CLIENT (ADMIN)
# source tests/t05/t05_admin_2
......
File added
#!/bin/bash
cd /home/ubuntu/hp4-src/hp4
cd /home/ubuntu/hp4plus/hp4
gnome-terminal --window-with-profile=mininet --geometry=80x20+0+0 --command="bash -c \"tty > /tmp/pts_mininet; exec bash\"" &
sleep 0.2
cd /home/ubuntu/hp4-ctrl
cd /home/ubuntu/controller
gnome-terminal --window-with-profile=controller --geometry=90x30+800+0 --command="bash -c \"tty > /tmp/pts_controller; exec bash\"" &
sleep 0.2
gnome-terminal --window-with-profile=admin --geometry=80x20+0+415 --command="bash -c \"tty > /tmp/pts_admin; exec bash\"" &
sleep 0.2
cd /home/ubuntu/hp4-src/hp4
cd /home/ubuntu/hp4plus/hp4
gnome-terminal --window-with-profile=bmv2_CLI --geometry=80x20+0+805 --command="bash -c \"tty > /tmp/pts_bmv2_cli; exec bash\"" &
sleep 0.2
cd /home/ubuntu/hp4-ctrl
cd /home/ubuntu/controller
gnome-terminal --geometry=90x30+800+600 --command="bash -c \"tty > /tmp/pts_slice_manager; exec bash\"" &
sleep 0.2
cd /home/ubuntu/hp4-ctrl/tests
cd /home/ubuntu/controller/tests
gnome-terminal --window-with-profile=tests --geometry=80x20+1200+400 &
sleep 0.2
cd /home/ubuntu/hp4-ctrl
cd /home/ubuntu/controller
gnome-terminal --geometry=90x30+1000+800 --command="bash -c \"tty > /tmp/pts_slice_manager_saturn; exec bash\"" &
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