def __getIPv4Addr__(addr_list):
    """
    return first ip4 addr it hits
    """
    assert isinstance(addr_list, list)
    for addr in addr_list:
        try:
            assert len(addr[0].split('.')) == 4
            return addr
        except:
            continue
    return None
