'Cleanup after instance being destroyed by Hypervisor.'

def cleanup(self, context, instance, network_info, block_device_info=None, destroy_disks=True, migrate_data=None, destroy_vifs=True):

    self.unplug_vifs(instance, network_info)
