Re: [RTG-DIR] RtgDir review: draft-ietf-idr-bgp-ls-segment-routing-msd-16.txt

Mach Chen <mach.chen@huawei.com> Sat, 18 April 2020 03:44 UTC

Return-Path: <mach.chen@huawei.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 2CAE33A0ED0; Fri, 17 Apr 2020 20:44:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 eUi62k_DHZex; Fri, 17 Apr 2020 20:44:38 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 141F03A0ECF; Fri, 17 Apr 2020 20:44:38 -0700 (PDT)
Received: from LHREML714-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 6CF7B7E1C8A57C8CCC42; Sat, 18 Apr 2020 04:44:35 +0100 (IST)
Received: from DGGEML421-HUB.china.huawei.com (10.1.199.38) by LHREML714-CAH.china.huawei.com (10.201.108.37) with Microsoft SMTP Server (TLS) id 14.3.487.0; Sat, 18 Apr 2020 04:44:34 +0100
Received: from DGGEML510-MBX.china.huawei.com ([169.254.2.249]) by dggeml421-hub.china.huawei.com ([10.1.199.38]) with mapi id 14.03.0487.000; Sat, 18 Apr 2020 11:44:29 +0800
From: Mach Chen <mach.chen@huawei.com>
To: Jeff Tantsura <jefftant.ietf@gmail.com>, "<rtg-ads@ietf.org>" <rtg-ads@ietf.org>
CC: "rtg-dir@ietf.org" <rtg-dir@ietf.org>, "draft-ietf-idr-bgp-ls-segment-routing-msd.all@ietf.org" <draft-ietf-idr-bgp-ls-segment-routing-msd.all@ietf.org>, IDR List <idr@ietf.org>
Thread-Topic: RtgDir review: draft-ietf-idr-bgp-ls-segment-routing-msd-16.txt
Thread-Index: AdYUgufIha3uMI7HSMyOkGGdwgKyaQAORn6AAB1va+A=
Date: Sat, 18 Apr 2020 03:44:27 +0000
Message-ID: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE297AACE9F@dggeml510-mbx.china.huawei.com>
References: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE297AAB4AB@dggeml510-mbx.china.huawei.com> <64d95dfc-acd3-422f-ae0e-869e0b92bb72@Spark>
In-Reply-To: <64d95dfc-acd3-422f-ae0e-869e0b92bb72@Spark>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.108.203.48]
Content-Type: multipart/alternative; boundary="_000_F73A3CB31E8BE34FA1BBE3C8F0CB2AE297AACE9Fdggeml510mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/KCz6sVkDu0VXdLyLM3h37lJ6PUs>
Subject: Re: [RTG-DIR] RtgDir review: draft-ietf-idr-bgp-ls-segment-routing-msd-16.txt
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.29
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: Sat, 18 Apr 2020 03:44:41 -0000

Hi Jeff,

Please see my response inline…

From: Jeff Tantsura [mailto:jefftant.ietf@gmail.com]
Sent: Saturday, April 18, 2020 5:28 AM
To: <rtg-ads@ietf.org> <rtg-ads@ietf.org>; Mach Chen <mach.chen@huawei.com>
Cc: rtg-dir@ietf.org; draft-ietf-idr-bgp-ls-segment-routing-msd.all@ietf.org; IDR List <idr@ietf.org>
Subject: Re: RtgDir review: draft-ietf-idr-bgp-ls-segment-routing-msd-16.txt

Hi Mach/Alvaro,

Many thanks for your review.

Please see inline


Have a great weekend and stay safe!

Cheers,
Jeff
On Apr 17, 2020, 12:38 AM -0700, Mach Chen <mach.chen@huawei.com<mailto:mach.chen@huawei.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 ​http://trac.tools.ietf.org/area/rtg/trac/wiki/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-idr-bgp-ls-segment-routing-msd-16.txt
Reviewer: Mach Chen
Review Date: April 17, 2020
IETF LC End Date:
Intended Status: Standards Track

Summary:
I have some minor concerns about this document that I think should be resolved before publication.

Comments:
This document is clearly written and easy to understand.

Major Issues:
No major issues found.

Minor Issues:
The Node MSD TLV and Link MSD TLV are designed to be able to carry multiple MSDs. I guess this is designed for future extensibility, where a Node may have multiple types of MSD, right? But for each type, is it allowed to carry multiple instances of MSD-Type/MSD-Value pair or only one instance? For whichever case, there need some text to describe the rule about the sending and receiving procedures. For example, when multiple instances allowed, how does a node decide which instance takes effect; if only one instance allowed and multiple instances received, how to handle this, discard the whole TLV, or only the first instance takes effect and the rest ignored.

Nits:
1.
Section 1,
s/learn/learns
[jeff] ack

2.
Section 3 and Section 4:
The TLV format of Node/Link MSD is defined as follows:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MSD-Type | MSD-Value | MSD-Type... | MSD-Value... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Since the MSD-Type/MSD-Value pairs are variable in length, the above definition does not reflect this, suggest to change the figure as below:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
// MSD-Type | MSD-Value | MSD-Type... | MSD-Value... //
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

[jeff] As Alvaro already explained in his email, BGP-LS is simply the transport here, https://tools.ietf.org/html/rfc8491#section-2 shows the format exactly as you suggested, thanks for that!
I’m with Alvaro - this need not to be done in this document, since it is already done in the IGP RFC.

[Mach] I may be a little bit picky here☺  According to Figure 1 and Figure 2, they shows that value field is fixed (four octets) in length, but actually the length is variable as designed. IMHO, the format of IGP TLV will not be exactly mapped to the format BGP TLV format, BGP-LS has its own definitions. It’s better that this document keeps the definition sane by itself.

Best regards,
Mach


Best regards,
Mach