'Get common masking views for a given portgroup and initiator group.
:param array: the array serial number
:param portgroup_name: the port group name
:param ig_name: the initiator group name
:returns: masking view list'

def get_common_masking_views(self, array, portgroup_name, ig_name):

    params = {'port_group_name': portgroup_name, 'host_or_host_group_name': ig_name}
    masking_view_list = self.get_masking_view_list(array, params)
    if (not masking_view_list):
        LOG.info('No    common    masking    views    found    for    %(pg_name)s    and    %(ig_name)s.', {'pg_name': portgroup_name, 'ig_name': ig_name})
    return masking_view_list
