Update Robot Framework format - step 14
[integration/test.git] / csit / suites / sxp / basic / 040_Custom_Passwords.robot
index a58e0b6b4b9600dfdcb9571f8252ea65bea0ddeb..542c4b2aefe36e8fd613880c98569adfff46fb88 100644 (file)
@@ -1,57 +1,64 @@
 *** Settings ***
-Documentation     Test suite to test custom password per peer fuctionality
-Suite Setup       Setup SXP Environment Local
-Suite Teardown    Clean SXP Environment    3
-Test Setup        Clean Nodes
-Library           RequestsLibrary
-Library           SSHLibrary
-Library           ../../../libraries/Sxp.py
-Resource          ../../../libraries/SxpLib.robot
+Documentation       Test suite to test custom password per peer fuctionality
+
+Library             RequestsLibrary
+Library             SSHLibrary
+Library             ../../../libraries/Sxp.py
+Resource            ../../../libraries/SxpLib.robot
+
+Suite Setup         Setup SXP Environment Local
+Suite Teardown      Clean SXP Environment    3
+Test Setup          Clean Nodes
 
-*** Variables ***
 
 *** Test Cases ***
 Version 1
     [Documentation]    Test of custom passwords on version1 connections
-    [Tags]    SXP    Passwords
+    [Tags]    sxp    passwords
     Test Mode    version1    listener    speaker
     Clean Nodes
     Test Mode    version1    speaker    listener
 
 Version 2
     [Documentation]    Test of custom passwords on version2 connections
-    [Tags]    SXP    Passwords
+    [Tags]    sxp    passwords
     Test Mode    version2    listener    speaker
     Clean Nodes
     Test Mode    version2    speaker    listener
 
 Version 3
     [Documentation]    Test of custom passwords on version3 connections
-    [Tags]    SXP    Passwords
+    [Tags]    sxp    passwords
     Test Mode    version3    listener    speaker
     Clean Nodes
     Test Mode    version3    speaker    listener
 
 Version 4
     [Documentation]    Test of custom passwords on version4 connections
-    [Tags]    SXP    Passwords
+    [Tags]    sxp    passwords
     Test Mode    version4    speaker    listener
     Clean Nodes
     Test Mode    version4    listener    speaker
     Clean Nodes
     Test Mode    version4    both    both
 
+
 *** Keywords ***
 Setup SXP Environment Local
     [Documentation]    Create session to Controller
-    RequestsLibrary.Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    timeout=${DEFAULT_TIMEOUT_HTTP}    max_retries=0
+    RequestsLibrary.Create Session
+    ...    session
+    ...    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}
+    ...    auth=${AUTH}
+    ...    timeout=${DEFAULT_TIMEOUT_HTTP}
+    ...    max_retries=0
     Add Node    127.0.0.1    ${EMPTY}
     Add Node    127.0.0.2    ${EMPTY}
     Add Node    127.0.0.3    CUSTOM
 
 Test Mode
-    [Arguments]    ${version}    ${mode_local}    ${mode_remote}
     [Documentation]    Setup connection Speaker => Listener / Listener => Speaker / Both <=> Both for specific versions
+    [Arguments]    ${version}    ${mode_local}    ${mode_remote}
     Add Connection    ${version}    ${mode_local}    127.0.0.3    64999    127.0.0.1    CUSTOM
     Add Connection    ${version}    ${mode_remote}    127.0.0.1    64999    127.0.0.3    ${EMPTY}
     Wait Until Keyword Succeeds    120x    1s    Verify Connection    ${version}    ${mode_local}    127.0.0.3