[Lsr] SID et al. in Re: I-D Action: draft-ietf-ospf-sr-yang-25.txt

tom petch <ietfc@btconnect.com> Tue, 02 January 2024 11:11 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 3D024C14F614; Tue, 2 Jan 2024 03:11:43 -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 dQ9BFG00fWCp; Tue, 2 Jan 2024 03:11:39 -0800 (PST)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2135.outbound.protection.outlook.com [40.107.21.135]) (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 CD693C14F5E6; Tue, 2 Jan 2024 03:11:38 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SUVA97Z9/pbpkmUKPu1HeYeHFDNU/jDQnerOT3wG4aCFCDElcGaj+b6iaOnvexSJ9fVDBT7YujDMKtZ7qYiKoTbiV68hwo6YNLYO/P6X1X4HtRcOpdTXfINxgG0ZakF/CIYZ2UqUWtthrV3wFfDyH3aHr2EZMuKQV7hrVIaFjb0oJyG+ZKCi4nXzrGzuWqfqDcjIMOFlROLohdWY8iD0HEsL5suicTgydOqYNWgEhLnrfhTbI6Tcffx9Km2N1RLHnSUw/qUF3IZLYdvjEAISsoxKTPZy/So0osKwY/3DKSthlg1Kx9W/rg/tnqyQo4ugt/JD3w2OZvQv/JONdvsWzQ==
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=wLbik+1KKhYoUFYCBo49smWg7h/0hs1Y5U2bYfhMjN8=; b=X9+seyShGIreLbm7QVB86vYIFzEx+klnThIQw4ao8AJErXL/3dKo5u2xpP95VulksomOSdNQnxPdv8S1aRRw9wZR3mHLsF3XA/6Uxt56oIk+cu2ON4g4fcxAlVqy94ZJSMKUWutZw78TVx74x1glIsl8fptpIM4KKMj8tudTCMnRu95FGCXMjY4ci4oGLltwwWYP+BFzHEaQzBnwypnUyAcQvxyy8nLJLxb8c8QGNQ3YL2r5AirVFi3Upywc+qNUDjQbT0iK9+MjuNS3yjCswERqERFM1E8qXoh4TXuQDDDn+ZcL1fb/kFgiNj+TQKtOLzV+py7HhPY9v3H/5+GIKA==
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=wLbik+1KKhYoUFYCBo49smWg7h/0hs1Y5U2bYfhMjN8=; b=uCryP/X7gHKVhLBL2TYcQLmo7YtKWVerQBBqHDCXb9v+TdJlkIyuWbZS0+2alxRCCddEAfRZuXj/JF7YU6KFfNHyf+F2hbXObGPwNxIUJsbs8EZu5bRtEvFUEs+IPVJXyR7obsnPC9q1UvpJWcXhVmR2fZovb60p1apJ7LMRdag=
Received: from VI1PR07MB3181.eurprd07.prod.outlook.com (2603:10a6:802:1c::30) by PAWPR07MB9324.eurprd07.prod.outlook.com (2603:10a6:102:2f2::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25; Tue, 2 Jan 2024 11:11:34 +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; Tue, 2 Jan 2024 11:11:34 +0000
From: tom petch <ietfc@btconnect.com>
To: "lsr@ietf.org" <lsr@ietf.org>
CC: "lsr-chairs@ietf.org" <lsr-chairs@ietf.org>
Thread-Topic: SID et al. in Re: I-D Action: draft-ietf-ospf-sr-yang-25.txt
Thread-Index: AQHaPWxyhDMJcfi6sk+qQtwIAg0wiw==
Date: Tue, 02 Jan 2024 11:11:34 +0000
Message-ID: <VI1PR07MB3181B445760AACEA246A6985A061A@VI1PR07MB3181.eurprd07.prod.outlook.com>
References: <170302207374.56422.2365753109627818944@ietfa.amsl.com> <VI1PR07MB3181806E2E103590EC8EB857A062A@VI1PR07MB3181.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB3181806E2E103590EC8EB857A062A@VI1PR07MB3181.eurprd07.prod.outlook.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_|PAWPR07MB9324:EE_
x-ms-office365-filtering-correlation-id: 12afe3c3-f3eb-4763-422e-08dc0b8394eb
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: TleZDNA8RU0TW6yVrN5ZfwxowjU0JK1+/fPQ37x63QkTi5coRcsfUuG/E2q14QCXu+Sm3tpY2e1P2bAkQdYCqPNlpftMRxI4M0tUt282R4zTC/3Zdbd2xTbiTxZ0uFufqLFCXrkYNCEQjHvOs0n2O5CSzf21aV15zjGyyM704jkNkSxPhB0uXMxZW3IF7mKuIckQNBuTfNsXNTb9jkfQpXpDio/ZwMYy2jJvlVkV703/4BMmyDpU6OFk6Rm1Nwk+J0LH6auoFR2BNR7FFUZ5bofMoIQuZN88G2adnI4iBImPXS3e/RG5ZhdGMwZMT5tVNQfHOqqmTZa4L5nqvWVpRpTCPJn8sbrsjAM4aBriH8ln0BiYpNbvSiBCmAegyfojSUdMuBpdXmgimeNJ0zStRMzzNWvSg6551u3af1m+D/0pGsbKQLy7lWAZX/0A13P62vjJMxR2R91c0PkJG5TPBMhDChVsm6R6c2pn7drPQW2GdEpv7B1DZO1lyK1T8CyEn6bRFhZmLfp+OyVeBEDiVirEVtCeitSgoI/XFrkirRK9AbjCQ9rNZ/xV+O8X6d4bQ5oeCZP/S03Y5TtVfP4Qr+8jVbkZiS+8VxiwP4qQgxmQoH2lpK2avyr9M2PhbFpJI0DQGepY7TTSC2amwMaKbQ==
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)(136003)(376002)(346002)(39860400002)(396003)(366004)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(64756008)(66946007)(76116006)(66476007)(66556008)(66446008)(52536014)(4326008)(91956017)(6916009)(316002)(8676002)(8936002)(26005)(71200400001)(66574015)(83380400001)(478600001)(966005)(9686003)(53546011)(7696005)(2906002)(4001150100001)(41300700001)(5660300002)(6506007)(33656002)(38070700009)(38100700002)(122000001)(82960400001)(86362001)(55016003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ZemzGFwfWxph/tGMxu7Qde6vIQBzuhjHgfGRGFnK9mitaCv/z5cNzW8lWkM0hn0M7nzvaJTgPvmM6oIMtWOwZZC89/gWCpXEs7NSLOs9SQ/M7AmR5vYVDLJ8+cxsRGCqCtSAQrSacLU/On2mYWe4ceFk3WIQ4jWOWb75N4fcTfbxIyN4ZvPSiwtSneLbBS2rxZJvHQbn8aRLikLEbZvE7FgEM8AKg3mwaJLYnxLewn90t/BREa1jfHxo6tyZapRHzgiH9GabXd/i8WzCQ+fgWHJP7qA5/hRHDnGvbOA75Pq/7rkQMH3gsunJ73+nQ60hJJhR9WIntc3SAsrPpoBioM34xGNY0R028ADZp3rLj+dpORrBGd2r8+f0KG6VZgKhk2WLB5S4GXNKBeGivklAW9l6qa2k57W5tyQJr3DRzAavZk5d4NEdrrsUby+i0l5hRz0gZZNBMCdCNgF5IL89y83pkLvgpSymY8D4GIOFY09+mTp89RFfSJRjQA0N0g5N6Wq6Z5Oym5DW8/sx838vBIdEvCP9+QVUpKrQx17J5Efxy4ub8/ATbiJ+UE/LT7JAEB4wFwxgy5swDJ5PEvjflinv70jhdY/w7eqqdFT3csIHhz8qmwihXbunS2f+v4ZTqhyGyALXfBIFzoSRyh8XasFQya1XApR2DqMJ0kXh3w6AE76Dz75xqjBq3LS4eB4wej4pIdWJ57i5ZNmrbqzOEYW2J/9HQ94HGGh/Zyf2eQzwcfxihqO+dGOdI6Z52lL7PrTxXNzo96od7KrkMOh3608Tu0UgiCfrUjmSPZ6KMhbY7L5R2RgmD2GcHSUMewy6lLpwyWTBR3jkj/tzv4wgE8z2jw7ZwstvR2pfMdUy+l0K1vCf12bxW6Sc2Rgxv6LxAUmgUA1AJq9jK6kqDgyPTh0OplyctSFEQilmyZa3MQnQZLB9MFyCzfW80yvaXtdlW/Sxa3Ql6M0gK+XSsrHsb1Bw9T3l26y7OASVRY1mQIFUv8gbMc87Pb5hrLgsHldfyPi7oGeIpL2FXlDR7DckVHVZ3L42mCMwNjdQ6kH0hqAi4asn8OeTr1Gx7MIyuiMFJX5bmNfrpg3gP2bH4+2ZvGY+ZJ2mCcPMYC9wXBakbRnKlBtJod+cUASvD5MpGs8mXU7Alt6AacvwR0DarpYm6s0OOikvdqde/ksU/0F8tcMfDOlri3Ejdkn3ON5VwmV9nMsodlDCpuiTuqkXtj/bLr9tWpUy5CKfqIxM6Boathl4tGVCzaAnwsgfAMotyGVfkFIuDyqoD/qUrX4L/bkAkzUDAS6vli0ge2+4YHCS/z+2587oRj5WjVUYzg1K6C7M7rDyzr+K8mPhsVS+agR0qiGxclDNLljjpLqvYifC+HG1ZEpRsUKW5i2hePsAPzLSdSjMacw1a9qYtjQ3HN8l+riNz0QFGqX3fAPGlxOoLQRLBe7iYAtySq0/KvEgIlHzr35FD0mkpRWxrL++KHa2ulDrhxddzkX33J+i8JfE40eRLCtfhtQVRYBboT8tufv7T+pAbv6XcOstDMCZ8vXnGI/zfoAzWZtDA1b0V6NS+Zc=
Content-Type: text/plain; charset="iso-8859-1"
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: 12afe3c3-f3eb-4763-422e-08dc0b8394eb
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jan 2024 11:11:34.6480 (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: +LW6ZcNS00qD/qbJw+AzGpEwGnRFVrbkXmRCpVqcPZ9HH16JuRM8Ki/B/gOjvTTXc0U8kHS5/8S2sDSkI8GhxQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR07MB9324
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/o9LuKxr7Dx2PraLiy9FIExADjVk>
Subject: [Lsr] SID et al. in Re: I-D Action: draft-ietf-ospf-sr-yang-25.txt
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, 02 Jan 2024 11:11:43 -0000

a) I think that the treatment of SID index/label in this I-D needs more explanation.

The I-D rightly says that this is either a 3-octet index or 4-octet label but fails to say how the three octets are mapped into a YANG type uint32.  The information is in RFC8665 but it took me a while to find it.  I think that it needs repeating in this I-D with a reference to RFC8665.

Slightly harder is where to put this.  I think that it needs to be in the YANG module as a description. Trouble is, there are lots of uint32 where this is relevant.  Now if SID were a YANG derived type .....

b) the I-D does not use the same name for bits as RFC8665 does.  Where this happens, then I think there should be an explanation e.g.
identity lo-bit
description ' this bit is referred to as the L-flag in RFC8665 section 5.

c) section 1.1 is out of date

d) CODE BEGINS 
I think better as a new paragraph for ease of reference; I see this as common practive

e) leaf mt-id
if the only valid values are 0 to 127, then this could use a YANG range to reflect that

f) range-size
likewise if this must be greater than zero, thrm the YANG could reflect that. It could  even be a derived type to avoid repetition

Tom Petch


From: Lsr <lsr-bounces@ietf.org> on behalf of internet-drafts@ietf.org <internet-drafts@ietf.org>
Sent: 19 December 2023 21:41
To: i-d-announce@ietf.org
Cc: lsr@ietf.org
Subject: [Lsr] I-D Action: draft-ietf-ospf-sr-yang-25.txt

Internet-Draft draft-ietf-ospf-sr-yang-25.txt is now available. It is a work
item of the Link State Routing (LSR) WG of the IETF.

   Title:   A YANG Data Model for OSPF Segment Routing for the MPLS Data Plane
   Authors: Yingzhen Qu
            Acee Lindem
            Jeffrey Zhang
            Ing-Wher Chen
   Name:    draft-ietf-ospf-sr-yang-25.txt
   Pages:   46
   Dates:   2023-12-19

Abstract:

   This document defines a YANG data module that can be used to
   configure and manage OSPF Extensions for Segment Routing for the MPLS
   data plane.

The IETF datatracker status page for this Internet-Draft is:
https://datatracker.ietf.org/doc/draft-ietf-ospf-sr-yang/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-ospf-sr-yang-25.html

A diff from the previous version is available at:
https://author-tools.ietf.org/iddiff?url2=draft-ietf-ospf-sr-yang-25

Internet-Drafts are also available by rsync at:
rsync.ietf.org::internet-drafts


_______________________________________________
Lsr mailing list
Lsr@ietf.org
https://www.ietf.org/mailman/listinfo/lsr

_______________________________________________
Lsr mailing list
Lsr@ietf.org
https://www.ietf.org/mailman/listinfo/lsr