Re: [lisp] I-D Action: draft-ietf-lisp-yang-21.txt

Padma Pillay-Esnault <padma.ietf@gmail.com> Thu, 18 April 2024 06:14 UTC

Return-Path: <padma.ietf@gmail.com>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15827C151536; Wed, 17 Apr 2024 23:14:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level:
X-Spam-Status: No, score=-7.094 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 gxL3-V7oSHMW; Wed, 17 Apr 2024 23:14:37 -0700 (PDT)
Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 75C6FC15107F; Wed, 17 Apr 2024 23:14:37 -0700 (PDT)
Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2db101c11feso3515101fa.0; Wed, 17 Apr 2024 23:14:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713420875; x=1714025675; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zUw+UMozaKLQdevtQvwPp0aa3rWVET7omRyPq60bAuk=; b=V3nadVZFeZan32Dqp/nuczTzug/6jS5nIrZT2YWbjR2R2ibgz7UmBOr3MfjbQuHKTX +LpJLjeOXUbMhKpDYSCVNDOl1vfEpm/KgoH2xxG4ZYdDayRJfRUaLsS+YfyfqBXXswv5 bcbdD3zKYPUU0ay/ktYcqAB/7wV/9oA+UGlJYjlSw7xKWrK8P98jxY1vXyVoWbpC7+kA QZEO6FKwnYmjz9qi3EwmWlCc5+y/l1rQpU92OjaUW1A1442iINuHrfjcEJoU9mnZtGIH z1cy3TEvUYr3qmRSd+d9A/7Lqft6qaxY/jj8vquFBsqblUXsWIC7a+myABgqjTGpUEde RKKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713420875; x=1714025675; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zUw+UMozaKLQdevtQvwPp0aa3rWVET7omRyPq60bAuk=; b=ttkL9MQhqnll3FJB07S3WWXeXcOHXZPeaGu+03LUGhNFSp3scODvVX6yG3mKG5+znv sceMQ/pxsgztd8e+1Wf23H2B2tydnsfSnPYgE2UCIADKjLnFnbY4E0CJsLrR3o6rSH7f FqLMrjHPrin7Sy4mv35TFnLupzP2OkcRT8D5gHJ3u8oWWGEVQeX74P2bqBzH8mKEl0qq cNzwi/pmjfwnNK2hB28L9yCrQsv+OuXN5xLteJ5/NXDGz9tTivRjgH1mzpE7+nVTpn3m 89PGa3Js9Y3Y85YHh01pYvX+7lyxPXwCpG3jd1Z5K0t/B9FgJ/Anq11HpZJlUwsky1V+ IJcQ==
X-Forwarded-Encrypted: i=1; AJvYcCU0o0LcqP0Lt7NeTMb9jbKsObNosqMU+kFrCuf/Kbq4hZK3TovCD1ArvM1P5KoisTejlNNPqeleVkOld0R1tqfL4QPhHCrOvwip0Wc6WRafGQxd/OFFpA41dN+W/1v7cR5YTdw=
X-Gm-Message-State: AOJu0YwosX9JZd2e3txNmKIHrySAaaB8i8Kok84kUMJ/+YcOuupdylKy dBalGIRdfdy1/awh+ObKtD94akE+LmGHI4/hhDEdQLMqrXhpD/fWIYHrcgAJFAStQQ4ewemhSq3 zneWriUGNGCV9lG7V4OZ1/PFL0vegfmAs
X-Google-Smtp-Source: AGHT+IGs/tOPkAwNEpQfOZesKyDicsnCbqMZQRjRLLxtSwwzdswaLwrCSBN9m/IoLh1D+gh69PYi4R9Ky8eEr0+byaE=
X-Received: by 2002:a2e:3007:0:b0:2d8:d68c:d56a with SMTP id w7-20020a2e3007000000b002d8d68cd56amr280158ljw.16.1713420874864; Wed, 17 Apr 2024 23:14:34 -0700 (PDT)
MIME-Version: 1.0
References: <171321220470.38467.17723232631251311986@ietfa.amsl.com>
In-Reply-To: <171321220470.38467.17723232631251311986@ietfa.amsl.com>
From: Padma Pillay-Esnault <padma.ietf@gmail.com>
Date: Wed, 17 Apr 2024 23:14:23 -0700
Message-ID: <CAG-CQxp_A8ibd0_fcqTNiZvWSQS+cHn98ThbpYqwAx656KOHHw@mail.gmail.com>
To: "Alberto Rodriguez Natal (natal)" <natal@cisco.com>, draft-ietf-lisp-yang@ietf.org
Cc: lisp@ietf.org, lisp-chairs@ietf.org
Content-Type: multipart/alternative; boundary="00000000000098e4de061658e21d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/Y3oyVjkxqz_-CEMq1wvv8Dlnxp8>
Subject: Re: [lisp] I-D Action: draft-ietf-lisp-yang-21.txt
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lisp/>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Apr 2024 06:14:42 -0000

Hi Alberto and authors

Thank you for refreshing this draft.

Will you be addressing the comments by Joe Clarke on -20 ( Yang doctors)
 in a subsequent version?
For your reference, his comments pasted below.

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
<https://datatracker.ietf.org/doc/rfc6830/>: ... 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.


Thanks
Padma and Luigi

On Mon, Apr 15, 2024 at 1:16 PM <internet-drafts@ietf.org> wrote:

> Internet-Draft draft-ietf-lisp-yang-21.txt is now available. It is a work
> item
> of the Locator/ID Separation Protocol (LISP) WG of the IETF.
>
>    Title:   LISP YANG Model
>    Authors: Vina Ermagan
>             Alberto Rodriguez-Natal
>             Florin Coras
>             Carl Moberg
>             Reshad Rahman
>             Albert Cabellos-Aparicio
>             Fabio Maino
>    Name:    draft-ietf-lisp-yang-21.txt
>    Pages:   82
>    Dates:   2024-04-15
>
> Abstract:
>
>    This document describes a YANG data model to use with the Locator/ID
>    Separation Protocol (LISP).
>
>    The YANG modules in this document conform to the Network Management
>    Datastore Architecture (NMDA).
>
> The IETF datatracker status page for this Internet-Draft is:
> https://datatracker.ietf.org/doc/draft-ietf-lisp-yang/
>
> There is also an HTMLized version available at:
> https://datatracker.ietf.org/doc/html/draft-ietf-lisp-yang-21
>
> A diff from the previous version is available at:
> https://author-tools.ietf.org/iddiff?url2=draft-ietf-lisp-yang-21
>
> Internet-Drafts are also available by rsync at:
> rsync.ietf.org::internet-drafts
>
>
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp
>