'Get a filtered list of VMAX volumes from array.
Filter parameters are required as the unfiltered volume list could be
very large and could affect performance if called often.
:param array: the array serial number
:param params: filter parameters
:returns: device_ids -- list'

def get_volume_list(self, array, params):

    device_ids = []
    volumes = self.get_resource(array, SLOPROVISIONING, 'volume', params=params)
    try:
        volume_dict_list = volumes['resultList']['result']
        for vol_dict in volume_dict_list:
            device_id = vol_dict['volumeId']
            device_ids.append(device_id)
    except (KeyError, TypeError):
        pass
    return device_ids
