Support OVSDB entity name format in Phosphorus
[integration/test.git] / csit / libraries / ClusterOvsdb.robot
index b34673e1d119fdcdaaa971aa41037cda686d9fbc..ba40f0e6714c48718a27ddd018b445db1772ff79 100644 (file)
@@ -1,7 +1,9 @@
 *** 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
@@ -17,6 +19,8 @@ ${OVSDB_CONFIG_DIR}    ${CURDIR}/../variables/ovsdb
 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}