'Updates metadata after host-assisted migration.'

def update_migrated_volume(self, context, volume, new_volume, original_volume_status=None):

    metadata = utils.get_metadata(volume)
    metadata['snapcopy'] = ('True' if utils.is_volume_smp(new_volume) else 'False')
    return {'provider_location': new_volume.provider_location, 'metadata': metadata}
