Re: [RTG-DIR] RtgDir Early review: draft-ietf-idr-bgp-ls-segment-routing-ext-06

"Ketan Talaulikar (ketant)" <ketant@cisco.com> Fri, 18 May 2018 08:46 UTC

Return-Path: <ketant@cisco.com>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08278127735; Fri, 18 May 2018 01:46:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uSXyZJO-3AJv; Fri, 18 May 2018 01:46:32 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A4DC124D6C; Fri, 18 May 2018 01:46:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8590; q=dns/txt; s=iport; t=1526633192; x=1527842792; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=PhBHighR2daK8PyrQBLj6eEOYy8T7Uy0SOMZ7gNW1eY=; b=FOt4jVwt8vyx71PtcxnGt48NyqLHxk+75vMcnuUIjZhswE16vGzpgll9 w9cQCWSeyhdzFINdp3lq4tT2MrSgSJ/M1h7kCiAYfqB2cyj0K2o8SUsYH 7jWQ1Aww9JjhCF5i4+WC9OrlJaFZ9PC2zj4EcCIJJjiskCLsnFfZkgleZ k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AxAQDxkf5a/49dJa1cGQEBAQEBAQEBAQEBAQcBAQEBAYNDYX0oCoNqiAWMdoF5gQ+HA4wzgXgLJYRHAhqBdSE0GAECAQEBAQEBAmwcDIUoAQEBBCMRMw0FDAQCAQgRAQIBAQEDAiYCAgIfERUCBggCBAENBQiDHYFnAxUPpjuCHIcHDYErgieBCYcsgVQ/gQ4BgwyCTzcLAQEDgUctD4JaglQCh0KQWywJAoVohW6CdoE/PoMtgl+DZ4ERh06CEUqGJgIREwGBJAEcOIFScBWCfgmCFxeIWYU+bwGOcIEYAQE
X-IronPort-AV: E=Sophos;i="5.49,413,1520899200"; d="scan'208";a="116711481"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 May 2018 08:46:31 +0000
Received: from XCH-ALN-008.cisco.com (xch-aln-008.cisco.com [173.36.7.18]) by rcdn-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id w4I8kUXm021691 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 18 May 2018 08:46:31 GMT
Received: from xch-aln-008.cisco.com (173.36.7.18) by XCH-ALN-008.cisco.com (173.36.7.18) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 18 May 2018 03:46:30 -0500
Received: from xch-aln-008.cisco.com ([173.36.7.18]) by XCH-ALN-008.cisco.com ([173.36.7.18]) with mapi id 15.00.1320.000; Fri, 18 May 2018 03:46:30 -0500
From: "Ketan Talaulikar (ketant)" <ketant@cisco.com>
To: Victoria Pritchard <pritchardv0@gmail.com>, "draft-ietf-idr-bgp-ls-segment-routing-ext.all@ietf.org" <draft-ietf-idr-bgp-ls-segment-routing-ext.all@ietf.org>, "idr-chairs@ietf.org" <idr-chairs@ietf.org>
CC: "rtg-dir@ietf.org" <rtg-dir@ietf.org>, "idr@ietf.org" <idr@ietf.org>
Thread-Topic: RtgDir Early review: draft-ietf-idr-bgp-ls-segment-routing-ext-06
Thread-Index: AQHT7imn6iG/2V1bEES012ULhBHnvKQ1EVhw
Date: Fri, 18 May 2018 08:46:30 +0000
Message-ID: <87d538a15b154083b0ebeb73be6d01e5@XCH-ALN-008.cisco.com>
References: <CA+fLEh+CMuWEcKy3J1JGx3Oxj9Fpg7qJv1a0m+-AKnMOgW2mEA@mail.gmail.com>
In-Reply-To: <CA+fLEh+CMuWEcKy3J1JGx3Oxj9Fpg7qJv1a0m+-AKnMOgW2mEA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.65.32.181]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/13GC0VgkBr7Bd-zyUDY8QycZX3U>
Subject: Re: [RTG-DIR] RtgDir Early review: draft-ietf-idr-bgp-ls-segment-routing-ext-06
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 May 2018 08:46:44 -0000

Hi Victoria,

Thanks a lot for your comments and inputs to improve the document.

Please check inline below for response. I will update the document next week and please let know your feedback in the meanwhile.

Thanks,
Ketan

-----Original Message-----
From: Victoria Pritchard <pritchardv0@gmail.com> 
Sent: 18 May 2018 03:25
To: draft-ietf-idr-bgp-ls-segment-routing-ext.all@ietf.org; idr-chairs@ietf.org
Cc: rtg-dir@ietf.org; idr@ietf.org
Subject: RtgDir Early review: draft-ietf-idr-bgp-ls-segment-routing-ext-06

Hello

I have been selected to do a routing directorate “early” review of this draft.
https://tools.ietf.org/html/draft-ietf-idr-bgp-ls-segment-routing-ext-06

The routing directorate will, on request from the working group chair, perform an “early” review of a draft before it is submitted for publication to the IESG. The early review can be performed at any time during the draft’s lifetime as a working group document. The purpose of the early review depends on the stage that the document has reached.

For more information about the Routing Directorate, please see ​ http://trac.tools.ietf.org/area/rtg/trac/wiki/RtgDir

Document: draft-ietf-idr-bgp-ls-segment-routing-ext-06.txt
Reviewer: Victoria Pritchard
Review Date: 17/05/2018
Intended Status: Standards Track

Summary:
I have some minor concerns about this document that I think should be considered, just a few things that weren't clear to me, but these may be obvious to the intended audience.

Comments:

(1)
I found the document difficult to read with so many references to definitions in other drafts. I noticed that the other drafts sometimes duplicate text from each other, so wonder if that should be done here too to aid readability, along with a comment that these parts have the same definition in the IS-IS and OSPF extensions too. e.g. 2.2.1 but applies throughout.
[KT] By its very nature, most of BGP-LS extensions derive and build upon the technology/architecture (in this case SR) and base IGP extensions (in this case ISIS/OSPF SR extensions). Without the context from both the feature/architecture and IGP specifications, I agree that it is difficult to read BGP-LS documents. However, I do not think it makes sense to duplicate text from across multiple documents. Many a times those other documents also evolve based on reviews and inputs so it is likely that such copy/past text gets out of date.

(2)
I found Table 5 6 and 7 really useful, since it became clear that the TLVs defined here for BGP map to OSPF and IS-IS extensions. I'd like to see these tables earlier in the draft.
[KT] Sec 2 text at the very beginning does say what you are asking for and puts forward reference to the exact same tables you point to. IMO putting a table with things that are not defined up front may not be as friendly.

(3)
Sections 2.1, 2.2, 2.3.1, 2.3.4 all mention "SR TLV" or "corresponding TLV"
but it wasn't clear what these were.
[KT] They are actually described right below in following sub-sections. I will change the text to " the corresponding underlying IGP TLV/sub-TLV described below" so this is clearer.

(4)
Section 2.1.1
If length is 3 and the rightmost 20 bits are a label, what are the other bits for?
[KT] There are no "other bits". When the TLV is encoding a label then its size of the value field is 3 and the overall TLV size would be 7.

(5)
2.1.2. The capabilities TLV "advertise the node's SR capabilities and its Segment Routing Global Base (SRGB) range(s)", but the format diagram only contains Segment ID information. What are the capabilities? Or does the presence of this TLV indicate the capability?
[KT] The Capabilities are the SRGB and the flags carried in the TLV.

(6)
2.1.2, 2.1.4
The range size is followed by a single SID? Is this the same for the Range TLV in 2.3.4?
[KT] Sec 2.1.2 and 2.1.4 the range is followed by a SID/label TLV and the text puts the reference to 2.1.1 for it. Under Sec 2.3.4 the Range TLV's sub-TLV encoding mechanisms are different for OSPF and ISIS and so described in sub-sections 2.3.4.1 and 2.3.4.2. 

(7)
2.1.5 The SRMS Preference TLV only contains the Preference value, so it was unclear how this is linked to a mapping server? Is the mapping server some other field in the message?
[KT] The SRMS Preference TLV indicates the preference value for the node NLRI that it is a part of when that node is a mapping server. One would need to go through the referenced IGPs specs and likely the relevant SR specs to understand the mapping server.

(8)
2.3.1
If the flags field is to be used according to the flags from the corresponding source protocol, does the receiver know the source protocol and therefore how to interpret this field? 2.3.2 says to look in NLRI for Protocol-ID so may be worth stating the same here.
[KT] There is similar text also in 2.3.1 but perhaps not as clear. I will update 2.3.1 to have similar text as 2.3.2.

(9)
2.3.4.1 repeats that the flags of the "Range TLV" are set according to the definition in the OSPF drafts. Is that the Range TLV defined here (in which case this is already stated in 2.3.4), or the OSPF Extended Prefix Range TLV (in which case, why would you need to clarify how those flags are used)?
Does this paragraph mean you copy the TLV used in OSPF and also add a Prefix-SID? So for each mapping there are 2 TLVs? 2.3.4.2 is much clearer in the way it presents this.
[KT] I will move the diagram in 2.3.4.2 into the parent section 2.3.4.1 since it applies to both protocols. The sub-sections 2.3.4.1 and 2.3.4.2 are to explain the mappings of TLVs/sub-TLVs from the respective IGPs to the BGP-LS TLVs. I will update this part to make it clearer.
Again a note about Protocol-ID may help here since the sub-TLVs included are different depending on the protocol.
[KT] Ack

(10)
Table 5,6,7. Is the fact the length is variable is interesting in this table? 
[KT] Fixed - not all are variable there was a fixed size TLV that was missing from these tables.

I would like to see this table earlier in the draft to visualise the OSPF and IS-IS information you are aiming to share using this BGP extension
[KT] As mentioned previously, there is a forward reference to this table.