*** Settings ***
Documentation Cluster OpenFlow library. So far this library is only to be used by OpenFlow cluster test as it is very specific for this test.
+Library Collections
Library RequestsLibrary
Library ${CURDIR}/ScaleClient.py
Resource ClusterManagement.robot
+Resource CompareStream.robot
Resource MininetKeywords.robot
Resource Utils.robot
Variables ../variables/Variables.py
Check OpenFlow Shards Status
[Arguments] ${controller_index_list}=${EMPTY}
[Documentation] Check Status for all shards in OpenFlow application.
+ CompareStream.Run_Keyword_If_At_Least_Phosphorus Collections.Remove Values From List ${SHARD_OPER_LIST} entity-ownership
+ Log ${SHARD_OPER_LIST}
ClusterManagement.Verify_Leader_Exists_For_Each_Shard shard_name_list=${SHARD_OPER_LIST} shard_type=operational member_index_list=${controller_index_list}
ClusterManagement.Verify_Leader_Exists_For_Each_Shard shard_name_list=${SHARD_CONF_LIST} shard_type=config member_index_list=${controller_index_list}
*** Settings ***
Documentation Cluster Ovsdb library. So far this library is only to be used by Ovsdb cluster test as it is very specific for this test.
+Library Collections
Library RequestsLibrary
Resource ClusterManagement.robot
+Resource CompareStream.robot
Resource MininetKeywords.robot
Resource Utils.robot
Resource OVSDB.robot
Check Ovsdb Shards Status
[Arguments] ${controller_index_list}=${EMPTY}
[Documentation] Check Status for all shards in Ovsdb application.
+ CompareStream.Run_Keyword_If_At_Least_Phosphorus Collections.Remove Values From List ${SHARD_OPER_LIST} entity-ownership
+ Log ${SHARD_OPER_LIST}
ClusterManagement.Verify_Leader_Exists_For_Each_Shard shard_name_list=${SHARD_OPER_LIST} shard_type=operational member_index_list=${controller_index_list}
ClusterManagement.Verify_Leader_Exists_For_Each_Shard shard_name_list=${SHARD_CONF_LIST} shard_type=config member_index_list=${controller_index_list}
*** Settings ***
Documentation Library containing Keywords used for SXP cluster testing
+Library Collections
Library RequestsLibrary
Resource ./ClusterManagement.robot
+Resource ./CompareStream.robot
Resource ./SetupUtils.robot
Resource ./SxpLib.robot
Check Shards Status
[Documentation] Check Status for all shards in SXP application.
ClusterManagement.Check_Cluster_Is_In_Sync
+ CompareStream.Run_Keyword_If_At_Least_Phosphorus Collections.Remove Values From List ${SHARD_OPER_LIST} entity-ownership
+ Log ${SHARD_OPER_LIST}
ClusterManagement.Verify_Leader_Exists_For_Each_Shard shard_name_list=${SHARD_OPER_LIST} shard_type=operational
ClusterManagement.Verify_Leader_Exists_For_Each_Shard shard_name_list=${SHARD_CONF_LIST} shard_type=config