X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=csit%2Flibraries%2FClusterOpenFlow.robot;h=4aaa55c3790a16fd7795dd0eb0b6cdb6cfe0f3b8;hb=refs%2Fchanges%2F36%2F35236%2F4;hp=0a3fd8043778a0f8a093c9c2b66af8ee32136de0;hpb=1bce70eddfe28e6309cf3c80e47277dd995d3354;p=integration%2Ftest.git diff --git a/csit/libraries/ClusterOpenFlow.robot b/csit/libraries/ClusterOpenFlow.robot index 0a3fd80437..4aaa55c379 100644 --- a/csit/libraries/ClusterOpenFlow.robot +++ b/csit/libraries/ClusterOpenFlow.robot @@ -57,7 +57,9 @@ Get Cluster Entity Owner For Openflow : FOR ${entity_candidate} IN @{entity_candidates_list} \ ${candidate}= Replace String &{entity_candidate}[name] member- ${EMPTY} \ ${candidate}= Convert To Integer ${candidate} - \ Run Keyword If '${candidate}' != '${owner}' Append To List ${candidates_list} ${candidate} + \ Append To List ${candidates_list} ${candidate} + List Should Contain Sublist ${candidates_list} ${controller_index_list} Candidates are missing in ${candidates_list} + Remove Values From List ${candidates_list} ${owner} [Return] ${owner} ${candidates_list} Get OpenFlow Entity Owner Status For One Device