Update Robot Framework format - step 6
[integration/test.git] / csit / suites / examples / 2016_Summit_Tutorial_Example.robot
index 6d118690bb7d87ce014caa1a44251eb5cf238e92..71a73150955074f1310f2d713be3bd0eca200eaf 100644 (file)
@@ -1,15 +1,19 @@
 *** Settings ***
-Documentation     Example Robot suite used for the CSIT tutorial at the 2016 OpenDaylight Summit
-Suite Setup       Local Suite Setup
-Suite Teardown    Local Suite Teardown
-Test Setup        SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
-Library           RequestsLibrary
-Variables         ../../variables/Variables.py
-Resource          ../../libraries/OVSDB.robot
-Resource          ../../libraries/SetupUtils.robot
+Documentation       Example Robot suite used for the CSIT tutorial at the 2016 OpenDaylight Summit
+
+Library             RequestsLibrary
+Variables           ../../variables/Variables.py
+Resource            ../../libraries/OVSDB.robot
+Resource            ../../libraries/SetupUtils.robot
+
+Suite Setup         Local Suite Setup
+Suite Teardown      Local Suite Teardown
+Test Setup          SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
+
 
 *** Variables ***
-${switch_name}    odl_summit_switch
+${switch_name}      odl_summit_switch
+
 
 *** Test Cases ***
 Verify Ovs Is Discovered In Operational
@@ -19,7 +23,12 @@ Verify Ovs Is Discovered In Operational
     Wait Until Keyword Succeeds    5s    1s    Verify Ovs Reports Connected
     # very basic list of things we expect to find in the output of from operational's topology response
     @{elements_to_verify}    Create List    openflow:    node-id
-    Wait Until Keyword Succeeds    5s    1s    Check For Elements At URI    ${OPERATIONAL_TOPO_API}    ${elements_to_verify}
+    Wait Until Keyword Succeeds
+    ...    5s
+    ...    1s
+    ...    Check For Elements At URI
+    ...    ${OPERATIONAL_TOPO_API}
+    ...    ${elements_to_verify}
 
 Verify There Is No Topology In Config Store
     [Documentation]    Only the operational store should have any topology info at this point, as it was
@@ -36,12 +45,15 @@ Delete Openflow Rule
     [Tags]    exclude
     Log    This test case is not implemented yet
 
+
 *** Keywords ***
 Connect Ovs To Controller
     [Documentation]    Will set the ovs manager to point at the ODL IP on the openflow port
     Run Command On Remote System    ${TOOLS_SYSTEM_IP}    sudo ovs-vsctl add-br ${switch_name}
     Run Command On Remote System    ${TOOLS_SYSTEM_IP}    sudo ovs-vsctl set bridge ${switch_name} protocols=OpenFlow13
-    Run Command On Remote System    ${TOOLS_SYSTEM_IP}    sudo ovs-vsctl set bridge ${switch_name} other-config:hwaddr=00:00:00:00:00:01
+    Run Command On Remote System
+    ...    ${TOOLS_SYSTEM_IP}
+    ...    sudo ovs-vsctl set bridge ${switch_name} other-config:hwaddr=00:00:00:00:00:01
     Set Controller In OVS Bridge    ${TOOLS_SYSTEM_IP}    ${switch_name}    tcp:${ODL_SYSTEM_IP}:${ODL_OF_PORT}
 
 Local Suite Setup