'Get ip and iqn from the director port.
:param array: the array serial number
:param port: the director port on the array
:returns: ip_and_iqn - dict'

def _get_ip_and_iqn(self, array, port):

    ip_iqn_list = []
    (ip_addresses, iqn) = self.rest.get_iscsi_ip_address_and_iqn(array, port)
    for ip in ip_addresses:
        ip_iqn_list.append({'iqn': iqn, 'ip': ip})
    return ip_iqn_list
