Organizing karaf suites
[integration/test.git] / test / csit / suites / karaf-compatible / 075__Flows_OF13_Stat_Manager / __init__.txt
diff --git a/test/csit/suites/karaf-compatible/075__Flows_OF13_Stat_Manager/__init__.txt b/test/csit/suites/karaf-compatible/075__Flows_OF13_Stat_Manager/__init__.txt
new file mode 100644 (file)
index 0000000..e1c2c23
--- /dev/null
@@ -0,0 +1,29 @@
+*** Settings ***
+Documentation     Test suite for the OpenDaylight base edition with of13, aimed for statistics manager
+Suite Setup       Start Suite
+Suite Teardown    Stop Suite
+Library           SSHLibrary
+
+*** Variables ***
+${start}          sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,1 --switch ovsk,protocols=OpenFlow13
+
+*** Keywords ***
+Start Suite
+    Log    Start the test on the base edition
+    Open Connection    ${MININET}    prompt=>
+    Login With Public Key    ${MININET_USER}    ${USER_HOME}/.ssh/id_rsa    any
+    Write    sudo ovs-vsctl set-manager ptcp:6644
+    Write    sudo mn -c
+    Sleep    2
+    Write    ${start}
+    Sleep    20
+    Read
+
+Stop Suite
+    Log    Stop the test on the base edition
+    Read
+    Write    exit
+    Sleep    2
+    Read
+    Close Connection
+