+NexusKeywords__Get_Items_To_Look_At
+ [Arguments] ${component}
+ [Documentation] Get a list of items that might contain the version number that we are looking for.
+ BuiltIn.Return_From_Keyword_If '${component}' == 'bgpcep' pcep-impl
+ [Return] ${component}-impl
+
+NexusKeywords__Detect_Version_To_Pull
+ [Arguments] ${component}
+ [Documentation] Determine the exact Nexus directory to be used as a source for a particular test tool
+ ... Figure out what version of the tool needs to be pulled out of the
+ ... Nexus by looking at the version directory of the subsystem from
+ ... which the tool is being pulled. This code is REALLY UGLY but there
+ ... is no way around it until the bug
+ ... https://bugs.opendaylight.org/show_bug.cgi?id=5206 gets fixed.
+ ... I also don't want to depend on maven-metadata-local.xml and other
+ ... bits and pieces of ODL distribution which are not required for ODL
+ ... to function properly.
+ ${itemlist}= NexusKeywords__Get_Items_To_Look_At ${component}
+ ${current_ssh_connection}= SSHLibrary.Get Connection
+ SSHKeywords.Open_Connection_To_ODL_System
+ ${version} ${result}= SSHLibrary.Execute_Command sh search.sh ${WORKSPACE}/${BUNDLEFOLDER}/system ${itemlist} return_rc=True
+ SSHLibrary.Close_Connection
+ Restore Current SSH Connection From Index ${current_ssh_connection.index}