From: Peter Gubka Date: Mon, 24 Jul 2017 14:16:22 +0000 (+0200) Subject: Remove ODL_STERAM variable X-Git-Tag: release/nitrogen~85 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F60691%2F2;p=integration%2Ftest.git Remove ODL_STERAM variable Change-Id: Iee517e664fad3855b3c086c71dc27b51df457600 Signed-off-by: Peter Gubka --- diff --git a/csit/libraries/ClusterManagement.robot b/csit/libraries/ClusterManagement.robot index c44d0470bc..e01f5e5b61 100644 --- a/csit/libraries/ClusterManagement.robot +++ b/csit/libraries/ClusterManagement.robot @@ -176,7 +176,7 @@ Verify_Owner_And_Successors_For_Device ${owner} ${successor_list} = Get_Owner_And_Successors_For_Device device_name=${device_name} device_type=${device_type} member_index=${member_index} Collections.List_Should_Contain_Value ${index_list} ${owner} Owner ${owner} is not in candidate list ${index_list} # In Beryllium or after stopping an instance, the removed instance does not show in the candidate list. - ${expected_candidate_list_origin} = BuiltIn.Set_Variable_If '${ODL_STREAM}' == 'beryllium' or ${after_stop} ${index_list} ${ClusterManagement__member_index_list} + ${expected_candidate_list_origin} = BuiltIn.Set_Variable_If ${after_stop} ${index_list} ${ClusterManagement__member_index_list} # We do not want to manipulate either origin list. ${expected_successor_list} = BuiltIn.Create_List @{expected_candidate_list_origin} Collections.Remove_Values_From_List ${expected_successor_list} ${owner} @@ -335,8 +335,7 @@ Extract_Service_Entity_Type Extract_OpenFlow_Device_Data [Arguments] ${data} [Documentation] Remove superfluous OpenFlow device data from Entity Owner printout. - ${clear_data} = BuiltIn.Run Keyword If '${ODL_STREAM}' != 'beryllium' and '${ODL_OF_PLUGIN}' == 'lithium' String.Replace_String ${data} org.opendaylight.mdsal.ServiceEntityType openflow - ... ELSE BuiltIn.Set_Variable ${data} + ${clear_data} = String.Replace_String ${data} org.opendaylight.mdsal.ServiceEntityType openflow ${clear_data} = String.Replace_String ${clear_data} /odl-general-entity:entity[odl-general-entity:name=' ${EMPTY} ${clear_data} = String.Replace_String ${clear_data} /general-entity:entity[general-entity:name=' ${EMPTY} ${clear_data} = String.Replace_String ${clear_data} '] ${EMPTY} diff --git a/csit/libraries/VtnMaKeywords.robot b/csit/libraries/VtnMaKeywords.robot index d6afc5e390..7152862b3a 100644 --- a/csit/libraries/VtnMaKeywords.robot +++ b/csit/libraries/VtnMaKeywords.robot @@ -315,8 +315,7 @@ Verify flowactions [Documentation] Verify the flowfilter actions after ping in the dumpflows write ${DUMPFLOWS} ${result} Read Until mininet> - Run Keyword If '${actions}' == 'set_field:32->ip_dscp' and '${ODL_STREAM}' == 'beryllium' Should Contain ${result} ${dscp_be_action} - ... ELSE Should Contain ${result} ${actions} + Should Contain ${result} ${actions} Add a vtn flowfilter [Arguments] ${vtn_name} ${vtnflowfilter_data}