

def reboot_node(self, node):
    domain = self._get_domain_for_node(node=node)
    return (domain.reboot(flags=0) == 0)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/libvirt_driver.py LibvirtNodeDriver.reboot_node/original