${TOPO_TREE_DEPTH} Convert To Integer ${TOPO_TREE_DEPTH}
${TOPO_TREE_FANOUT} Convert To Integer ${TOPO_TREE_FANOUT}
${numnodes} Num Of Nodes ${TOPO_TREE_DEPTH} ${TOPO_TREE_FANOUT}
- Open Connection ${MININET} prompt=> timeout=${numnodes*2}
+ Open Connection ${MININET} prompt=> timeout=${numnodes*3}
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/id_rsa any
Write sudo ovs-vsctl set-manager ptcp:6644
Read Until >
${TOPO_TREE_DEPTH} Convert To Integer ${TOPO_TREE_DEPTH}
${TOPO_TREE_FANOUT} Convert To Integer ${TOPO_TREE_FANOUT}
${numnodes} Num Of Nodes ${TOPO_TREE_DEPTH} ${TOPO_TREE_FANOUT}
- Open Connection ${MININET} prompt=> timeout=${numnodes*2}
+ Open Connection ${MININET} prompt=> timeout=${numnodes*3}
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/id_rsa any
Write sudo ovs-vsctl set-manager ptcp:6644
Read Until >
--- /dev/null
+# Place the suites in run order:
+integration/test/csit/suites/l2switch/Inventory_Scalability_OF13
integration/test/csit/suites/l2switch/Flow_Programming_OF13
integration/test/csit/suites/l2switch/Loop_Removal_OF13
integration/test/csit/suites/l2switch/Host_Tracking_OF13
-integration/test/csit/suites/l2switch/Inventory_Scalability_OF13
-
--- /dev/null
+# Place the suites in run order:
+integration/test/csit/suites/openflowplugin/Performance/010_Cbench.txt
# Place the suites in run order:
integration/test/csit/suites/openflowplugin/MD_SAL_NSF_OF10
integration/test/csit/suites/openflowplugin/AD_SAL_NSF_OF10
-integration/test/csit/suites/openflowplugin/Inventory_Scalability_OF10
integration/test/csit/suites/openflowplugin/MD_SAL_NSF_OF13
integration/test/csit/suites/openflowplugin/AD_SAL_NSF_OF13
integration/test/csit/suites/openflowplugin/Flows_OF13
integration/test/csit/suites/openflowplugin/Switch_Qualification
integration/test/csit/suites/openflowplugin/Flows_Stats_OF13
# integration/test/csit/suites/openflowplugin/Groups_Meters_OF13
-integration/test/csit/suites/openflowplugin/Inventory_Scalability_OF13
--- /dev/null
+# Place the suites in run order:
+integration/test/csit/suites/openflowplugin/Inventory_Scalability_OF13
--- /dev/null
+#!/usr/bin/env sh
+# Connect to ODL Karaf shell. Mostly used for testing.
+
+# Output verbose debug info (true) or not (anything else)
+VERBOSE=true
+# Port that the Karaf shell listens on
+KARAF_SHELL_PORT=8101
+
+# This could be done with public key crypto, but sshpass is easier
+if ! command -v sshpass &> /dev/null; then
+ echo "Installing sshpass. It's used connecting non-interactively"
+ if "$VERBOSE" = true; then
+ sudo yum install -y sshpass
+ else
+ sudo yum install -y sshpass &> /dev/null
+ fi
+fi
+
+echo "Will repeatedly attempt connecting to Karaf shell until it's ready"
+# Loop until exit status 0 (success) given by Karaf shell
+# Exit status 255 means Karaf shell isn't open for SSH connections yet
+# Exit status 1 means `dropAllPacketsRpc on` isn't runnable yet
+until sshpass -p karaf ssh -p $KARAF_SHELL_PORT -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PreferredAuthentications=password karaf@localhost
+do
+ echo "Karaf shell isn't ready yet, sleeping 5 seconds..."
+ sleep 5
+done