Esempio n. 1
0
def synchronize_node(hostname, user_name):
    client = DBUSInterfaceClient()

    return client.call_nodes_operation(user_name, [hostname], "SYNC", [])
Esempio n. 2
0
def reboot_node(hostname, user_name):
    client = DBUSInterfaceClient()

    return client.call_nodes_operation(user_name, [hostname], "REBOOT", [])