Missing part of commit 500faa3ca 15/29915/3
authorJozef Behran <jbehran@cisco.com>
Thu, 19 Nov 2015 10:55:32 +0000 (11:55 +0100)
committerJozef Behran <jbehran@cisco.com>
Thu, 19 Nov 2015 11:44:28 +0000 (12:44 +0100)
A bunch of low-level manipulation was left behind in that
commit. Additionally, this low level manipulation piece
was missing some parts, leading to failures. Replace with
a call to a SSHLibrary keyword that does exactly the same
thing.

Change-Id: I30c0bea4571e8c441612d526171464222882a1e8
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/suites/netconf/MDSAL/northbound.robot

index 8f0763e39c4e442621447fa9597abbb6ad2742dc..0017bf9634d5afed14846cc841dea9f8d0114bda 100644 (file)
@@ -272,8 +272,7 @@ Open_ODL_Netconf_Connection
     SSHLibrary.Write    sshpass -p ${password} ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ${user}\@127.0.0.1 -p ${port} -s netconf
     ${hello}=    SSHLibrary.Read_Until    ${ODL_NETCONF_PROMPT}
     SSHLibrary.Switch_Connection    ${ssh_control}
-    SSHLibrary.Write    ps -A | grep sshpass | cut -b 1-6
-    ${pid}=    SSHKeywords.Read_Command_Response
+    ${pid}=    SSHLibrary.Execute_Command    ps -A | grep sshpass | cut -b 1-6
     BuiltIn.Set_Suite_Variable    ${ssh_netconf_pid}    ${pid}
     SSHLibrary.Switch_Connection    ${ssh_netconf}
     [Return]    ${hello}