'Reboot the specified instance.'

def reboot(self, instance, network_info, reboot_type):

    LOG.debug('Rebooting    instance', instance=instance)
    if (reboot_type == REBOOT_TYPE_SOFT):
        if self._soft_shutdown(instance):
            self.power_on(instance, network_info=network_info)
            return
    self._set_vm_state(instance, os_win_const.HYPERV_VM_STATE_REBOOT)
