'Gets all volume mappings for given host from array.'

def get_volume_mappings_for_host(self, host_ref):

    mappings = (self.get_volume_mappings() or [])
    return [x for x in mappings if (x.get('mapRef') == host_ref)]
