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

Acee Lindem <acee.ietf@gmail.com> Mon, 01 January 2024 13:11 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 C6B14C14F6EC; Mon, 1 Jan 2024 05:11:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 PpUOqdt9SehC; Mon, 1 Jan 2024 05:11:42 -0800 (PST)
Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (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 EC320C14F68A; Mon, 1 Jan 2024 05:11:41 -0800 (PST)
Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-680a9796b38so13055926d6.0; Mon, 01 Jan 2024 05:11:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704114701; x=1704719501; 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=QM9bz/HmzZ4g88/Jt39W3OZD25CRzBqoEaJOnD/f8eI=; b=TVemMoPFJJwh70bEweJ15vVJcPYI60dc0EuAsevufzqsWcoVkPw8juQ0NcTsJedVqh me1aXulZcdf09a4XA92VjJdqsJG1YhcTuCbkk1TvOXBbwMywb9vo9OZ8HAZK6d1RS7+w fJEJVrGmKUpYwFhq+xbZAbT8h3kuFem/QkqVt7CnfQ97heUSVaB1+B/g4v9GVqXHGhKT dFEF76dBQ+mSbfiA0kLh2cvnmDYEyag7wT6SkAT5XZifUo81MLmbaZjtBlWGWCpuGQoo avoB8L3ITlBgxQLHuzpy8NCpBPLPz6QpV3IgjG9l27/0Q7gY/ZPUxHY8SGoML5QkROZ6 YtuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704114701; x=1704719501; 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=QM9bz/HmzZ4g88/Jt39W3OZD25CRzBqoEaJOnD/f8eI=; b=hBr+ehRueJvqQ4HGDtk1txQGUuJzelCri6YGthl6wmqDvTYsy/t3V9TtkKeZ/B5scc AlVCTtx0AThxtnu1T8Y6TybxLPKTC3KspjtXMRXKOmpzuJb0ROw7U/+M+8IR18zC72EY HbKTsjhJMjOeunYb/voV9hmLumUpm/qkbl6MhJOiN2tGRxWQiLt5tiATJT2PvPFp2D++ 3rccJzFGx+yy0FQVSXQ+/KVZnwgXHODobwcLSFser0D/XtUIJw4bLY/Ap7PEzxnnSLMs ltWaWNoI3vtJOuDlEcLBI5krF36+tniqfjHjmcNooA5vKRsgNfyrSsexJJ6zFN/p4N9V MWPQ==
X-Gm-Message-State: AOJu0Yy0B4KXDqUo0UtObUOzqrmGDHgXIU94CWDh/3xV2RGbQx9vH/Jd f8C39Hm++28OwiBRJZ53dQg=
X-Google-Smtp-Source: AGHT+IFyFGxSUzkHubcG9oDq/D5OqT1edgPp7wajwG8JF7ni8Uf5G5PbULC0M6sWuHhm1Swpg+xuCg==
X-Received: by 2002:ad4:4ea9:0:b0:67f:6ddb:58a5 with SMTP id ed9-20020ad44ea9000000b0067f6ddb58a5mr24820957qvb.12.1704114700608; Mon, 01 Jan 2024 05:11:40 -0800 (PST)
Received: from smtpclient.apple ([136.54.28.118]) by smtp.gmail.com with ESMTPSA id g2-20020a37e202000000b007815b84dbb3sm4463789qki.49.2024.01.01.05.11.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jan 2024 05:11:40 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\))
From: Acee Lindem <acee.ietf@gmail.com>
In-Reply-To: <VI1PR07MB3181467C3C9F8202DC853947A062A@VI1PR07MB3181.eurprd07.prod.outlook.com>
Date: Mon, 01 Jan 2024 08:11:29 -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: <30342366-2701-474F-BEF8-33B7F35B4183@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> <BDA88955-CF1C-40DD-B827-673FDD74BED8@gmail.com> <VI1PR07MB3181467C3C9F8202DC853947A062A@VI1PR07MB3181.eurprd07.prod.outlook.com>
To: tom petch <ietfc@btconnect.com>
X-Mailer: Apple Mail (2.3774.300.61.1.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/tKU5KQ4F36ZnWYeTGq35wBhdUPk>
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: Mon, 01 Jan 2024 13:11:45 -0000

Hi Tom, 

> On Jan 1, 2024, at 07:34, tom petch <ietfc@btconnect.com> wrote:
> 
> From: Acee Lindem <acee.ietf@gmail.com>
> Sent: 12 December 2023 22:25
> 
> Hi Tom,
> 
>> On Dec 11, 2023, at 7:45 AM, tom petch <ietfc@btconnect.com> wrote:
> 
> Acee
> 
> top posting since most of my comments are addressed in -25 (which I have reviewed)
> 
> Renaming the YANG module is a pain but probably needs doing on the assumption that there will be a ospf-srv6-yang at some stage and that you will not want to merge the details of that into the module specified here.  Of course it may then be that just as OSPFv2 and OSPFv3 have much in common and have been merged into a single module, so SRv6 may get merged in in which case the original name would be better.  Sometimes you cannot win!

Yes - there are separate SRv6 models for OSPFv3 and IS-IS. They aren’t really to progress and there is a different set of authors. 

Thanks,
Acee



> 
> Tom Petch
> I do see routing-ti-lfa progressing this week so hopefully Normative will be ok.
> 
> 
> 
> 
> 
>> 
>> 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
>>>> 
>> 
>> _________________________________
> 
>