'Reboot the node.
:return Effect:'

def reboot(self):

    def do_reboot(_):
        self._node.reboot()
        (self._node, self.addresses) = self._node.driver.wait_until_running([self._node], wait_period=15)[0]
        return
    return run_remotely(username='root', address=self.address, commands=run_from_args(['sync'])).on(success=do_reboot)
