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

tom petch <ietfc@btconnect.com> Mon, 11 December 2023 12:45 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 B1364C14F693; Mon, 11 Dec 2023 04:45:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, 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_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 (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 HVYt2cZG3hXZ; Mon, 11 Dec 2023 04:45:23 -0800 (PST)
Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2114.outbound.protection.outlook.com [40.107.241.114]) (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 853A5C14F68A; Mon, 11 Dec 2023 04:45:17 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NqRAVVp/LzMSPCOBQ31n/BvkKKFUjEZ1n1B2OhLDsL/21otLqBcqVj4SHzWrkBzikw3ciJnpYm6Uf39xkJBPDVxUV5azuKor5UZazSBvqiVG3sFoE1lYHVaGCBRW6+kRncmL0Sg0/P5LVuiNWETS3+Qqg/VnwrBG9bb0J4HK6yU0Wa8VJSJdQC5TEizNE6YcYWB7xbeVuNcGESEWsn0NxI5zVOdow8pDIMZ8NcKZVE2WPH9+z5lEC2lNnxcJoGPf1J7Z43MpWlOwC/bJliaZ/Jb9/ki9GwMyi0KTmTeAv8FKRuvxI8UNk37CPH9Hr0wTqybbDTCdCJi763pwIFOLNQ==
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=S0Xa587pNeFKxSOMitpfqoJetQEASD3lWzkuCLkZLA8=; b=nYsU4BKVdisq9zcJC9FCKED5tR5CiDwabwE/A1DsEdkUt/35zzdZOOacWY2wDSCVWnU/bHF+L3cGDfDFYnZEViKWcIuZ6uBf2MjmAbzlwBXMTrxZHyIqen3mYL3HVJpSpJjkyiuFNn81kE3vrM9vkyD7W0FnE1fynr+E9gQ3Ix2ItEMffvfVHY8TRPcpJDpCrEFj6JKHVOHgRQIekjyUBTGTeuqCmIR3AdxeF1oYx8qKM8sSSM10xFaMeyDPhjeQ+4geQwnIsOiuaTpqCbQ8+Ju7TLH9OVfZaSfajSmr9fA5DW/O2jV+3W4jd/ddMj9RtF6PWX6RW71UeAbnJ+h4oQ==
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=S0Xa587pNeFKxSOMitpfqoJetQEASD3lWzkuCLkZLA8=; b=QxpHQUCrh59rRRQWJgqzgENzJUeC/ezuJA4aFblxgvaXj+xdvMod547/r9pu9+KoWTEchCzoK6sB16xSWYWyMEqT0mvF28CmU+vQB6nqPTSxALb5lPzliO5JdRL4Fe7svTOewyNdCWfYXNWD57YuFy6Awatp5ZHakAx3EBM5Ak4=
Received: from AM4PR07MB3170.eurprd07.prod.outlook.com (2603:10a6:205:6::24) by PR3PR07MB6732.eurprd07.prod.outlook.com (2603:10a6:102:7d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Mon, 11 Dec 2023 12:45:14 +0000
Received: from AM4PR07MB3170.eurprd07.prod.outlook.com ([fe80::7cba:64ac:6b58:4209]) by AM4PR07MB3170.eurprd07.prod.outlook.com ([fe80::7cba:64ac:6b58:4209%5]) with mapi id 15.20.7068.031; Mon, 11 Dec 2023 12:45:14 +0000
From: tom petch <ietfc@btconnect.com>
To: "julien.meuric@orange.com" <julien.meuric@orange.com>, Acee Lindem <acee.ietf@gmail.com>
CC: 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: AQHaJ1M3AYi9utTVo0Wx8lC3X8ly97CkCsbR
Date: Mon, 11 Dec 2023 12:45:14 +0000
Message-ID: <AM4PR07MB3170C3248BAFEC28295071CAA08FA@AM4PR07MB3170.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>
In-Reply-To: <508cfd37-3aac-4a26-8b73-dca47b608a29@orange.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: AM4PR07MB3170:EE_|PR3PR07MB6732:EE_
x-ms-office365-filtering-correlation-id: 0938ff44-f90e-476a-22c8-08dbfa470592
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 6EsWH4hvMMgGvQJdAqa/AUsgmle6FH3hDF1aympVX0brSugUaWV50duMp4SyoxFIY+52hguvSxQ/up+akSHU8V8QZW6cY7MSNL3m8vdnxssbRCvTfK8E/ec3ZBk046GDc8frxblAmZ9mPKWJJSQlTs9uH0hHMbo99WncpJ0UUgd1f679P+bjwgR6Nekv5kLkNiB1E4dfjFdpU7gYUtc+EWHAulvmlzW+ojGVOXzDrM/Qo91eAdJsiHH4zgRaE1JVQcJzM3KfUuT/B7SVuu+58kFGhHatXCejGnh7owx3C3ytf9NhDCT4ZNAZkE2HIYG7pBRAuxvfAlrKy+euTPZ0towixP8TaukVBho6jtoB64dypUvs2dC0xpM3Y/GbPY8M8lFL5IF4hRDua5CbUfKY57FJN8HrDTcfMT9VzjxyS6e/v3Y9O+fhlyF8O+25hkz6zYp3PcluPRZ6Sll85IzzMIlNvKqqmBbPydh3yYr1h5v3Ji31s6RcSIloMbtRWvTOjOPorScNuYyZ/tiLt9TBX0sruEgL5z/p8kacRIVOD3uVrgf4KJ7xo3+HxM/smVedVKM4bZnZmMIAEVGPI4LwuzgWwm7zloON+dh8L5lCTsLpeFutSnCnrT0OnoH4qA6WoMyimLVP2Fb+DWmNyv/DDQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR07MB3170.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(366004)(346002)(136003)(376002)(39860400002)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(4001150100001)(6506007)(7696005)(9686003)(2906002)(54906003)(64756008)(66446008)(66476007)(66556008)(66946007)(53546011)(76116006)(71200400001)(52536014)(122000001)(38100700002)(86362001)(33656002)(4326008)(8676002)(8936002)(316002)(5660300002)(55016003)(91956017)(110136005)(966005)(478600001)(41300700001)(82960400001)(38070700009)(26005)(66574015)(83380400001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: WLXjpVMEPqWHE7Bn0+WWipimGt9CX41zuuwvzMJohRR4BGtJm+ACCnOCK0iWJws1I/xfS/vknoP5umm6KtQ5Ti++Gz42tO8i4rCrhpTh22hBs8yHXtJ8iwBqM4gnc1gwWH1+Dzp5eszbnmdqkv4JvlaUeFU2hoNyEQp/NDFmnS8lvkRif71KK0hMrEX24PZ44F1VDAX6JFkdLQVj8uCCDYHg7np7FllE1YRMFVhhT4JwaO3xxd9t2nal5vSlmiB05LkSAMg22b/R+Pa+IO+cuy8BrM/VMZQMvsiCPIQd4rlNmp1zR1o1lZSNc7/dycy40lCgVjiyyVVNLf92grOT2Itoy53ceUJK0B3g2KanKSDijRQDSUVZo6ePIixNPZUOWzdC+c3DTEFNgIMSxvRvDBOqu/+02etvHmTy9crEnGQyA6Ui4v2r+U1ov7OZQIB3uR7sF6LVQwxNLasLlJvcSSSVCIDF+n1b6f3vFKzZpRY34QkUkz24RRLQX2hvB8HdmzNZxeMfSrJj0BTKrRDHm/R76CxK6/2/7Qav/leod9VwzJET6f3TtItDYDRbwq69SQ/r6BOqvkMvhjgH304Am+8I6RaQZlY7UzfM+vtyH8GlXKmbKpcqpBHdAwhuklE958gF0ZDSrf2m3vXw25omrCz3dr2tR2IMzIBnJ0QgSYVpfpXJEt5/D8Bb11rsl3iMt+kO9Xknx5O/q4wajqaPwy+jntfhRsUh3Wfxhg1zFpfQEZczVQTeoXpILqRtKxwocxdzc7ljcqL4pCDjfu8z3PvVBsP5puM63Vlc6XddD3wjuzPAnA2TXHCBwCluhZLq4GcdQYnLFaPUTnayqlsRZ6WpeblzwYR9NESgVPDx1onyfTmyotxeU2uSyb4mJyk1R76wkDH+v8JwdgPnKS7dxY/NPycHpjfqZHB1274jLJEoHiwxZbNMklDZmFeUmS8eSt1x+9kVbZvyb3pl/pzUsxRBeK7kJfHYkmWfunZnBlx2vQLGYHkC+ObGJspPOCBPOomMa+jm4ElHWhgE3UYMmTJZosnZQ/WFMVh2OBEPA6P9nJiFeb9PONmI8sXns8E7Z+gtyjli4Xiv3t+E94Y24NH6Vwxl2dWLwwMH3fWX/8gYlGI8GbBTy56tMqlCJqI0I+TmNPn4zkpxo39XTBGY4FhO2zirVmn//9rNKZK9+UvvKxVoOYitzpFoYoVpihjlZ8f/tJmrgXjyzat0CYWFYLemcvssk+gP8gxHY8QucG6BSQGvB0NdpRZu8P864GAtqQOAXhJYpWyJQHQgQqk96Z5MiRsVxs/5djhkt81LkMce54xfAQ0pBb7Y4CWohdrtjCmdMg8/nlizBEhTHIIHgXdIBeYwow7NydkFSPBjY5jxkq7F+6JHxQrBnLicPcHuBeKuh5ODB9JzqR5FKonIi3HglakZ/tJKs8Z3sGk9/vV3LU7iYUzPCXru0+zrW3maS1RbXWiRWJgCFPY1icwr5NLKnBMGz4E0R+v48dZohodRBhdYKpiSoHYEXu9gMzUKtxX45ZCMDFZKtcITcpo/g4LVce3wiQRVJJZLl8yPNBI=
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: AM4PR07MB3170.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0938ff44-f90e-476a-22c8-08dbfa470592
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2023 12:45:14.5530 (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: 3ylALGwWb0sN2CDfOk1usJaYYRTY1dqgU4cKBE181VE6f3CgxS0q97gvQ8Bdxzz4YVhCfmc1Q6/av+Gp2FACvQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR07MB6732
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/2pcWA9VFkklJ9yX8L9wmuRABLII>
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, 11 Dec 2023 12:45:27 -0000

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)

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.

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-D references seems to lack
RFC8102
 "draft-ietf-rtgwg-segment-routing-ti-lfa -
Latter needs to be Normative since a feature

s.1.1 is ood

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

   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?

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

_________________________________