- ${status} ${old_connection_index} = BuiltIn.Run Keyword And Ignore Error Get From Dictionary ${connection_index_dict} ${member_index}
- BuiltIn.Run Keyword If '${status}'=='PASS' BuiltIn.Run Keywords SSHLibrary.Switch Connection ${old_connection_index}
- ... AND SSHLibrary.Close Connection
- ${odl_ip}= ClusterManagement.Resolve_IP_Address_For_Member ${member_index}
- SSHLibrary.Open Connection ${odl_ip} port=${KARAF_SHELL_PORT} prompt=${KARAF_DETAILED_PROMPT} timeout=${timeout}
- ${karaf_connection_object}= SSHLibrary.Get Connection
- Collections.Set To Dictionary ${connection_index_dict} ${member_index} ${karaf_connection_object.index}
+ ${status} ${old_connection_index} = BuiltIn.Run_Keyword_And_Ignore_Error Get From Dictionary ${connection_index_dict} ${member_index}
+ BuiltIn.Run_Keyword_If '${status}'=='PASS' BuiltIn.Run_Keywords SSHLibrary.Switch_Connection ${old_connection_index}
+ ... AND SSHLibrary.Close_Connection
+ ${odl_ip} = ClusterManagement.Resolve_IP_Address_For_Member ${member_index}
+ SSHLibrary.Open_Connection ${odl_ip} port=${KARAF_SHELL_PORT} prompt=${KARAF_PROMPT_LOGIN} timeout=${timeout}
+ ${karaf_connection_object} = SSHLibrary.Get_Connection
+ Collections.Set_To_Dictionary ${connection_index_dict} ${member_index} ${karaf_connection_object.index}