- @staticmethod
- def start_odl_client(node):
- """Start ODL client on the specified node.
-
- karaf should be located in home directory, and VPP and Honeycomb should
- already be running, otherwise the start will fail.
- :param node: Nodes to start ODL client on.
- :type node: dict
- :raises HoneycombError: If Honeycomb fails to start.
- """
+ (ret_code, _, _) = ssh.exec_command_sudo(cmd)
+ if int(ret_code) != 0:
+ raise HoneycombError(
+ "Failed to copy ODL client on node {0}".format(node["host"]))