Re: [Idr] John Scudder's Discuss on draft-ietf-idr-bgpls-srv6-ext-12: (with DISCUSS and COMMENT)

John Scudder <jgs@juniper.net> Thu, 16 February 2023 22:56 UTC

Return-Path: <jgs@juniper.net>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C5E9C14CF05; Thu, 16 Feb 2023 14:56:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.904
X-Spam-Level: **
X-Spam-Status: No, score=2.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GB_SUMOF=5, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b="nfq7HSpG"; dkim=pass (1024-bit key) header.d=juniper.net header.b="FRWjHlH3"
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 w71ecx0nl6iD; Thu, 16 Feb 2023 14:56:33 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 6B644C14EB17; Thu, 16 Feb 2023 14:56:33 -0800 (PST)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31GLJwqf018390; Thu, 16 Feb 2023 14:56:32 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=x/d/UMN2ZEpl3gGrP1jDqjY8vnxmupvgbiVhtGVYYTM=; b=nfq7HSpGv8XNzkHwZIuzgCQZ5U5vpZD1uy/5p722Iq/BThhJWbKw4Dzg35bTP0HvxRYg IrS/67KWQFyPFM92iZ4zG47js6DQXAIkcfw+oZkHFXCe/c1zUx2xkfL2tRi4aYq5y2a/ d8ZXJjB3twN8PRRAmudOM6LaABLJVtn76Vo+rNqhwjoJIOJCWOGr6qwdLjjD7ogMDlOt cVsPdcPBfvKeA4viewP00vxApNj3cVIbKTpVIs9L3JkI40X8KZlbscAQGK8a94b/E5JR 2BmX8jNI2T7Lk8nuFx/jvhPzbDdCcZQb+ddUCShdDZeEH9+i65OdCNRawIHY0HRAOAD3 sw==
Received: from co1pr02cu002-vft-obe.outbound.protection.outlook.com (mail-westus2azlp17010008.outbound.protection.outlook.com [40.93.10.8]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3nsvaf04rk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Feb 2023 14:56:31 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=An1vJ76Z47dl2E564JRjtr+FoKtIFQB+0aTsJwx8RoMaLghmbmOqiztEf5ChttpobSkmuwNdQxQkVaqWqoZjaGJwxj2ZXtNGrT3POYT7TC/KJNIzFtJleV98mDA3Nj+/y1kMDBud4apPhNg7CI+NOnpb9P+eumwNzdIY1pFpKxl+kg/5M34cxb1ZHQa3sVbFxVWNXl+8UUG63AFPlJGy6eHakne3c6IWk89qGwwLCF0Pzkus5LceKOlEW1/ddda+wfhkODIYaguRcxS6l+BzkSK3eUZd6dFG2sjEfFcnEnwzBXM5EaAUiUeMXfD8DpFfg3K7JQWBNvwHzFfka06ynw==
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=x/d/UMN2ZEpl3gGrP1jDqjY8vnxmupvgbiVhtGVYYTM=; b=XcK+exfFEtnmgDWkfTJscIuthwwZCV8bDMnJn241gtEziTmeWUDPWTpUnXDqumMBnzfl8wgGiNSyMV+ZaYHfFqjGBCoQcJ+3PFPPEXlMF6H8gI8U8DEweYxSalHfLRwliz86ae+pGG2wkumwumpBVjONsLXnjUMHpSYleyhVgiYJTQniT59EcY2h2PGS5BP8RLpzkLHqQBNKrriJGe2mOke3oX5Ac/Fx6zPeT86ZUOeM/dip9MnWFN2SKJYdmg3WuXtqm4Ntcgur7IABU8eWeoMJ4Mjk/v3jnvf9c33WR8Ow99ambw9cp33gG9dKw4V1f+8M74/YEKVVdiEH0CUZPQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x/d/UMN2ZEpl3gGrP1jDqjY8vnxmupvgbiVhtGVYYTM=; b=FRWjHlH3ROpJ3MZ1nKLStkj9t/RfEOKCKzP9jOOpCSJGT+Nl5IYYs5E2wW/oBEf842cKjeqYGblqOWSaH4Qh7s1eny11o6dRvQdVRaI4NuwSFM+NzqCQd38v9wtJLbB0pXtXx3bGReNjnM47y+E469Aqm1LLnbYuUeRHPrU6hKY=
Received: from MN2PR05MB6109.namprd05.prod.outlook.com (2603:10b6:208:c4::20) by SA1PR05MB8567.namprd05.prod.outlook.com (2603:10b6:806:1de::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.13; Thu, 16 Feb 2023 22:56:26 +0000
Received: from MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::85e8:9a68:a5c7:9cde]) by MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::85e8:9a68:a5c7:9cde%3]) with mapi id 15.20.6086.017; Thu, 16 Feb 2023 22:56:25 +0000
From: John Scudder <jgs@juniper.net>
To: Alvaro Retana <aretana.ietf@gmail.com>
CC: Ketan Talaulikar <ketant.ietf@gmail.com>, "draft-ietf-idr-bgpls-srv6-ext@ietf.org" <draft-ietf-idr-bgpls-srv6-ext@ietf.org>, "idr-chairs@ietf.org" <idr-chairs@ietf.org>, Hares Susan <shares@ndzh.com>, The IESG <iesg@ietf.org>, "idr@ietf.org" <idr@ietf.org>
Thread-Topic: John Scudder's Discuss on draft-ietf-idr-bgpls-srv6-ext-12: (with DISCUSS and COMMENT)
Thread-Index: AQHZEAHD7g9JZO7rREeCUq8Gd8J+Ma6eFc8AgBzlMwCAAAHJgIAXlvoA
Date: Thu, 16 Feb 2023 22:56:25 +0000
Message-ID: <85764306-0CD0-41A7-86A4-611309AB556C@juniper.net>
References: <CAMMESszQ_OSTzzOLwYsPq0_YY2Qx8qRFJeaub4ZMw_i3RSCfWQ@mail.gmail.com> <9C97B736-BC8B-4B1F-937B-69F3EB64A732@juniper.net>
In-Reply-To: <9C97B736-BC8B-4B1F-937B-69F3EB64A732@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3696.120.41.1.1)
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: MN2PR05MB6109:EE_|SA1PR05MB8567:EE_
x-ms-office365-filtering-correlation-id: dc255d62-0705-4ed1-9860-08db1071082b
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: O9fa0Oo+WHSmYm+/dAMk/RwcMohiM/oYPW5QdRLICwW1ZP3xbtvDAO5wdmQVxKnBakbqKa3Bb+NuTIqMYQRyuTzewdHfkAemozymrq1uI3IhR6Wr4FOwtzj1jdit/OZZNsk16GaARA6ZxqQrsdr8Xoe0riGkepTQZmT7suZiKKizMuF4zenSPa/zYbxCsiIFwC0Nev0DKMPTr4xlX/EU1HYDsYnXyxEBP3J6GnEifa27pDvMc5ADPEuMILhrMPKwwEMg775Zkot5/cMOHCclkLoq2kznCIeiYNgJcd7mRmXGUgFe4QWjL7CA9sqaIj2bTO0pO6DZaxLZsExuE0RFJzAvNfC/Z6W3e7shpu0/HPIerd/E6Phxz1LkAbxn1AM47odrCtxEBvsQ5XVhHbA2Xytmwc8ttcyO9OnyIycz6NS+grM3yha6Xcrs+x6yNqEyNGAJrFhBZyICA1d5K6cdMDshGufUlXdyuu4ygNs8mstJK9HhqYfGU+fCEqc/BDAk3iT8wV3HxePLO4jPN+acXOZCaSicR0DdLYMHNAC+e219UnSh1GEJov4xcY2Jy0vuyt2lvCn3y1QdGrcM6mzhy0QefITGdYgAtkPeAyJd/ipaj8A9YoFdAENpMixjtZbI28AwLsM1ttiBjs7tTXuYJ4pkzZ1W7tKuJWSDnLJcEN2LW41iHi+De71IaOwAdZR1ITM49zunn24zmxpZ3TIo3Te8w5MIF99xpFCXdoyBl/wkO+RlYbL6uN6CvebaehNKD51b9cAmINXLmFrhWxNbkiukHG9wQwMh5xJvePwNHzsQZXxv/Rh1BCFjUJlpYatJ
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR05MB6109.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(136003)(39860400002)(376002)(396003)(366004)(346002)(451199018)(6916009)(54906003)(8936002)(41300700001)(64756008)(66476007)(66556008)(91956017)(316002)(66946007)(66446008)(30864003)(8676002)(76116006)(4326008)(5660300002)(71200400001)(2906002)(478600001)(6486002)(966005)(6512007)(2616005)(26005)(186003)(53546011)(36756003)(6506007)(83380400001)(66574015)(33656002)(122000001)(38100700002)(86362001)(38070700005)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: rBs4M19uKrx/X/Xgm/++tIxGGwoW/Of5EhkMGy//gQZkcQvVoDP+TWzAktXzlKCcpGkBckj9rdOOh2jgqr4Egqh28LZALtv0s4wbkcy0/br1qDliByoXmoumuHk/ht+HNLVm/8/27vsbK4RUTASnZxH/KPdFodcCZl1W7Fue5ogoGhnYPP/KTEQ7/DYxsRXD10HPv87ykeDfhlz9AJqgq+VI+2CAnKmZoukH6vFkR/F27WqV0OpoG8dHyoQ8V3CXksoYYowAyqPYwe107SGeZ/ijCGKVxu/clpX+1tIJttHMKTCzkMnq4SHr+4oMVPctOdLe3PWz8j/9HY7hdN/gY9IgNPcY1YKbndduyeVEOFNb5wvf70WHPcgvTc66NSZpZX8wI3C7AZDnyPWvi5za+jLltSSnQbVjOjg/6tu0s2c/hI7/1y2I+hrrpe2+Izu2C293YrCfcp1IKoEBVCt5ST1Wh1UhvjMWMSZYPwI2dItlEpcYvLzRfCSPEY0CehPjJC8/5Mk3/Eck4L4PuLl1hkHzBwADI/2GfU0btoP2+xHwN4Mk95IQHnAeM5LUY+8Y4cGYq9KnGdUFp42DbTTAe6HBiUDMclvqgYYPzqO+VGTaTiwwaY5497fP3i96ZB7A8/Id5rjLeTDChgQN3UlVrqXQyta3PUiVOVPvQQNLgj/IKJRQq5p9nXeljoRtEPHGoDs/wu3S+BMuf4am/H44+m1VQWaMRwDc69IQbIsC+NNy+h1noa5BNGqenxzUNBpCCAD+E+fqQ13tg/D0hhs00W9Vvf6a33nDtAszLIq/KqA+x7eVdh/LLel7s2OR0QyChIzZ0iymHC8F1/XGBC/eK/1j1BPzu1iTkLF/BQz0aKTayLC0LRMGt8DPk9sOiBiAyQmWgWelf0xuAuiA22R35hykyIfP8GhpFzMVDDc6TwHrx0qmgzU3OdICavPGzXKjVXHISAdJYsgnuaA7uynZD40zZaQ4hCFFJV3o+8MUQmsNcqQH9FdXJ1Af2rOOYsM6TbNf3x+ZpzLkrwhhIXfmbpHlUU4kJBUz6iV9j5C9VPbtUPjTbmSPUJ3oPQXvuIkRJx+CU/ERb0DmalnK/2+RcOjuKGCeGM6DXj1/aSjHbncp4Bd1rTNlicrUH5nNa1W9wskpF8fYKAHpit8eTWIGaOgyruguT8KcbfyP8lvhrndK+P2maaW9z0X1TnxCAv2n+McZTLcnKjZn6lgrukdkLM7vTYGrN3OtNi6y7KrTotbHSx85tgYXU5aG/XHrGfI0wUCZmkbbUQXm8JHWbdOTGmLZYJ0S8vaQjR9/FlQIVGjPniSlQtLiWa4EFz+58nHmb1vDetWLW4BJuiyyzlFT7u6Ggp1BdYXyO5Vn2sA0wxEcKLuDN1Q2+Ah2wq/LZTk9bEQSXcZZgQyv2EC0Y4jDNMZ9AJYBn4GbkPgntZKdT5uYpAaBeAVeeT599hOAuuRAt5bc3j7qD2GH2oKaC9//gh/ezvgZac/JSL/SrjNmKcHob6LM6TrTTOvPJPXDaSb++HjJim31pqOZdjCKDD0xzdE9t3c6iuYPsujWCPjlPH7o1MgECVZ97AJyFd+KT/T8
Content-Type: text/plain; charset="utf-8"
Content-ID: <71E09ED3A1F4054DA17DEA6674616FFE@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR05MB6109.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dc255d62-0705-4ed1-9860-08db1071082b
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2023 22:56:25.7324 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: dHiUazPc3hu+h1LTju6J7YjguW+JAGfo4d7Xmmwhc1zQl85cLRRwXv+FnUXFl3D3
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8567
X-Proofpoint-GUID: 31pMZWAvjDdlgF5vKK_lmM9c-vFR8UIV
X-Proofpoint-ORIG-GUID: 31pMZWAvjDdlgF5vKK_lmM9c-vFR8UIV
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-16_16,2023-02-16_01,2023-02-09_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 clxscore=1015 adultscore=0 malwarescore=0 suspectscore=0 impostorscore=0 spamscore=0 phishscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302160196
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/zJXDtLsGyf2TmkXwBgMFxWoiqPY>
Subject: Re: [Idr] John Scudder's Discuss on draft-ietf-idr-bgpls-srv6-ext-12: (with DISCUSS and COMMENT)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Feb 2023 22:56:37 -0000

Cleared. Sorry for the egregious delay.

—John

> On Feb 1, 2023, at 5:42 PM, John Scudder <jgs@juniper.net> wrote:
> 
> It’s near the top of my list. Sorry for the delay. 
> 
> —John
> 
>> On Feb 1, 2023, at 5:35 PM, Alvaro Retana <aretana.ietf@gmail.com> wrote:
>> 
>> 
>> 
>> John:
>> 
>> Hi!
>> 
>> Can you please take a look at this?
>> 
>> [I think we may have talked about this earlier in the week, but I’m not sure. :-(  Sorry for insisting.]
>> 
>> Thanks!
>> 
>> Alvaro. 
>> 
>> On January 14, 2023 at 8:20:18 AM, Ketan Talaulikar (ketant.ietf@gmail.com) wrote:
>> 
>>> Hi John,
>>> 
>>> Thanks for your detailed review and your comments/suggestions. Please check inline below for responses.
>>> 
>>> We've also posted an updated version with these changes included: https://datatracker.ietf.org/doc/html/draft-ietf-idr-bgpls-srv6-ext-13
>>> 
>>> 
>>> On Thu, Dec 15, 2022 at 2:49 AM John Scudder via Datatracker <noreply@ietf.org> wrote:
>>> John Scudder has entered the following ballot position for
>>> draft-ietf-idr-bgpls-srv6-ext-12: Discuss
>>> 
>>> When responding, please keep the subject line intact and reply to all
>>> email addresses included in the To and CC lines. (Feel free to cut this
>>> introductory paragraph, however.)
>>> 
>>> 
>>> Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ 
>>> for more information about how to handle DISCUSS and COMMENT positions.
>>> 
>>> 
>>> The document, along with other ballot positions, can be found here:
>>> https://datatracker.ietf.org/doc/draft-ietf-idr-bgpls-srv6-ext/
>>> 
>>> 
>>> 
>>> ----------------------------------------------------------------------
>>> DISCUSS:
>>> ----------------------------------------------------------------------
>>> 
>>> # John Scudder, RTG AD, comments for draft-ietf-idr-bgpls-srv6-ext-12
>>> CC @jgscudder
>>> 
>>> ### Global, field definitions are unclear throughout
>>> 
>>> I have a problem with how several different fields are defined. For example, in
>>> Section 3.1, the description of the flags field says,
>>> 
>>> ```
>>>    *  Flags: 2 octet field.  The flags are derived from the SRv6
>>>       Capabilities sub-TLV/TLV of IS-IS (section 2 of
>>>       [I-D.ietf-lsr-isis-srv6-extensions]) and OSPFv3 (section 2 of
>>>       [I-D.ietf-lsr-ospfv3-srv6-extensions]).
>>> ```
>>> There are two problems here: "derived", and "and". On consideration, I think
>>> "and" is the more serious, although it wasn't what initially caught my
>>> attention. 
>>> 
>>> Regarding "derived": Normally when I think of something being "derived from"
>>> something else, I think of some derivation function, e.g. pressure can be
>>> derived from the volume of a confined gas according to Boyle's Law. Of course,
>>> the function can technically be the identity function, which appears to be what
>>> you mean here. There's a suggestion related to that in my second discuss point,
>>> below.
>>> 
>>> Regarding "and": As written (here and elsewhere), you're saying that the field
>>> comes from both places at once. That doesn't make sense on the face of it, and
>>> it led me down a rabbit hole I'll spare you the description of.
>>> 
>>> In the end, I guess how you arrived at your current text is probably by trying
>>> to capture that BGP-LS is a vessel to convey fields that originate in one of
>>> the IGPs, hence the fields aren't defined here and you don't want to write
>>> rules or semantics for them here. I think there are two basic changes you can
>>> make to your pattern that would address my concern.
>>> 
>>> First and less importantly, choose some verb other than "derive". "Copied"
>>> seems like the most precise, but something else could be proposed. (But again,
>>> see my second discuss point.)
>>> 
>>> KT> Ack. How about using "copied" in the context of a specific field and "derived" when we are talking about something like a TLV/sub-TLV?
>>>  
>>> 
>>> Second, use "or", not "and", or a similar approach that accomplishes the same
>>> end.
>>> 
>>> KT> Ack - the way the text is structured, "or" is more appropriate and this has been fixed.
>>>  
>>> 
>>> Rewriting the example text according to this suggestion, we'd have something
>>> like,
>>> 
>>> ```
>>>    *  Flags: 2 octet field.  The flags are copied from the SRv6
>>>       Capabilities sub-TLV/TLV of either IS-IS (section 2 of
>>>       [I-D.ietf-lsr-isis-srv6-extensions]) or OSPFv3 (section 2 of
>>>       [I-D.ietf-lsr-ospfv3-srv6-extensions]), depending on the
>>>       source protocol.
>>> ```
>>> I don't insist that you use this exact pattern, it's just an example of a
>>> minimal patch that addresses the issue, I don't claim it's the best fix. And
>>> TBH, if you made the other changes but left "copied" as "derived" I think it
>>> would have been clear enough in context. Indeed, I think just changing "and" to
>>> "or" could pass the smell test, especially if there's an introductory paragraph
>>> somewhere, setting up the pattern. (Again, see my second point.)
>>> 
>>> For some examples of how we've solved this for past BGP-LS specs, we can
>>> consider RFCs 8814 and 9085. In Section 2 of RFC 8814, it says, "When a BGP-LS
>>> speaker is originating the topology learnt via link-state routing protocols
>>> such as OSPF or IS-IS, the MSD information for the nodes and their links is
>>> sourced from the underlying extensions as defined in [RFC8476] and [RFC8491],
>>> respectively." Or, if we look at RFC 9085, you use "derived" but mostly in ways
>>> I find clear enough, for example, §2.3.5:
>>> 
>>> ```
>>>                                                           The
>>>    information advertised in the Range TLV is derived from the SID/Label
>>>    Binding TLV in the case of IS-IS and the OSPFv2/OSPFv3 Extended
>>>    Prefix Range TLV in the case of OSPFv2/OSPFv3.
>>> ```
>>> The use of "in the case of" makes it clear that there's only a single source
>>> for the field in any given instance. Or §2.1.1:
>>> 
>>> KT> I am leaning towards the use of "... in the case of ..." in addition to the "or" to further disambiguate. Does that work?
>>>  
>>> 
>>> ```
>>>    The SID/Label TLV is used as a sub-TLV by the SR Capabilities
>>>    (Section 2.1.2) and Segment Routing Local Block (SRLB)
>>>    (Section 2.1.4) TLVs.  This information is derived from the protocol-
>>>    specific advertisements.
>>> 
>>>    *  IS-IS, as defined by the SID/Label Sub-TLV in Section 2.3 of
>>>       [RFC8667].
>>> 
>>>    *  OSPFv2/OSPFv3, as defined by the SID/Label Sub-TLV in Section 2.1
>>>       of [RFC8665] and Section 3.1 of [RFC8666].
>>> ```
>>> The use of "from the protocol-specific advertisements" makes it clear in
>>> context.
>>> 
>>> I'm not going to flag each instance of this pattern in my review, but ask that
>>> you do a global search for "derived". I've noted some other issues that won't
>>> be revealed by a search for "derived" in my COMMENT section.
>>> 
>>> (I notice that in Section 7.1 you have "The flags map to the IS-IS or
>>> OSPFv3..." -- which works just fine as far as I'm concerned.)
>>> 
>>> ### Section 2
>>> 
>>> In the same vein, it also seems worth tightening up this paragraph from Section
>>> 2:
>>> 
>>> ```
>>>    When a BGP-LS router advertises topology information that it sources
>>>    from the underlying link-state routing protocol (as described in
>>>    [RFC7752]), then it maps the corresponding SRv6 information from the
>>>    SRv6 extensions for IS-IS [I-D.ietf-lsr-isis-srv6-extensions] and
>>>    OSPFv3 [I-D.ietf-lsr-ospfv3-srv6-extensions] protocols to their BGP-
>>>    LS TLVs/sub-TLVs for all SRv6 capable nodes in that routing protocol
>>>    domain.  When a BGP-LS router advertises topology information from
>>>    the BGP routing protocol (e.g., for EPE), then it advertises the SRv6
>>>    information from the local node alone.
>>> ```
>>> Perhaps this could be made more specific, for example:
>>> 
>>> ```
>>>    In most cases, a BGP-LS router will advertise topology information it has
>>>    sourced from an underlying link-state routing protocol, as described in
>>>    [RFC7752]. In such cases, it will derive the corresponding SRv6 information
>>>    from the SRv6 extensions for IS-IS [I-D.ietf-lsr-isis-srv6-extensions] or
>>>    OSPFv3 [I-D.ietf-lsr-ospfv3-srv6-extensions], as applicable. In practice,
>>>    this derivation comprises a simple copy of the relevant field into a field
>>>    of the corresponding BGP-LS TLV/sub-TLV. This document defines an
>>>    exception case where a BGP-LS router can originate topology information
>>>    itself, for EPE. Such information is advertised only on behalf of the
>>>    local router, in contrast to the usual [RFC7752] behavior of advertising
>>>    information for an entire underlying IGP domain.
>>> ```
>>> This rolls together a few of the windmills I've been tilting at, including
>>> supplying a small definition of "derives" to perhaps minimize rewriting in the
>>> rest of the document. (See also my second COMMENT.)
>>> 
>>> KT> Thanks for that suggestion. I've incorporated a lot from this. One thing to clarify is that RFC7752 covered both sourcing from IGPs and Direct/Static. BGP EPE was in a different RFC added later and there is work to extend it for BGP-only topologies (please see further responses).
>>>  
>>> 
>>> 
>>> ----------------------------------------------------------------------
>>> COMMENT:
>>> ----------------------------------------------------------------------
>>> 
>>> ## COMMENT
>>> 
>>> ### Global, is RFC 7752 the right reference?
>>> 
>>> Since we have rfc7752bis in the final stages of preparation (thanks for your
>>> work on it!), is RFC 7752 the best reference for this document to cite?
>>> 
>>> KT> We didn't want to put a dependency between this and RFC7752bis given that there are already many BGP-LS documents that point to RFC7752. Readers/implementers/operators would need to "move" to RFC7752bis in their minds when they think of BGP-LS. One more in that list should not be much of an issue?
>>>  
>>> 
>>> ### Section 1 isn't EPE the only case?
>>> 
>>> Related to my DISCUSS,
>>> 
>>> ```
>>>    This document describes extensions to BGP-LS to advertise the SRv6
>>>    SIDs and other SRv6 information from all the SRv6 capable nodes in
>>>    the IGP domain when sourced from link-state routing protocols and
>>>    directly from individual SRv6 capable nodes (e.g. when sourced from
>>>    BGP for EPE).
>>> ```
>>> Are there any other concrete cases other than EPE, that the document defines,
>>> where the router sources data directly into BGP-LS? If not, consider rewriting
>>> to make the text exhaustive instead of exemplary, by removing the "e.g." or
>>> turning it into an "i.e.".
>>> 
>>> KT> We have a WG document https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-ls-bgp-only-fabric/ that extends this beyond BGP EPE. We don't want to preclude that.
>>>  
>>> 
>>> ### Section 4.1 IS-IS and OSPFv3
>>> 
>>> Related to my DISCUSS point, here we have
>>> 
>>> ```
>>>    The SRv6 End.X SID TLV is used to advertise the SRv6 SIDs associated
>>>    with an IGP Adjacency SID behavior that correspond to a point-to-
>>>    point or point-to-multipoint link or adjacency of the node running
>>>    the IS-IS and OSPFv3 protocols.
>>> ```
>>> That should be "the IS-IS or OSPFv3 protocol", I think, since generally, a node
>>> won't be running both at the same time. (Noted here since searching for
>>> "derived" won't find it.)
>>> 
>>> KT> Ack
>>>  
>>> 
>>> ### Section 4.2
>>> 
>>> Again related to DISCUSS point,
>>> 
>>> ```
>>>    *  Neighbor ID : 6 octets of Neighbor System-ID in IS-IS SRv6 LAN
>>>       End.X SID TLV and 4 octets of Neighbor Router-id in the OSPFv3
>>>       SRv6 LAN End.X SID TLV.
>>> ```
>>> Should be "... or 4 octets," I think. Figure 3 gets this right, so regardless
>>> of the bigger picture it's worth changing just for consistency with the figure.
>>> 
>>> KT> Fixed.
>>>  
>>> 
>>> ### Section 4.3
>>> 
>>> Again related.
>>> 
>>> ```
>>>    Each MSD-type is encoded in the BGP-LS Link MSD TLV as a one-octet
>>>    type followed by a one-octet value as derived from the IS-IS and
>>>    OSPFv3 Link MSD advertisements as specified in [RFC8814].
>>> ```
>>> Debatable since you refer back to a single underlying spec, but I think "IS-IS
>>> or OSPFv3".
>>> 
>>> KT> I know what you mean, and we have aligned for consistency.
>>>  
>>> 
>>> ### Section 6.1
>>> 
>>> This looks like "the exception that proves the rule":
>>> 
>>> ```
>>>    When advertising the SRv6 SIDs from the IGPs, the SID information is
>>>    derived from the SRv6 End SID sub-TLV of IS-IS (section 7.2 of
>>>    [I-D.ietf-lsr-isis-srv6-extensions]) and OSPFv3 (section 8 of
>>>    [I-D.ietf-lsr-ospfv3-srv6-extensions]).
>>> ```
>>> That is to say, the "when advertising" part implies you might advertise
>>> information from other sources too, I guess the Protocol-ID field has the same
>>> implication since that also can take values OSPFv2, Direct, and Static. So
>>> then, if the source is NOT IS-IS or OSPFv3, where is the SID information
>>> derived from?
>>> 
>>> KT> It is sourced by BGP-LS "direct"ly from the local node as covered by RFC7752(bis). Any locally instantiated SRv6 SID can be advertised by that node via BGP-LS - refer https://datatracker.ietf.org/doc/html/rfc8986#section-8.4. I realize that we are missing some details here and I've clarified as part of the cleanup for the "derived" usage.
>>>  
>>> 
>>> ## NITS
>>> 
>>> ### Section 4.2
>>> 
>>> ```
>>>    For a LAN interface, an IGP node announces normally only its
>>>    adjacency to the IS-IS pseudo-node (or the equivalent OSPF DR).
>>> ```
>>> I think that should be "normally announces". As written it expresses the
>>> implication that it announces other adjacencies abnormally. Maybe "ordinarily"
>>> would be better than "normally" since it doesn't carry the same risk of
>>> ambiguity.
>>> 
>>> KT> Ack.
>>>  
>>> 
>>> ```
>>>                                                           Without this
>>>    TLV, multiple BGP-LS Link NLRIs would need to be originated for each
>>>    additional adjacency to advertise the SRv6 End.X SID TLVs for these
>>>    neighbor adjacencies.
>>> ```
>>> Do you mean "... would need to be originated, one for each additional
>>> adjacency, to advertise..."?
>>> 
>>> KT> Ack. Rephrased for clarity.
>>>  
>>> 
>>> ### Section 5.1
>>> 
>>> ```
>>>    on that node.  These Locators are advertised as BGP-LS Prefix NLRI
>>>    objects along with the SRv6 Locator TLV in its BGP-LS Attribute.
>>> ```
>>> "Each Locator is advertised as a BGP-LS Prefix NLRI object along with the SRv6
>>> Locator TLV in its BGP-LS Attribute." (Agreement in number.)
>>> 
>>> KT> Ack
>>>  
>>> 
>>> ### Section 7.2
>>> 
>>> ```
>>>       -  B-Flag: Backup Flag.  If set, the SID is eligible for
>>>          protection using fast reroute (FRR).
>>> ```
>>> I suggest "eligible to be protected" instead.
>>> 
>>> KT> Ack
>>>  
>>> 
>>> ```
>>>       -  Other bits are reserved for future use and MUST be set to 0 and
>>>          ignored on receipt.
>>> ```
>>> ```
>>>    *  Reserved: 2 octet field.  The value MUST be set to 0 and ignored
>>>       on receipt.
>>> ```
>>> For both these cases, I suggest "MUST be set to 0 when originated, and..."
>>> 
>>> KT> Ack
>>>  
>>> 
>>> ### Section 8
>>> 
>>> ```
>>>    The sum of the LB Length, LN Length, Func.  Length, and Arg. Length
>>>    MUST be less than or equal to 128.
>>> ```
>>> I was a little surprised these don't have to total exactly 128 but I guess this
>>> is a deliberate choice and consistent with other specs? (Presumably, any
>>> leftover bits are don't-care.)
>>> 
>>> KT> Yes. Please refer to https://datatracker.ietf.org/doc/html/rfc8986#section-3.1
>>> 
>>> Thanks,
>>> Ketan
>>>  
>>> 
>>> ## Notes
>>> 
>>> This review is in the ["IETF Comments" Markdown format][ICMF], You can use the
>>> [`ietf-comments` tool][ICT] to automatically convert this review into
>>> individual GitHub issues.
>>> 
>>> [ICMF]: https://github.com/mnot/ietf-comments/blob/main/format.md
>>> [ICT]: https://github.com/mnot/ietf-comments
>>> 
>>> 
>>>