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

John Scudder <jgs@juniper.net> Wed, 01 February 2023 22:42 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 77AA4C14CE46; Wed, 1 Feb 2023 14:42:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.303
X-Spam-Level: **
X-Spam-Status: No, score=2.303 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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="vnJZSt+g"; dkim=pass (1024-bit key) header.d=juniper.net header.b="fwFlF3t5"
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 o9sEsvwgu1gR; Wed, 1 Feb 2023 14:42:22 -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 992BFC14CE24; Wed, 1 Feb 2023 14:42:21 -0800 (PST)
Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 311HXNvc017817; Wed, 1 Feb 2023 14:42:19 -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 : mime-version; s=PPS1017; bh=q0wV25FthYcO8invdz3kGXeRE/8hD/rpy+tPzxYxQhQ=; b=vnJZSt+gtJjFg6lxQp25F8HcLzjeSQenlzAPufO1aYZBWHvjMnE57TjOnengGEv9HAIW ut9s3eEJ+PeCr6LAmvwNTmboJj/BDIKEyQJIeA45uoDj9U0rwvucOnFbnxSi/Ayxc8vP 6s7i0FtR/Jo2zDLh6e5HNKtTPyotQKqHKKMyRyGOkhlf/nNZ5lojfh1wKKdODgcRCAHQ X6Z8/BQ0ibTny1yUVi2PYPW32JrntiQubamqDhJAhNhy9K2+pdSCujfkF1I3hD6yfzc8 12YnaPOOt3b6LlUuSwnBu1sxSKQldIZe7W2QQ9UptLNa0RjkItDJNzJSHeWTCAIWgdug Iw==
Received: from bl0pr02cu005-vft-obe.outbound.protection.outlook.com (mail-eastusazlp17012027.outbound.protection.outlook.com [40.93.11.27]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3nfnvy9s35-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Feb 2023 14:42:18 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e6cnexd82Uz/GMSS7cGFUFcWQKrB0GL976xq6oR2kHKwu+2A9mMbuzZzboEy15RFrvQFr+D/QeyCpnuGL7cRQNg5fjstxDMjNDKv3xoPlAdihSd/QtOJLqAlANNxLQm41Xi4I9HHCoHC0sJ4c9QrGgILRGCFFB/uzuzA/l0pGLc3vv/pHkbDEBvqlmq2WPVuMGCkyPwBNNgtG06UtvZMh7r3DN0+IGOOM+3sD2plt3d7PGVnuq6EkUdGqgUIbbZi2vwkQNBb3TJeUo3U/rMbovs7rMOK/ErJ2jnJ+4vjAilAKl11xnZb9um+UX3R3HdmW86nn4V9+SxB0oWhRzWNaA==
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=q0wV25FthYcO8invdz3kGXeRE/8hD/rpy+tPzxYxQhQ=; b=DvKrifl5m81zu3JhVvqYcJ09UByABWzKJQGepZWltvHHkvFIJQ4bBKWQYH0aDHrqZTxi5Slj6LPbb+/JyZQMZ2Dd7gdQIog6FJP3JUBmzNucUSSEXDMXgO/D54xs8QH0FSYp+SDq+IIvlOaN0B3yfnd73jtXHqEB2Mdc3TRi/syyJKN0QK46sPru+IjTZfBqKTveWawQsr4uE+VA2ciGOEeGwQMgeAU4AFijBhyCFarzP9A7VfF8TRdU09vxwBd55dIuKtzd9VXV9Rdu5Xn4rnYrUqwo6OTBxhm17AGF3IhBZnsoDV9aAg2sPD4ggi6O5blBd3FxsLPkE9z70PnzRQ==
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=q0wV25FthYcO8invdz3kGXeRE/8hD/rpy+tPzxYxQhQ=; b=fwFlF3t5HTNABGAiSLI9PSpJuYO4cEmGBtn5CNwCyjtsikR5fPzqV8lqamrHXQgJf9kUNbJfZOTuoJteafNHFYtvhyD++skYU6pHD25vl3Odp/P8HEPWxZSjVs7/i3F63XwI7p/pSyp+xWnasCf90nIGfWMHHsqCexPejoWewjY=
Received: from MN2PR05MB6109.namprd05.prod.outlook.com (2603:10b6:208:c4::20) by BYAPR05MB5125.namprd05.prod.outlook.com (2603:10b6:a03:9d::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Wed, 1 Feb 2023 22:42:14 +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.6043.028; Wed, 1 Feb 2023 22:42:14 +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>, "shares@ndzh.com" <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+Ma6eFc8AgBzlMwCAAAHJgA==
Date: Wed, 01 Feb 2023 22:42:14 +0000
Message-ID: <9C97B736-BC8B-4B1F-937B-69F3EB64A732@juniper.net>
References: <CAMMESszQ_OSTzzOLwYsPq0_YY2Qx8qRFJeaub4ZMw_i3RSCfWQ@mail.gmail.com>
In-Reply-To: <CAMMESszQ_OSTzzOLwYsPq0_YY2Qx8qRFJeaub4ZMw_i3RSCfWQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: MN2PR05MB6109:EE_|BYAPR05MB5125:EE_
x-ms-office365-filtering-correlation-id: 6639d0cf-e8af-4d78-da50-08db04a5907b
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: BQH4IPgXig5fOsevhcZaQ372X7o0wwZtTcRt7dLXh6jbiQ7eIec969GsaZfkmxr16IDOi9k+YO8m+4YJSl9/nSdi5DGbxoo/MQKgP82NZF4ao+C13d2Lus3qSWQWFhDQFTHtsrxzUkFSjxm3mPUfAhGMNXmW0jdTwc8aa8ncpLb/5aOf50RUaQdP7GLq6UvKuS2cSk6N3wNZPXvnJ7vlHw7VjBJaWRKt17KW3cYZcgNDhWIglIYFJ462rC7er6T1PQWmRqAfOWwY9B68Xc5vyMkEgjXOh2JZ89DETrvVoWoNs5MtWYyGn+3D1YNFNiW/F0KEr5wTOgFtbU/QpqrlKnoqnnpOXHb15wopne8UycrcSfk0TJfUziEgpQQ2jQ2oqVh8sykdtGcvhnc8d4N0GrE0y+E1qG0MqEIscXFRya9wC5aDDOqbDncNLukefAdIDUtP18iESqYWQ6v8cUcQVq0T92/AIT9ntAvrScNE/aRuyQMSmyevJ9Q8o1DcOyOcs4b+3b0T5pjV/u35LcfC1I+KnAgM4y/HcxG8MFtk3Xy4c27zyEZVfcyO2KRi6wLDog8zlnSCejBYdadV6wn8ie9R96vh5L4jeDpP9CDaXQcNyd/C8xuwVrNFURdmOykdIzVqquDvfv3dDNgHtu8c1p8b9VPS695rEFgmVNBDLjVD5+Zc0XRP5IENeiaaPhtmvOfSad2O88L82jQdGRFC1wDg749usXsimkjYfHop9RNd7vVmnNe4FzwhKVN0sNVDaDmB/U7aygzbznDDuI6yjXNLvsiVCz9CmPPv95XO7E0=
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)(346002)(366004)(396003)(451199018)(36756003)(2906002)(316002)(54906003)(66476007)(41300700001)(8676002)(64756008)(66446008)(91956017)(6916009)(4326008)(8936002)(5660300002)(33656002)(86362001)(38070700005)(166002)(122000001)(38100700002)(966005)(76116006)(71200400001)(186003)(6512007)(26005)(6506007)(53546011)(66946007)(2616005)(66574015)(6486002)(83380400001)(478600001)(30864003)(66556008)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 37rx5lI/yCw3nAfRGrjFNCa5Ab711W4r30Bi03SnfHu3EZMK+jGlFZpADh2UtS8UshMqgeO3OJLfPJNs6K+ZW/PYgbxDayzhxd6+JQLKOJZjWmjFjHRP6hNRqgYJsGPEq2nRvK0hTBiFAnTspXLMl5njON29tLhGvx1LCdcsCw+pVA5q9rU6hBKIccgeRX8abMrB0rZC3vLwcae9tzQCXS1UVKi5wKLLWWjKUxOykQ7xZf/VNmNSvb4F0nOEKqy69ZdJNvVhaFRdEGMfuwal37ygH/xSnwvxNemVTxXbq48OWknEgphHHrTPWKbrkP84j++P/GcUV3engXprs52ziMiWToJMYgJCJ9eVxUXXiqFIYErbXjLVGzEagtLegopPuilQcvDAWHUHDpCv78ezjGBaF+MR/Wbmev4yWtX1mahhBez/kZz5jdKwvsFtxRd2OMIBWQTJWa3j09/qxvCGpnag1hpENOB7e5IPK7wrrIyYrRujB+sbaCRg9HYbfunFPcbB0G1/n/IHgdKinDrYcZdC1B8vLqcmH/qvy033IYp7EJQpEzNcMKMQWO6Ci29zt4fvIN+uIN38TDSeeOgOhCDrBp4KjL3HyiHi1liupfPZo2ABRDGrmSL1bMXZnDWs5SrLc972DvkJUZeZGGp7PZuPnzqgpZqEJ9XJnmCTD3z6VLK20YJzqjU13M2Z9Z+hkeqv9uiT+qljLOm5i23lEOg7LuqY2W/dZCrwWmDuSGIh4OtfJzMgzco5Uw7hKp6UMN0CTjFa4IDGKetGF/mjEaDwuvJfbrdzEOUFNcReF7bgm1wPoHAiLKAZL3SLGttHTINOpn2rS2YHxLtCVf29bFvx7xs5Kn561EsJ86hw6VU7klEbwgoCMEKyvljhoWHMO8gKb1/s9kzJ7MJnam1AgiT9KoK/vptSFh/g4PxIHR8Jy3VJsxPFda4XJH0qDpb5uHBT98e8AswwtS/JR9QngXWKlbRF0TeGzQ1PD70nOv6NlirQiHPVXq716epCQph5sGshInXEEpK0fdEmQ39W/qtATG5zJ/lrq3W5Kby+++zqPXXnPgI1u98vanukz4JQ5gM/ofWiVVsSe9kpWWSQGgymmtgdB9lA3XUZMzd/AlLgQgBrnWZhqEixwS8zVxRVPv+hO8Q4/rurTmgMW1/K6ANJSILN/l7TKyokvniDRZccFezkOmg/XHFs4jZOYFt3EQQzAMgC31trBat08B49AIYzi7+BFJV970ZreQ2MEGjPTNVIXykcVGcRTAbh043Gvs9+/07v+nQrcF/SF8Oww9ZxSWQI6xmbHxaa66DmkEfaB8Ck0dpucHEX+UDzyTobQGo+VsxMJIYzNM5OSqxhMQzSNk3iuFG2tbPp8k9pE9A9pZAPDSTr5HtQfmQ43cKeU8ib99c658FaxsM6cmifQbdBDjPpZf9+P0/ph+U904t1krtDyxAYCizY8CDkg3JZW++C6has/PxMYW4e7eFKhiio1k484tdILcgzddTNLs0Yq3cFGHVM6xsyZ6fwPN5ntn0LtZkfViy1h2SJwRJn/rBYliSbC2wnMBYcroLONqGKTPBfes6R/ziWcY4KZ7ZL
Content-Type: multipart/alternative; boundary="_000_9C97B736BC8B4B1F937B69F3EB64A732junipernet_"
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: 6639d0cf-e8af-4d78-da50-08db04a5907b
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2023 22:42:14.3051 (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: aGHw7ixNiuQvNvpgk3xuvPnriHr6p7plTDEymJifoLvwxdIylHgoNAUUs3rGEv8x
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB5125
X-Proofpoint-ORIG-GUID: DmfxhqBt9mufyjeP3Bh8og-CxqzaFCzZ
X-Proofpoint-GUID: DmfxhqBt9mufyjeP3Bh8og-CxqzaFCzZ
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-01_04,2023-01-31_01,2022-06-22_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 bulkscore=0 malwarescore=0 clxscore=1011 spamscore=0 suspectscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 impostorscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302010191
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/2tDygAhC2ef7eJnUP0Fvtc6T8IY>
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: Wed, 01 Feb 2023 22:42:26 -0000

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<mailto: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<https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/draft-ietf-idr-bgpls-srv6-ext-13__;!!NEt6yMaO-gk!DdgV1ljPgzmy4I7rEkFJJuvp137gTpun5OfKrmeVJ074NFt8vBO12gN4rwBsXF1QZ-QkgmJ6Ozrl6uqPGWE$>


On Thu, Dec 15, 2022 at 2:49 AM John Scudder via Datatracker <noreply@ietf.org<mailto: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/<https://urldefense.com/v3/__https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/__;!!NEt6yMaO-gk!DdgV1ljPgzmy4I7rEkFJJuvp137gTpun5OfKrmeVJ074NFt8vBO12gN4rwBsXF1QZ-QkgmJ6OzrlF9VaSJ8$>
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/<https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-ietf-idr-bgpls-srv6-ext/__;!!NEt6yMaO-gk!DdgV1ljPgzmy4I7rEkFJJuvp137gTpun5OfKrmeVJ074NFt8vBO12gN4rwBsXF1QZ-QkgmJ6OzrlroWBkos$>



----------------------------------------------------------------------
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/<https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-ls-bgp-only-fabric/__;!!NEt6yMaO-gk!DdgV1ljPgzmy4I7rEkFJJuvp137gTpun5OfKrmeVJ074NFt8vBO12gN4rwBsXF1QZ-QkgmJ6Ozrl7dsjnXc$> 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<https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/rfc8986*section-8.4__;Iw!!NEt6yMaO-gk!DdgV1ljPgzmy4I7rEkFJJuvp137gTpun5OfKrmeVJ074NFt8vBO12gN4rwBsXF1QZ-QkgmJ6OzrlLAtIKmI$>. 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<https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/rfc8986*section-3.1__;Iw!!NEt6yMaO-gk!DdgV1ljPgzmy4I7rEkFJJuvp137gTpun5OfKrmeVJ074NFt8vBO12gN4rwBsXF1QZ-QkgmJ6OzrlEbJwye4$>

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<https://urldefense.com/v3/__https://github.com/mnot/ietf-comments/blob/main/format.md__;!!NEt6yMaO-gk!DdgV1ljPgzmy4I7rEkFJJuvp137gTpun5OfKrmeVJ074NFt8vBO12gN4rwBsXF1QZ-QkgmJ6OzrlDAjjW9Y$>
[ICT]: https://github.com/mnot/ietf-comments<https://urldefense.com/v3/__https://github.com/mnot/ietf-comments__;!!NEt6yMaO-gk!DdgV1ljPgzmy4I7rEkFJJuvp137gTpun5OfKrmeVJ074NFt8vBO12gN4rwBsXF1QZ-QkgmJ6OzrljJv6BG0$>