def METHOD_NAME(self, name, size=100, volume_type="tripleo", metadata=None):
    """
    A function to create openstack volumes
    Args:
        name (str): display name of the volume
        size (int): of the volume in GBs
        volume_type (str): type of volume to be created
        metadata (dict): Any {k,v} to be associated with volume
    Returns:
       Volume : cinderclient.Client.Volumes
    """
    cluster_tag = {"cluster_name": config.ENV_DATA["cluster_name"]}
    meta_data = metadata if metadata else cluster_tag
    vol = self.cinder_clnt.volumes.create(
        name=name, size=size, volume_type=volume_type, metadata=meta_data
    )
    if not vol:
        raise exceptions.PSIVolumeCreationFailed(
            "Failed to create PSI openstack volume"
        )
    return vol