'Return model update for migrated volume.'

def update_migrated_volume(self, ctxt, volume, new_volume, original_volume_status):

    src_volume_id = volume['id'].replace('-', '')
    dst_volume_id = new_volume['id'].replace('-', '')
    part_id = self._extract_specific_provider_location(new_volume['provider_location'], 'partition_id')
    if (part_id is None):
        part_id = self._get_part_id(dst_volume_id)
    LOG.debug('Rename    partition    %(part_id)s    into    new    volume    %(new_volume)s.', {'part_id': part_id, 'new_volume': dst_volume_id})
    try:
        self._execute('SetPartition', part_id, ('name=%s' % src_volume_id))
    except exception.InfortrendCliException:
        LOG.exception('Failed    to    rename    %(new_volume)s    into    %(volume)s.', {'new_volume': new_volume['id'], 'volume': volume['id']})
        return {'_name_id': (new_volume['_name_id'] or new_volume['id'])}
    LOG.info('Update    migrated    volume    %(new_volume)s    completed.', {'new_volume': new_volume['id']})
    model_update = {'_name_id': None, 'provider_location': new_volume['provider_location']}
    return model_update
