Re: [yang-doctors] Yangdoctors early review of draft-ietf-lisp-yang-20

Luigi Iannone <ggx@gigix.net> Tue, 28 November 2023 12:49 UTC

Return-Path: <ggx@gigix.net>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 05BA2C14CE36 for <yang-doctors@ietfa.amsl.com>; Tue, 28 Nov 2023 04:49:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gigix-net.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IObc4Kwir_oK for <yang-doctors@ietfa.amsl.com>; Tue, 28 Nov 2023 04:49:40 -0800 (PST)
Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 740C8C14CE5F for <yang-doctors@ietf.org>; Tue, 28 Nov 2023 04:49:40 -0800 (PST)
Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a0bdf4eeb46so404028166b.3 for <yang-doctors@ietf.org>; Tue, 28 Nov 2023 04:49:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gigix-net.20230601.gappssmtp.com; s=20230601; t=1701175779; x=1701780579; darn=ietf.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kIgouPBFiOO/Ia+i/08d4dFXkYSvDpSE/VhpRVnuMok=; b=QkaCvymHyGTwo72CFmxb6F4J056g4IxjKBL6XdMmgcO5pVfgj4X5M/+Gmj3SPyWSfA UouV1LUoe+XDOT8eAm+uVTB96JXPMgz0Fvb0qTXj8JlY9hWebh1nNfhevOpnhZJsw4SB +Fo5l/UCUWPCa900L6YsHXdxev2Mg9jOsjbt3g+YW9lsPzBDJ4PFmKDG+rdEAO6l1rlM Q7Tv3fZ6VhHAQjqIUr4Tti18hhynGSFUocoIFzYOUPcrTx+i3lVrgD7goQKUEHdsv0SH sUXP3KqrkAhNYU5zt1zTBYykL6d/IGCDxkxQTVuctzdlq325toY3C3VqD+6dDbCUVSMN toyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701175779; x=1701780579; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kIgouPBFiOO/Ia+i/08d4dFXkYSvDpSE/VhpRVnuMok=; b=IExGRC+v62eHtxJDTsOjzU/dJ9O9AxLchs4CMyf6BvCOzHCuAFesUoX7ntt13ISQ/9 Lspnix1dUVh2ctdGfiLNY0ZLvLvcmMWCroYPcl93UfI5iakzHiAR9k6oEzH+CitCs628 9NrmMD/SudPVzynGZ+KIxg7Fbro/dtWgptnLbZonGgq+GoZgtjF+GVNGiZe8RpFmh8MZ r/boi4//NAc72WZDUjuTI7tRj/daVuyLtvvzk9J0/I+x1FcZy/Apzkb9bKMVVv0CKbDv vNXGrg0hdXb48HSnh/Vls4c1lT6v8EOFX83S/Km5EHfoKPEwIcGEwNcfPvLehnoeu8O9 Vf3A==
X-Gm-Message-State: AOJu0YzlyA20+QDGP02MfojtxkpM7IUNfHpVesK439a5lA05tu1JgoqK shH+zdat+xheF5pcSWDNqSdwcA==
X-Google-Smtp-Source: AGHT+IEPCPNCqMtg0uai63dsXyk/UvkKI5VDhJU1x3BZZBFa/g4eypLTCNtwO2KSBupWIQ+KAnePQA==
X-Received: by 2002:a17:907:2992:b0:9ff:2374:1571 with SMTP id eu18-20020a170907299200b009ff23741571mr8220375ejc.69.1701175778682; Tue, 28 Nov 2023 04:49:38 -0800 (PST)
Received: from smtpclient.apple (91-167-176-17.subs.proxad.net. [91.167.176.17]) by smtp.gmail.com with ESMTPSA id p18-20020a1709061b5200b009b9a1714524sm6874548ejg.12.2023.11.28.04.49.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Nov 2023 04:49:38 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\))
From: Luigi Iannone <ggx@gigix.net>
In-Reply-To: <170110829132.9448.206573558890876120@ietfa.amsl.com>
Date: Tue, 28 Nov 2023 13:49:27 +0100
Cc: yang-doctors@ietf.org, draft-ietf-lisp-yang.all@ietf.org, lisp@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <A8614A12-B231-4706-87EA-C79E5323137B@gigix.net>
References: <170110829132.9448.206573558890876120@ietfa.amsl.com>
To: Joe Clarke <jclarke@cisco.com>
X-Mailer: Apple Mail (2.3774.200.91.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/N21xXk_QWRKFvrXEGWWeRLbo2JE>
Subject: Re: [yang-doctors] Yangdoctors early review of draft-ietf-lisp-yang-20
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Nov 2023 12:49:41 -0000

Joe,

Thank you very much for your review.

The authors will take care of addressing your comments.

Ciao

L.


> On Nov 27, 2023, at 19:04, Joe Clarke via Datatracker <noreply@ietf.org> wrote:
> 
> Reviewer: Joe Clarke
> Review result: On the Right Track
> 
> I am the latest member of YANG Doctors to review this document and the modules
> therein.  I looked over chopps' previous review, and it appears most of his
> comments have been addressed.  In my own reading, I found inconsistent use of
> capitalization and punctuation in descriptions (e.g., some ended in periods,
> some did not; most started with a capital letter, some did not); as well as
> inconsistent quoting.  All modules would benefit from a `pyang -f yang`
> normalization and an editorial pass.
> 
> In the ietf-lisp module itself, there are a couple of patterns in there where I
> wonder if the regex is what you want exactly.  For example, is it okay if an
> eid-id starts with a ':' or a '-'?  For the locator-id, this is a string of
> 1-64 characters, but the regex hints it could be zero or more of the character
> class (a similar example exists with hop-id in address-types).
> 
> All modules' initial revisions reference the original LISP RFC but do so with a
> URL only vs. a more correct, RFC 6830: ... syntax.  And speaking of revision,
> most of the modules have a revision of 2021-02-22 with the exception of itr and
> mapresolver.  This isn't a big deal now, as I assume you'll set all of these
> when the draft is finalized.  You should also update all of the copyright years
> and copyright text.
> 
> As to the two questions asked here, I can see some benefit of breaking out the
> IANA parts of address-types into a module that they maintain.  But in its
> current form, I don't know that it makes sense to have them maintain it.  As
> for geoloc, I do see some overlap, but I am not a LISP expert at all, so I
> cannot comment as to whether bringing that whole module in makes sense or would
> even work with LISP implementations.  That is, it seems LISP lat and long are
> expressed in degrees° minutes'seconds" whereas geoloc does this as a decimal64
> from a reference frame.  I do feel that whatever direction is taken, text
> explaining why geoloc is not used is useful.
> 
>