Commit 4f6014d4 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Adding RPC infrastructure to call oob

Signed-off-by: default avatarRené Nussbaumer <>
Reviewed-by: default avatarIustin Pop <>
parent b2f29800
......@@ -1176,6 +1176,16 @@ class RpcRunner(object):
return cls._StaticMultiNodeCall(node_list, "write_ssconf_files", [values])
def call_run_oob(self, node, oob_program, command, remote_node):
"""Runs OOB.
This is a single-node call.
return self._SingleNodeCall(node, "run_oob", [oob_program, command,
def call_os_diagnose(self, node_list):
"""Request a diagnose of OS definitions.
......@@ -726,6 +726,14 @@ class NodeHttpServer(http.server.HttpServer):
return backend.GetMasterInfo()
def perspective_run_oob(params):
"""Runs oob on node.
return serializer.LoadJson(backend.RunOob(params[0], params[1], params[2],
def perspective_write_ssconf_files(params):
"""Write ssconf files.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment