Update Robot Framework format - step 13
[integration/test.git] / csit / suites / ovsdb / Southbound_Cluster / 010__Ovsdb_Southbound_Cluster.robot
index 7263e4170df1af5a608285bee5947a5f717ee8a7..0a1f4a4a9e24f075f62ffc7ee369e5f2b1a8e36f 100644 (file)
@@ -1,14 +1,17 @@
 *** Settings ***
-Documentation     Test suite for Ovsdb Southbound Cluster - Owner failover and recover
-Suite Setup       Suite Setup
-Suite Teardown    Delete All Sessions
-Test Setup        SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
-Library           Collections
-Library           RequestsLibrary
-Resource          ../../../libraries/ClusterManagement.robot
-Resource          ../../../libraries/ClusterOvsdb.robot
-Resource          ../../../libraries/SetupUtils.robot
-Resource          ../../../variables/Variables.robot
+Documentation       Test suite for Ovsdb Southbound Cluster - Owner failover and recover
+
+Library             Collections
+Library             RequestsLibrary
+Resource            ../../../libraries/ClusterManagement.robot
+Resource            ../../../libraries/ClusterOvsdb.robot
+Resource            ../../../libraries/SetupUtils.robot
+Resource            ../../../variables/Variables.robot
+
+Suite Setup         Suite Setup
+Suite Teardown      Delete All Sessions
+Test Setup          SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
+
 
 *** Test Cases ***
 Check Shards Status Before Fail
@@ -17,12 +20,14 @@ Check Shards Status Before Fail
 
 Start OVS Multiple Connections
     [Documentation]    Connect OVS to all cluster instances.
-    ${ovsdb_uuid}    OVSDB.Add Multiple Managers to OVS
+    ${ovsdb_uuid}    OVSDB.Add Multiple Managers to OVS
     Set Suite Variable    ${ovsdb_uuid}
 
 Check Entity Owner Status And Find Owner and Candidate Before Fail
     [Documentation]    Check Entity Owner Status and identify owner and candidate.
-    ${original_owner}    ${original_candidate_list} =    ClusterOvsdb.Get Ovsdb Entity Owner Status For One Device    ovsdb://uuid/${ovsdb_uuid}    1
+    ${original_owner}    ${original_candidate_list} =    ClusterOvsdb.Get Ovsdb Entity Owner Status For One Device
+    ...    ovsdb://uuid/${ovsdb_uuid}
+    ...    1
     ${original_candidate} =    Collections.Get From List    ${original_candidate_list}    0
     BuiltIn.Set Suite Variable    ${original_owner}
     BuiltIn.Set Suite Variable    ${original_candidate_list}
@@ -83,7 +88,10 @@ Check Shards Status After Fail
 
 Check Entity Owner Status And Find Owner and Candidate After Fail
     [Documentation]    Check Entity Owner Status and identify owner and candidate.
-    ${new_owner}    ${new_candidate_list} =    ClusterOvsdb.Get Ovsdb Entity Owner Status For One Device    ovsdb://uuid/${ovsdb_uuid}    ${original_candidate}    ${new_cluster_list}
+    ${new_owner}    ${new_candidate_list} =    ClusterOvsdb.Get Ovsdb Entity Owner Status For One Device
+    ...    ovsdb://uuid/${ovsdb_uuid}
+    ...    ${original_candidate}
+    ...    ${new_cluster_list}
     ${new_candidate} =    Collections.Get From List    ${new_candidate_list}    0
     BuiltIn.Set Suite Variable    ${new_owner}
     BuiltIn.Set Suite Variable    ${new_candidate}
@@ -134,7 +142,9 @@ Check Shards Status After Recover
 
 Check Entity Owner Status After Recover
     [Documentation]    Check Entity Owner Status and identify owner and candidate.
-    ${new_owner}    ${new_candidate_list} =    ClusterOvsdb.Get Ovsdb Entity Owner Status For One Device    ovsdb://uuid/${ovsdb_uuid}    1
+    ${new_owner}    ${new_candidate_list} =    ClusterOvsdb.Get Ovsdb Entity Owner Status For One Device
+    ...    ovsdb://uuid/${ovsdb_uuid}
+    ...    1
     BuiltIn.Set Suite Variable    ${new_owner}
 
 Create Bridge Manually and Verify After Recover
@@ -197,6 +207,7 @@ Cleans Up Test Environment For Next Suite
     [Documentation]    Cleans up test environment, close existing sessions in teardown.
     ClusterOvsdb.Configure Exit OVSDB Connection
 
+
 *** Keywords ***
 Suite Setup
     SetupUtils.Setup_Utils_For_Setup_And_Teardown