def get_ip_and_port(pao, wrappers):
    """ This function obtains ip and port of given pao wrapper from list of wrappers.

    :param pao: Given unit of active defense.
    :param wrappers: List of wrappers.
    :return: ip and port to access the wrapper of given 'pao'.
    """
    ip = ''
    port = ''
    for wrapper in wrappers['paos']:
        if wrapper['pao'] == pao:
            ip = wrapper['ip']
            port = wrapper['port']
            break
    return ip, port