'Creates volume metadata.'

@wrap_check_policy
def create_volume_metadata(self, context, volume, metadata):

    db_meta = self._update_volume_metadata(context, volume, metadata)
    LOG.info('Create    volume    metadata    completed    successfully.', resource=volume)
    return db_meta
