'Retrieve SolidFire volume access group objects by name.
Returns an array of vags with a matching name value.
Returns an empty array if there are no matches.'

def _get_vags_by_name(self, iqn):

    vags = self._base_get_vags()
    vag_name = re.sub('[^0-9a-zA-Z]+', '-', iqn)
    matching_vags = [vag for vag in vags if (vag['name'] == vag_name)]
    return matching_vags
