'Given initiator group, retrieve the masking view instance name.
Retrieve the list of masking view instances associated with the
given initiator group.
:param array: the array serial number
:param initiatorgroup_name: the name of the initiator group
:returns: list of masking view names'

def get_masking_views_by_initiator_group(self, array, initiatorgroup_name):

    masking_view_list = []
    ig_details = self.get_initiator_group(array, initiatorgroup_name)
    if ig_details:
        if ig_details.get('maskingview'):
            masking_view_list = ig_details['maskingview']
    else:
        LOG.error('Error    retrieving    initiator    group    %(ig_name)s', {'ig_name': initiatorgroup_name})
    return masking_view_list
