374
374
raise exception.InstanceNotFound(instance_id=instance.id)
375
375
self._set_vm_state(instance.name, 'Reboot')
377
def destroy(self, instance, network_info, block_device_info=None,
377
def destroy(self, instance, network_info, block_device_info=None):
379
378
"""Destroy the VM. Also destroy the associated VHD disk files"""
380
379
LOG.debug(_("Got request to destroy vm %s"), instance.name)
381
380
vm = self._lookup(instance.name)