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

tom petch <ietfc@btconnect.com> Mon, 01 January 2024 12:34 UTC

Return-Path: <ietfc@btconnect.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 33195C14F6A2; Mon, 1 Jan 2024 04:34:15 -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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 (1024-bit key) header.d=btconnect.onmicrosoft.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 5GvvcOQoq9RM; Mon, 1 Jan 2024 04:34:11 -0800 (PST)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2123.outbound.protection.outlook.com [40.107.13.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1162C14F684; Mon, 1 Jan 2024 04:34:09 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZqL7mYWr0PVeEZZO6SqeyIho1HU/E4Bn+qiIksdLBDa121gaoLvFRCw01q5STmQwppwOvD7G9UJ6GK6vnWAU/WMfd1sA85VG5BYFz+lkX6k+0w4IJzrPXiV/UcFPf+VgsQi+ZhSCRRaaZjAxzL9ERuNx8EPXglf7ItWNCzmZlPJhcK5cIe+mQZB/AF0WEHEf5+w0pSqFphrTaPnXLK68Yvx3Sm7x5m6iIMHWLIgaOdkv8AB/3SWAR5f+iCB5J25MmSIUiIls0onlJSBeED5qo92dmpOLwRpljNijpHbUAJ2sPKOuKrbTBXK3SioauMKHGaNM3ji8U0CN/nzkL62y8Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MP1+lvFiptye5sGT0bkmuyAWZq0W2KAzX8g+xa9kjUk=; b=h6UuDfaQKir/EdSMOc4mwujaaYSJt+LO7a+aduHWZzxRFaaXq3a+PxeszwhKCNBIIt9Lhaob7VKJH4ac0kkvzmDj/HRHP4pJqCkoMebVuuS+uY6QuhaIRMoixO3C0Q4+zfGnuyaB8WTVaeUVJTifcPGubJYOnIgtV0phUpItPfm3T24kewqtYT3taSM7EoVvV8VeONpg1Eefnzj3mCSCTwfehkCFLWpO/4qHgx9qE/BE0Jpb6C3z+iwP6r7ZOregdFgyeVUgiiG6zvWtDuoKAY3tADkqQPVk6tCWhkL/xbvlPIgaWRPqR6Jc423UO36lXT7DeRuSsrAJAGRItzGFuw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MP1+lvFiptye5sGT0bkmuyAWZq0W2KAzX8g+xa9kjUk=; b=l+wPfVAr5+Agm5KWs0EaoJUV94dJijz2JCVf5cZuvDbmQfHb8HDUy7pzUYbVaUmjuwOtANh72eeMmXRxrV56MGtfUG4N49h/wQkkEnQPG4hbgmRS/GqR5ghtJrLCTYZbd4ACabYychSHY3+q4jB6BeMTq9yt3nAuRlUEfOvG5qo=
Received: from VI1PR07MB3181.eurprd07.prod.outlook.com (2603:10a6:802:1c::30) by PAWPR07MB9901.eurprd07.prod.outlook.com (2603:10a6:102:38d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.20; Mon, 1 Jan 2024 12:34:06 +0000
Received: from VI1PR07MB3181.eurprd07.prod.outlook.com ([fe80::ba93:9e28:1e8f:faa8]) by VI1PR07MB3181.eurprd07.prod.outlook.com ([fe80::ba93:9e28:1e8f:faa8%2]) with mapi id 15.20.7135.023; Mon, 1 Jan 2024 12:34:06 +0000
From: tom petch <ietfc@btconnect.com>
To: Acee Lindem <acee.ietf@gmail.com>
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>
Thread-Topic: [Lsr] RtgDir Last Call Review: draft-ietf-ospf-sr-yang
Thread-Index: AQHaJ1M3AYi9utTVo0Wx8lC3X8ly97CkCsbRgAI6r4CAHsVtbQ==
Date: Mon, 01 Jan 2024 12:34:05 +0000
Message-ID: <VI1PR07MB3181467C3C9F8202DC853947A062A@VI1PR07MB3181.eurprd07.prod.outlook.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>
In-Reply-To: <BDA88955-CF1C-40DD-B827-673FDD74BED8@gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: VI1PR07MB3181:EE_|PAWPR07MB9901:EE_
x-ms-office365-filtering-correlation-id: 8d93e54f-32ce-44d5-1af9-08dc0ac5f1b7
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: sL99pmdOkH+XSANJtdYUxgXHLJ2gCYSOaSZvkV6lm/b4lMT8IfZpD/LXNWWkckV7VknXL3v9qpB6n6RNgyUMEsi89Z5XXvNQmzSSDzepHeWH9j1HKswB/O3oit1WGr7nGndSyaXRr8N5BuSB1du0mu6C7zHtDBb68Dib389FOVO3R/8c2tRvQq4D4yoVTAyJpOp6cxF5NvaFAw2IiNcovXfMYU7gCaAX8ZhK8j+w3GaIQAVZdKs8DGSjQQpwAX/2VfRBGbCt34p6f88C95T6qYLB5gKOKEt6csN2C0A2P3qT2OvaiPdh/EylnjOugQbC/nYGSYK1V6j2vYWJ4SBGe5A+d+Jocml0GxjWJx8rr/AOhxyNikr00myn8k0PvXFtIDy6JlD7sGMKSnZWd9UUSLtOiGpoCGtVcp5tQyWwTRPeAbYcwihPIu3Q3v7+VS3rSz20pDYlnuiGXNEwPQy79JFNqkMTt66XJ8ZeX80a2AEuQ6V+P+kMXoscWHn1gIN3G5NonbzoMuKfioky/AVO3Cd4rrRRdYuiDo3JYbfKpzFi+Crhv6ZlACmTll3HaP/56pGkajmLpTwcZCqVCH6WSfkhvgQzw/1ZhnWLUiU6LEnw7X84OsLeWBF00MbHJjZYU6LJIaDIq/MBcxetUfsJOg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB3181.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(136003)(346002)(376002)(366004)(39860400002)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(6506007)(9686003)(53546011)(2906002)(7696005)(4001150100001)(38100700002)(41300700001)(122000001)(966005)(5660300002)(478600001)(26005)(52536014)(71200400001)(55016003)(66556008)(66946007)(76116006)(66574015)(33656002)(91956017)(54906003)(66476007)(316002)(4326008)(6916009)(8676002)(66446008)(83380400001)(64756008)(8936002)(82960400001)(38070700009)(86362001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ogh9UAEokOrHtVuXrKURGDrpGgj8mI8RDAOfk3ApP/AEZPgiana8VDDmn0zCkMY9y1zE3Z7mXWNb3vkxx7EzRdBhrgzME04R2bFHkofsLn7qwaCq0Yk+3bL1LVVV6fiOqdTFyrFzjIPGCLgbmFPKVGpgBTACpXRRrGTWvM3u4OenNOMd8KGROu2GWhELyKv+EB/dJXSKPyLym3x6dViJS/RU5jxAWLoUDnSwrC/caCE1p/IubMvoFfgjizxkZZQol9sCzVhpKJMSXMp3ao/iIBI4I/yF0QEAT+40VAZCsMlZA3DSX/asOjafdVJb8wlvqBGa6HA/5AVz3qSL+wrdF96V8ssF7yerLG3wZn1/MTowWkLcHG5sxS+/oT5plYeDre7HPigHWzxYSo/QOoSeE0cB+aH8dM8y0RoKpfODKlYVNZ2td7R4+fEu+1UtAk3mi1hNGXIIYCrdGFqyTpMW7oTBhLNnaoKoloWcK3hRdiFOwlUtqGn9Ws3T0lCEmuUcezkjJ3CBp7bfUGncpsY7BIqz3PqGhHZLmvW3mw3FPQd9BVcLuIGD6d3rNZ2em4SU6aInM6SBLk8aG5rgu0yGHWb1EpSKHtl2vGBWZ05fJ9dgwxnp+oufc5ZpPWr9oFUDtgQUc/5dder8GcM3XNekoAHFPq0IqYtNp/6ogYKGTqfzE2dFh+ef3wS/IoAkQCVRbHx/eN7/T3xUsflycIz3afA0fXJkwibTxYKtQoD2fJwWbLLFSukAXc/P4ITcdj0wyvoF3ua7yxddxsHX3XT5Cf7wOY9cP8wh/1OD33GnhAx1Rth9Fk2xZQ3DE827m9cGRvZZXv54iGPR3Nf00760uF3ua+yckNToLQWtnWpSRwFJl9OvxfQvCDVhSMzi54CcvsFkJGZJA6H9moYOFyRVW8YRph/8x3LAvyW2BUQl3eOvw59EQH7Srzg5a2lFyCoRPJHJOnNwBBKe4tJl/312SlfHCFvstbQu1Gax4jqhm/8BOk+gfgu76BXVHXpVPnDeE2ONYANd2wrG9MlDBiM8ycGsZ8VbuQMiWhpoeK8ZU6omlNTAkWE3M99rn3zMIRppyeCDdqOo0pSoO2EC1y6sT2echHyso3Ds7g5dsbxkZuqf4OX2X/3d0mCpdKrpUV8toZmde+fVTdDihMM5d8yYuj9PArF2b2V18Y6qADvM3XwDGt/STbV2m1Oe3vfioZPAHj4vkFUR14OFvqp6Kosc7M/un4IFeGRBS69QXGr4HeiRtcHjx3X9XkWOKf5Wt1TWUJjrUK8Gj8Nf85Qr7N4fpUs+XtDkuGUjpjehk4sYceTSij3mljaGFg2KSZQS5/pGaeOXGrjml4NtduCzFInRLKv8I5BWgEkCkiGitbS2c4w0pOISdKM3w6dzCTcrZ5zZCWzdDM77wBbHSWFMbyvhthirGiutrfoqhYf5woWU6NIAOzK1peb57HlToEmGtA07PLmLsZs1oIdkHjtGJ5O70wgLdmU9nmafqOZ0FthrqhTaFJ26cVX8Hf9rdfqQM9MCwojJ059rYl5TFZpDqAf46774bcOzJRW+WElqaKEEwNA=
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: VI1PR07MB3181.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8d93e54f-32ce-44d5-1af9-08dc0ac5f1b7
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jan 2024 12:34:05.9589 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: C7hmDxMHL+bMRw1N8uaDHmUCsbcIApIS7IrGJliQhoZ+41Ahfn5SqcgdE9SBrBvoE5wF+gO9opll8gbS58GcNQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR07MB9901
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/dr_mdk4JQG9lEWpPbkn3PuoMY3E>
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 12:34:15 -0000

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!

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
>>>
>
> _________________________________