'Get port info and store it in an instance variable.'

def _set_target_portal(self, port):

    ipv4_addr = None
    tcp_port = None
    result = self.run_raidcom('get', 'port', '-port', port, '-key', 'opt')
    match = _ISCSI_IPV4_ADDR_PATTERN.search(result[1])
    if match:
        ipv4_addr = match.group('ipv4_addr')
    match = _ISCSI_TCP_PORT_PATTERN.search(result[1])
    if match:
        tcp_port = match.group('tcp_port')
    if ((not ipv4_addr) or (not tcp_port)):
        return False
    self.storage_info['portals'][port] = ':'.join([ipv4_addr, tcp_port])
    return True
