'Completes a resize, turning on the migrated instance.'

def finish_migration(self, context, migration, instance, disk_info, network_info, image_meta, resize_instance=False, block_device_info=None, power_on=True):

    vm_ref = vm_util.get_vm_ref(self._session, instance)
    self._resize_create_ephemerals_and_swap(vm_ref, instance, block_device_info)
    self._update_instance_progress(context, instance, step=5, total_steps=RESIZE_TOTAL_STEPS)
    if power_on:
        vm_util.power_on_instance(self._session, instance, vm_ref=vm_ref)
    self._update_instance_progress(context, instance, step=6, total_steps=RESIZE_TOTAL_STEPS)
