Re: [Lsr] RtgDir Last Call Review: draft-ietf-ospf-sr-yang

Acee Lindem <acee.ietf@gmail.com> Tue, 12 December 2023 22:25 UTC

Return-Path: <acee.ietf@gmail.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1A35C14F5FA; Tue, 12 Dec 2023 14:25:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 5NXhGc5NOlUx; Tue, 12 Dec 2023 14:25:18 -0800 (PST)
Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 90C0FC14F5F0; Tue, 12 Dec 2023 14:25:18 -0800 (PST)
Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-425e58bd4c8so5230901cf.3; Tue, 12 Dec 2023 14:25:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702419917; x=1703024717; 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=CHH/PFFfllEh66XRSS7u9rIX010+Mwb5PlOyjMKjn1o=; b=Ok/nTPm8bbe5Vj32EdithpMjIujMnMUm0eAy4bHC954SvUwEyphzLwaamuybUyhVM4 oR7CB1Ob1u0HqgJHQhA/PMaiN4KP+fKOndWRl3v6p+o81SLGJdk/1z5QPo1AsO1P+ftb mCwHqhPSqIVncpacfGJ43Y1LzrUwb48hWNGBm765JRBg9rdED1ymwgTKH4yITdnyr/n5 i9GY2ozWm96SYBHNqmKX1/UJnBjxD1RGLdINiC0kRU0SXidO52OwKhTHqy7zXjADtKoh 4yDAuCD9X2peyu9XAlzeZOH9fslqDcX5kOlC1pQSvptLJOWIyBNoLAsg0li9WJZtiC9R lz6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702419917; x=1703024717; 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=CHH/PFFfllEh66XRSS7u9rIX010+Mwb5PlOyjMKjn1o=; b=ZAz97/Ebr+Dgtv226Sp4jq2lSeBVTeiS6s8MYOrDTtMneBKeGJ0tYQuOwv2BD4vz84 y13JxHshkmpwcDYGsIPa3TraxRMoSaPzpYzRjyfM3WoFUjrseVtSc51JUqPwhs05/OX6 Cu3zfvEgmYENFX1XQzX6EHUZQNY1VisS0z9iycvdjTbDlUh1/6ygIPqxSGN3id5sBUZN YXwpZ2EKGMHj5Ns7nP8vVlgy9P6+rDtWLB6t+KSAPnRxNho28Knqi/BMUFgeb28TT6Lx +y6wiMvxBIrElwZStgl24E8+H4mqNiyg7sa00OHUp0jZlRAX0N7T6JewvnL9zVRE2RpD Q5WA==
X-Gm-Message-State: AOJu0Yy0I7OFG0YpZKvIL26BcR0TGF2bfe5CQ1nbpbNlVcnAAdgzHFgs cxt/Tc+a4Qva8DaApurlZ1s=
X-Google-Smtp-Source: AGHT+IH3VSmzgxvQ1wE8OOY/HlLijY1vn0pOKvFy9esUNmf57RRK97HJQcK04IxnRwteFHHhNysE3A==
X-Received: by 2002:ac8:7d0f:0:b0:425:a99f:9222 with SMTP id g15-20020ac87d0f000000b00425a99f9222mr8345912qtb.93.1702419917476; Tue, 12 Dec 2023 14:25:17 -0800 (PST)
Received: from smtpclient.apple ([136.54.28.118]) by smtp.gmail.com with ESMTPSA id y17-20020ac85251000000b00425438e7c5esm4383109qtn.62.2023.12.12.14.25.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2023 14:25:17 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\))
From: Acee Lindem <acee.ietf@gmail.com>
In-Reply-To: <AM4PR07MB3170C3248BAFEC28295071CAA08FA@AM4PR07MB3170.eurprd07.prod.outlook.com>
Date: Tue, 12 Dec 2023 17:25:05 -0500
Cc: "julien.meuric@orange.com" <julien.meuric@orange.com>, Routing Directorate <rtg-dir@ietf.org>, "draft-ietf-ospf-sr-yang.all@ietf.org" <draft-ietf-ospf-sr-yang.all@ietf.org>, Lsr <lsr@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <BDA88955-CF1C-40DD-B827-673FDD74BED8@gmail.com>
References: <4e01de6c-1355-49a9-a39e-c4287490aeec@orange.com> <24194E3D-B35C-4B94-88DC-30BC5351F306@gmail.com> <508cfd37-3aac-4a26-8b73-dca47b608a29@orange.com> <AM4PR07MB3170C3248BAFEC28295071CAA08FA@AM4PR07MB3170.eurprd07.prod.outlook.com>
To: tom petch <ietfc@btconnect.com>
X-Mailer: Apple Mail (2.3731.700.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/IhddbObNzqfdik1hRVAe6Z1twnA>
Subject: Re: [Lsr] RtgDir Last Call Review: draft-ietf-ospf-sr-yang
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Dec 2023 22:25:23 -0000

Hi Tom, 

> On Dec 11, 2023, at 7:45 AM, tom petch <ietfc@btconnect.com> wrote:
> 
> A convenient addressee list so top posting my first thoughts on ospf-sr-yang,  I hope to find time to have a more detailed look, at least at ospfv2.
> 
> I have looked at ospf-sr-yang and have some queries.
> 
> Is this all flavours of SR or just some?  Most discussion I see these days relates to SRv6 I guess because SR-MPLS is mature in many respects  but think that this I-D needs to spell out the scope (like its lsr twin)

This specifies OSPF SR for the MPLS data plane. I’m considering renaming the data module to ietf-ospf-sr-mpls.yang as well. 

> 
> I note the import from sr-mpls and think it a mistake.  The routing RFC says that new protocols should have a presence container to switch the protocol on and off which sr-mpls does not do but I think that ospf-sr-yang should follow the guidelines.

We need to follow the sr-mpls model. We can’t change it in the OSPF SR model.


> 
> There are mentions of vendor augmentations but no indications of what they might be and, importantly, where they would go.  Other I-D, anticipating augments, include containers explicitly for augments so that different vendors put the same information in the same place.
> 
> I am used to ospfv2 and ospfv3 being derived identities from ospf which makes reference to one of the other or both simple, as ospf-yang does.  Why not here?

I’ve updated these to use derived-from() and the current path.  


> 
> I-D references seems to lack
> RFC8102
> "draft-ietf-rtgwg-segment-routing-ti-lfa -
> Latter needs to be Normative since a feature

I hate making the latter normative but I guess it needs to be hopefully the authors of this draft will finally bring it to completion.



> 
> s.1.1 is ood

This has been removed. 


> 
> router-id is provided by RFC8294 so it should be imported and not be reinvented here

Okay - I have used this definition. 


> 
>   import ietf-ospfv3-extended-lsa {
> lacks a reference clause
> 
>        leaf preference {
>           type uint8;
>           description
>             "SRMS preference TLV, value from 0 to 255.";
> 
> so what?  what difference soes it make to be 0 or 255 or 42?

The description has been updated to indicate that an SR Mapping Server with a higher preference is preferred. 

Thanks,
Acee



> 
> Tom Petch
> 
> ________________________________________
> From: Lsr <lsr-bounces@ietf.org> on behalf of julien.meuric@orange.com <julien.meuric@orange.com>
> Sent: 05 December 2023 08:15
> 
> Hi Acee,
> 
> I've looked at the diff: the new version looks good to me. Thanks to the
> update.
> 
> Regards,
> 
> Julien
> 
> 
> On 01/12/2023 18:05, Acee Lindem wrote:
>> Hi Julien,
>> 
>> Thanks much for your review. I’ve incorporated almost all of your comments  in the -23 version.
>> 
>> See inline.
>> 
>>> On Nov 29, 2023, at 11:03 AM, julien.meuric@orange.com wrote:
>>> 
>>> Hello,
>>> 
>>> I have been selected as the Routing Directorate reviewer for this draft. The Routing Directorate seeks to review all routing or routing-related drafts as they pass through IETF last call and IESG review, and sometimes on special request. The purpose of the review is to provide assistance to the Routing ADs. For more information about the Routing Directorate, please see https://wiki.ietf.org/en/group/rtg/RtgDir <https://wiki.ietf.org/en/group/rtg/RtgDir>
>>> 
>>> Although these comments are primarily for the use of the Routing ADs, it would be helpful if you could consider them along with any other IETF Last Call comments that you receive, and strive to resolve them through discussion or by updating the draft.
>>> 
>>> Document: draft-ietf-ospf-sr-yang-22
>>> Reviewer: Julien Meuric
>>> Review Date: 2023-11-29
>>> Intended Status: Standard Tracks
>>> 
>>> 
>>> *Summary:*
>>> 
>>> This document is basically ready for publication but has nits that should be considered prior to publication.
>>> 
>>> 
>>> *Comments:*
>>> 
>>> - The very first paragraph of the introduction/overview section summarizes the basis of YANG, XML, JSON, data models... I believe we are now far beyond those general considerations and we could skip that paragraph.
>> Removed  - thanks.
>> 
>> 
>>> - In the grouping "ospfv3-lan-adj-sid-sub-tlvs" (p23), the leaf "neighbor-router-id" uses type "dotted-quad". This is consistent with RFC 8666 which specifies the associated OSPFv3 TLV, but we had a discussion about the type for router-id in the TE YANG models. The current resolution on TEAS side will be to consider a union of dotted-quad and ipv6-address. I wonder how much RTGWG would be ready to consider a superset of the existing OSPFv3 TLVs.
>> This is the OSPF Router-ID which is different from the OSPF TE Router-ID. The two should not be confused as the OSPF Router ID is simply a 32 bit unsigned integer that is typically represented in dotted quad format. It only need be unique within the OSPF Routing Domain. Conversely, the OSPF TE Router ID is a routable IPv4 or IPv6 address.
>> 
>>> From RFC 2328 (which was inherited by RFC 5340):
>> 
>>      Router ID
>>              A 32-bit number assigned to each router running the OSPF
>>              protocol. This number uniquely identifies the router within
>>              an Autonomous System.
>> 
>>> 
>>> *Nits:*
>>> 
>>> - Multiple times in description: s/SR specific/SR-specific/
>> Fixed.
>> 
>> 
>>> - Multiple times in description: s/flag bits list/flag list/
>>> - Multiple times in description: s/flags list/flag list/
>> I changed these to either just “bits” or “flags” - the fact that it is a YANG list need not be included in  the description.
>> 
>> 
>>> - The description fields use a mix of "Adj sid", "adj sid", "Adj SID"... sometimes with hyphens (not to mention the full expansions). A single phrase should be chosen and used all along the module.
>> Changed them all to “Adj-SID” consistent with RFC8665.
>> 
>>> - A few description starts with "The..." (e.g., in "ospfv2-extended-prefix-range-tlvs" on p 19, or v3 on p 22) while most of them don't. For consistency, it should be dropped from every brief description.
>> I removed “The “ from all the brief descriptions. I left it in two of the TLV description that were written as complete sentences.
>> 
>>> - In the grouping "ospfv3-prefix-sid-sub-tlvs" (p 21 and all resulting pieces of tree): s/perfix-sid-sub-tlvs/prefix-sid-sub-tlvs/
>>> - In the same grouping, the description of the container should be "Prefix SID sub-TLV *list*." (and "Prefix SID sub-TLV." reserved for the following list element).
>> Fixed both in the module and tree (which was regenerated from tree).
>> 
>> 
>>> - In the container "ti-lfa" (p 25): s/Enables TI-LFA/Enable TI-LFA/ [Not wrong, but should be consistent with others.]
>> Fixed.
>> 
>>> - In the same container (p 26): "s/Topology Independent Loop Free Alternate/Topology-Independent Loop-Free Alternate/
>> Fixed in this place and in another.
>> 
>>> - In section 3 (p 37): s/The YANG modules [...] define/The YANG module [...] defines/
>> Fixed.
>> 
>>> - In the same section: s/in the modules/in the module/
>> Fixed.
>> 
>>> - In the same section: s/Module ietf-ospf-sr/The module ietf-ospf-sr/
>> Fixed.
>> 
>> Thanks,
>> Acee
>> 
>> 
>>> 
>>> Thanks,
>>> 
>>> Julien
>>> 
> 
> _________________________________