'Find the list of ips and iqns for the ports in a portgroup.
:param array: the array serial number
:param port_group_name: the portgroup name
:returns: ip_and_iqn - list of dicts'

def _find_ip_and_iqns(self, array, port_group_name):

    ips_and_iqns = []
    LOG.debug('The    portgroup    name    for    iscsiadm    is    %(pg)s', {'pg': port_group_name})
    ports = self.rest.get_port_ids(array, port_group_name)
    for port in ports:
        ip_and_iqn = self._get_ip_and_iqn(array, port)
        ips_and_iqns.extend(ip_and_iqn)
    return ips_and_iqns
