Update Robot Framework format - step 12
[integration/test.git] / csit / suites / openflowplugin / Switch_Qualification / 010_OpenFlow_Connection.robot
index ba63894d93031deecdebed47194eaaaa148860cd..90bc4ab3f1204dd80378d4eeaccc43b3f40ed93b 100644 (file)
@@ -1,24 +1,28 @@
 *** Settings ***
-Documentation     TODO
-Suite Setup       Switch Qualification Suite Setup
-Suite Teardown    Switch Qualification Suite Teardown
-Test Timeout      5m
-Library           Collections
-Library           OperatingSystem
-Library           RequestsLibrary
-Library           ../../../libraries/Common.py
-Library           ../../../libraries/SwitchClasses/${SWITCH_CLASS}.py
-Variables         ../../../variables/Variables.py
-Resource          ../../../libraries/SwitchUtils.robot
-Resource          ../../../libraries/Utils.robot
-Resource          ../../../variables/openflowplugin/Variables.robot
+Documentation       TODO
+
+Library             Collections
+Library             OperatingSystem
+Library             RequestsLibrary
+Library             ../../../libraries/Common.py
+Library             ../../../libraries/SwitchClasses/${SWITCH_CLASS}.py
+Variables           ../../../variables/Variables.py
+Resource            ../../../libraries/SwitchUtils.robot
+Resource            ../../../libraries/Utils.robot
+Resource            ../../../variables/openflowplugin/Variables.robot
+
+Suite Setup         Switch Qualification Suite Setup
+Suite Teardown      Switch Qualification Suite Teardown
+Test Timeout        5m
+
 
 *** Variables ***
-${SWITCH_CLASS}    Ovs
-${SWITCH_IP}      ${TOOLS_SYSTEM_IP}
+${SWITCH_CLASS}     Ovs
+${SWITCH_IP}        ${TOOLS_SYSTEM_IP}
 ${SWITCH_PROMPT}    ${TOOLS_SYSTEM_PROMPT}
 ${ODL_SYSTEM_IP}    null
-${REST_CONTEXT}    ${RFC8040_NODES_API}
+${REST_CONTEXT}     ${RFC8040_NODES_API}
+
 
 *** Test Cases ***
 OF1.3 Connection Between Switch and Controller
@@ -34,6 +38,7 @@ OF1.3 Connection Between Switch and Controller
     ##- proper default flow rules
     ##- ???
 
+
 *** Keywords ***
 Switch Qualification Suite Setup
     ${test_switch}=    Get Switch    ${SWITCH_CLASS}
@@ -41,7 +46,8 @@ Switch Qualification Suite Setup
     Call Method    ${test_switch}    set_mgmt_ip    ${SWITCH_IP}
     Call Method    ${test_switch}    set_controller_ip    ${ODL_SYSTEM_IP}
     Call Method    ${test_switch}    set_mgmt_prompt    ${SWITCH_PROMPT}
-    Log    MAKE: ${test_switch.make}\nMODEL: ${test_switch.model}\nIP: ${test_switch.mgmt_ip}\nPROMPT: ${test_switch.mgmt_prompt}\nCONTROLLER_IP: ${test_switch.of_controller_ip}\nMGMT_PROTOCOL: ${test_switch.mgmt_protocol}
+    Log
+    ...    MAKE: ${test_switch.make}\nMODEL: ${test_switch.model}\nIP: ${test_switch.mgmt_ip}\nPROMPT: ${test_switch.mgmt_prompt}\nCONTROLLER_IP: ${test_switch.of_controller_ip}\nMGMT_PROTOCOL: ${test_switch.mgmt_protocol}
     Ping    ${test_switch.mgmt_ip}
     Initialize Switch    ${test_switch}
     Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}