+ SSHLibrary.Get_File ${testtool_log}
+
+NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired
+ [Arguments] ${deadline_Date}
+ BuiltIn.Return_From_Keyword_If not ${ENABLE_NETCONF_TEST_TIMEOUT}
+ ${current_Date}= DateTime.Get_Current_Date
+ ${ellapsed_seconds}= DateTime.Subtract_Date_From_Date ${deadline_Date} ${current_Date}
+ BuiltIn.Run_Keyword_If ${ellapsed_seconds}<0 Fail The global time out period expired
+
+NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device
+ [Arguments] ${operation} ${deadline_Date} ${log_response}=True
+ NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired ${deadline_Date}
+ ${number}= BuiltIn.Evaluate ${current_port}-${BASE_NETCONF_DEVICE_PORT}+1
+ BuiltIn.Run_Keyword ${operation} ${DEVICE_NAME_BASE}-${number} log_response=${log_response}
+ ${next}= BuiltIn.Evaluate ${current_port}+1
+ BuiltIn.Set_Suite_Variable ${current_port} ${next}
+
+Perform_Operation_On_Each_Device
+ [Arguments] ${operation} ${count}=${NetconfKeywords__testtool_device_count} ${timeout}=45m ${log_response}=True
+ ${current_Date}= DateTime.Get_Current_Date
+ ${deadline_Date}= DateTime.Add_Time_To_Date ${current_Date} ${timeout}
+ BuiltIn.Set_Suite_Variable ${current_port} ${BASE_NETCONF_DEVICE_PORT}
+ BuiltIn.Repeat_Keyword ${count} times NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device ${operation} ${deadline_Date} log_response=${log_response}
+
+Disable SSE On Controller
+ [Arguments] ${controller_ip}
+ [Documentation] Sets the config for using SSE (Server Side Events) to false. Note that
+ ... this keyword only changes the config. A controller restart is needed for the config to
+ ... to take effect.
+ SSHLibrary.Open Connection ${controller_ip}
+ Login With Public Key ${ODL_SYSTEM_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
+ ${cmd}= Set Variable echo "use-sse=false" > ${SSE_CFG_FILE}
+ SSHLibrary.Execute Command ${cmd}
+ SSHLibrary.Close Connection
+
+Enable SSE On Controller
+ [Arguments] ${controller_ip}
+ [Documentation] Sets the config for using SSE (Server Side Events) to true. Note that
+ ... this keyword only changes the config. A controller restart is needed for the config to
+ ... to take effect.
+ SSHLibrary.Open Connection ${controller_ip}
+ Login With Public Key ${ODL_SYSTEM_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
+ ${cmd}= Set Variable echo "use-sse=true" > ${SSE_CFG_FILE}
+ SSHLibrary.Execute Command ${cmd}
+ SSHLibrary.Close Connection