mininet control test 11
authorLuis Gomez <luis.gomez@ericsson.com>
Fri, 22 Nov 2013 01:01:33 +0000 (17:01 -0800)
committerLuis Gomez <luis.gomez@ericsson.com>
Fri, 22 Nov 2013 20:48:46 +0000 (12:48 -0800)
Change-Id: I6478289751d588868f0c406195beb4891e4b1dd5
Signed-off-by: Luis Gomez <luis.gomez@ericsson.com>
test/csit/suites/base/005__Switch_Manager.txt [moved from test/csit/suites/base/01__Switch_Manager/test.txt with 100% similarity]
test/csit/suites/base/010_Topology_Manager.txt [moved from test/csit/suites/base/02__Topology_Manager/test.txt with 100% similarity]
test/csit/suites/base/__init__.txt [new file with mode: 0644]

diff --git a/test/csit/suites/base/__init__.txt b/test/csit/suites/base/__init__.txt
new file mode 100644 (file)
index 0000000..a828208
--- /dev/null
@@ -0,0 +1,26 @@
+*** Settings ***
+Documentation     Test suite for the OpenDaylight base edition
+Suite Setup       Start Suite
+Suite Teardown    Stop Suite
+Library     SSHLibrary
+
+*** Variables ***
+${start}=  sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,2
+
+*** Keywords ***
+Start Suite  
+    Log    Start the test on the base edition
+    Open Connection   ${MININET}     prompt=>
+    Login With Public Key    ${REMOTEUSER}   ${KEYPATH}/.ssh/id_rsa   any 
+    Write    sudo mn -c
+    Sleep    2
+    Read
+    Write    ${start}
+    Sleep    12
+    Read
+Stop Suite
+    Log    Stop the test on the base edition
+    Write    exit 
+    Sleep    2
+    Read 
+    Close Connection