summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
fc520fe)
Change-Id: I917f3bfd9cea043e1bc820536db07697e0d41040
Signed-off-by: selias <samelias@cisco.com>
def setup_odl_client(node, odl_name):
"""Start ODL client on the specified node.
def setup_odl_client(node, odl_name):
"""Start ODL client on the specified node.
- Karaf should be located in /nfs/common, and VPP and Honeycomb should
+ Karaf should be located in /mnt/common, and VPP and Honeycomb should
already be running, otherwise the start will fail.
:param node: Node to start ODL client on.
:param odl_name: Name of ODL client version to use.
already be running, otherwise the start will fail.
:param node: Node to start ODL client on.
:param odl_name: Name of ODL client version to use.
ssh = SSH()
ssh.connect(node)
ssh = SSH()
ssh.connect(node)
- cmd = "cp -r /nfs/common/*karaf_{name}* ~/karaf".format(name=odl_name)
+ cmd = "cp -r /mnt/common/*karaf_{name}* ~/karaf".format(name=odl_name)
(ret_code, _, _) = ssh.exec_command_sudo(cmd)
if int(ret_code) != 0:
(ret_code, _, _) = ssh.exec_command_sudo(cmd)
if int(ret_code) != 0: