368
368
wmi_obj.Properties_.Item(prop).Value
372
372
"""Reboot the specified instance."""
373
373
vm = self._lookup(instance.name)
375
375
raise exception.InstanceNotFound(instance_id=instance.id)
376
376
self._set_vm_state(instance.name, 'Reboot')
379
379
"""Destroy the VM. Also destroy the associated VHD disk files"""
380
380
LOG.debug(_("Got request to destroy vm %s"), instance.name)
381
381
vm = self._lookup(instance.name)