Re: [mpls] draft-ietf-mpls-spring-lsp-ping: resolution of issues raised in my RTG-DIR review

Alexander Vainshtein <Alexander.Vainshtein@ecitele.com> Tue, 17 October 2017 07:21 UTC

Return-Path: <Alexander.Vainshtein@ecitele.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 63DF51332DF; Tue, 17 Oct 2017 00:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.59
X-Spam-Level:
X-Spam-Status: No, score=-4.59 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=eci365.onmicrosoft.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 fHMimxuVvR-j; Tue, 17 Oct 2017 00:21:34 -0700 (PDT)
Received: from mail1.bemta6.messagelabs.com (mail1.bemta6.messagelabs.com [193.109.254.108]) (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 1DADE1331F1; Tue, 17 Oct 2017 00:21:32 -0700 (PDT)
Received: from [193.109.254.3] by server-4.bemta-6.messagelabs.com id DD/00-31244-A7FA5E95; Tue, 17 Oct 2017 07:21:30 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA1VTa0wTWRj1zqMzIEPGovJZrY+6omKKkqgZY3w bbTbZ7GrcBDZrcAojbWwLdoqpiT/QoGLRoEKjJUVwgbBCBSVKzIZFxSig+EAUQpUo2hqRmBhJ rFp8zHSKj/lxc+4953znzOQOjasLKA0tOB2C3cZbdKpYYvGs1Vv1uxuD6YtK2vVcj6uI4vwnm yju8JEFnL/mDMkNH3OrOF9nB851et/jXKUvSHHt98JodYxhqNiLDKXh86ShuvoDZujb95AyXO 8vx/8g/yLNNmOOcxtpGrn6Cc892EM4O13lqnzkvUW4UAxNsAdwcFXRLhRLq9mjGHie3SOVzVM Eze5WJKtU7Apoqh9QyXgiuxwuHiiKiHC2HofRzx2kTCSwGdBb6iIV0TZo6m6QzLSEN4Dn/WQl bQ58ePQFlzHD/g0fawswJew4Bo+HX1AyESOFtZVciGDETobQTR8mY5xNBH+gIoKBZaG65S6u4 Ekw9PwzqeiN8CR4GinnOvjX3R/Va+F+RRGSw4AtoyB0sopSiBS4eOx11PAbXPbvw+XSwM6GCy +3Kvp6BK5/DkcHJcNQ++2ofgc0BpvxMdx7doBSDA9IuFR3mVCIaVAZGo4SdSrI72uIONRsJnR 4R4ijKLnsh7dTsA0qRg6hsshnmgCdngBRJpXC2fnQ+N9CRTILSosGKQXPg/3ecurH80pE1aG5 omDfJdj1S1KMdnO2yWHlzRZ96qKlKVZBFPlswcIbxZTMHGsTku7fOOm5hE70/N6GptCYbhKzL jWQro435mTtNvGiKcOeZxHENjSNpnXA7G0Ipqsn2IVswbndbJEu8RgNdJxuIpMm04yYy1tFc7 ZC3USr6HP9A6MY3RpZfX55DfSe+oSpCVuOTdAkMsWyjZVtpjzbt6FjP8d9pNUkMEiqqY7LFex Ws+Nn/hVKpJEugXHLU+LMNse37FdSLUyq1bA2INdy8N8pTT7KKyl0rI1L8j/uc2aFPcdJV8Vg lzctk2hLS9UE/jR8uTbwtqewK+tNwk6PtssSXh8fo3s3I71ltC9c2F2zhm5/TW7ac2eVvuD09 ObMtx2h1v/vbApdHVyWEatN2+gzrfh1yRZPcZ7mysxfZvtX3hi/n9l8rqY7/uWbWmG+dmq++1 mSjhBNfGoybhf5r8RlYokXBAAA
X-Env-Sender: Alexander.Vainshtein@ecitele.com
X-Msg-Ref: server-3.tower-184.messagelabs.com!1508224886!137823458!1
X-Originating-IP: [52.33.64.93]
X-StarScan-Received:
X-StarScan-Version: 9.4.45; banners=ecitele.com,-,-
X-VirusChecked: Checked
Received: (qmail 18085 invoked from network); 17 Oct 2017 07:21:28 -0000
Received: from ec2-52-33-64-93.us-west-2.compute.amazonaws.com (HELO EUR03-DB5-obe.outbound.protection.outlook.com) (52.33.64.93) by server-3.tower-184.messagelabs.com with AES256-SHA256 encrypted SMTP; 17 Oct 2017 07:21:28 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ECI365.onmicrosoft.com; s=selector1-ecitele-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mYpBEWBj7t65qhV81kxJV1WYn96qn7Ga7m5lgGW788Q=; b=CEbmB1NT8rNHJbIR+TCNEodcSacM3fOwAEcDC1wyc01z3Lhee0yU3BQTneWrY3qU4rrCZP6jk7YnoRisuaPJ15VcdmejdnXKhey2YNUEvxGhM7ZD/OD/2/IgRogPAlXWOeXMu4fvwLbmHzODhDqd52FRO+krweWuzeYq/c1Hn+k=
Received: from AM4PR03MB1713.eurprd03.prod.outlook.com (10.167.88.15) by AM4PR03MB1713.eurprd03.prod.outlook.com (10.167.88.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 17 Oct 2017 07:21:24 +0000
Received: from AM4PR03MB1713.eurprd03.prod.outlook.com ([fe80::71db:1e06:ca8b:da77]) by AM4PR03MB1713.eurprd03.prod.outlook.com ([fe80::71db:1e06:ca8b:da77%14]) with mapi id 15.20.0077.020; Tue, 17 Oct 2017 07:21:24 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
To: "Nagendra Kumar Nainar (naikumar)" <naikumar@cisco.com>
CC: "rtg-ads@ietf.org" <rtg-ads@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>, "spring@ietf.org" <spring@ietf.org>, "Jonathan Hardwick (Jonathan.Hardwick@metaswitch.com)" <Jonathan.Hardwick@metaswitch.com>, "rtg-dir@ietf.org" <rtg-dir@ietf.org>, "draft-ietf-mpls-spring-lsp-ping.authors@ietf.org" <draft-ietf-mpls-spring-lsp-ping.authors@ietf.org>, "BRUNGARD, DEBORAH A" <db3546@att.com>, Antoni Przygienda <prz@juniper.net>
Thread-Topic: draft-ietf-mpls-spring-lsp-ping: resolution of issues raised in my RTG-DIR review
Thread-Index: AdM87VBWMwQpWk20SYuuvpBxKKubvgD/JaaAASd6g7AAWX4xgAAJvYPQ
Date: Tue, 17 Oct 2017 07:21:24 +0000
Message-ID: <AM4PR03MB1713FFFE09813389A864409F9D4C0@AM4PR03MB1713.eurprd03.prod.outlook.com>
References: <AM4PR03MB1713BACBB06A4157DFE2F3889D730@AM4PR03MB1713.eurprd03.prod.outlook.com> <34333AE3-B0F1-43C3-A9DE-2BB3AAD7E7BA@cisco.com> <AM4PR03MB171301482FC7A31B2C92728A9D4E0@AM4PR03MB1713.eurprd03.prod.outlook.com> <4E95B90B-43FD-4DC6-A052-19B0C00A866D@cisco.com>
In-Reply-To: <4E95B90B-43FD-4DC6-A052-19B0C00A866D@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [79.178.105.135]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR03MB1713; 6:ZyFO1blz45B6TDoir1x01sPcbdP9o7Fjtu6h3eBPtTrGy28lA5PqOtULq5+fahHjyVhiH85RYEUr9byZYMFsNNanaetscJCR3H/COPatgrM2SWqUcsmCl9/ybBSUTs3WplfAhh8hMUXxGOViysA8Lae8CFD8f45mpNxsdtggiBBg85OBzL1IxqqS90jqczEY5LbtUtIDNXB3VJH2yY3KEO0wtGm/G+WGghSiMJvkIB2guASoZSZTIHNW5PHPtc2vvp6BXbQTm4gFUp3cmcT876cb06iSpK0T1GwTHZNKP+QVE91awaF5uhCUWs1iqAvSetUEJHCXezFW4FVFqFEghA==; 5:kGJXa3cg455CGJigcSSFauqZh0I9yXtmBYgQFMTFPbuk4xsWYgjaKlFGyYFNBgFPSJd/2l7hKJDkx16NQJ6WfdpmV8jMl71kVxPUULKn6F3gttg3/C+aTJi4OZ3xoemJvb7NV++s2GdMjLI9cMEIknaD68xSUmTzAVV1QDaTqwk=; 24:ghURU3/0PkofQe+cKKsi7HCxklEue9pATtFwI/A2/T6PljqvAtCDdGyGjd1kjmyNZ2iR7NuyHi2Bxzddw+E3eryQwTkvkW+REqoPTavWsPY=; 7:RpAR9U9L7OM1bdMKrZUnStsO9ICkhO6DA/C85X2uuyFw17Bq72BrRmHbVaZO47Dcfecs6fdGXHelcrMYNOElKixhZRF+yW012g5TWq1JDzJ3UEMswtO2u7ykD1QScj8ibTFc2ujC+FQRR4os/SYMFhpjNbLmCWKj4/66v7XpTbUnm0nJQrzk+sfXF7ZpsUuM1bC1UpEjHyAXcuMfagNaw/rUrOpwmjcYhJNjMPSIPew=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 008c8c56-e8ea-46c9-03fd-08d5152fac81
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:AM4PR03MB1713;
x-ms-traffictypediagnostic: AM4PR03MB1713:
x-exchange-antispam-report-test: UriScan:(97927398514766)(95692535739014)(21748063052155)(279101305709854);
x-microsoft-antispam-prvs: <AM4PR03MB17135A805E816B19823B01879D4C0@AM4PR03MB1713.eurprd03.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6055026)(6041248)(20161123560025)(20161123558100)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR03MB1713; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR03MB1713;
x-forefront-prvs: 04631F8F77
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(199003)(377454003)(189002)(54094003)(252514010)(43784003)(790700001)(8666007)(99286003)(230783001)(236005)(6116002)(105586002)(7696004)(106356001)(4326008)(229853002)(189998001)(54896002)(54906003)(102836003)(6506006)(55016002)(6306002)(7736002)(9686003)(66066001)(2900100001)(3660700001)(74316002)(2906002)(14454004)(3846002)(33656002)(25786009)(93886005)(5660300001)(6436002)(6916009)(2950100002)(478600001)(53546010)(101416001)(72206003)(53936002)(53946003)(86362001)(81156014)(81166006)(6246003)(8676002)(316002)(8936002)(50986999)(76176999)(3280700002)(68736007)(5250100002)(54356999)(97736004)(579004); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR03MB1713; H:AM4PR03MB1713.eurprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ecitele.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_AM4PR03MB1713FFFE09813389A864409F9D4C0AM4PR03MB1713eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ecitele.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2017 07:21:24.3794 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2c514a61-08de-4519-b4c0-921fef62c42a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR03MB1713
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/5wBiEG5xN_Qg1PeON6VRQw2EyZ0>
Subject: Re: [mpls] draft-ietf-mpls-spring-lsp-ping: resolution of issues raised in my RTG-DIR review
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Oct 2017 07:21:38 -0000

Nagendra,
Lots of thanks for a prompt response.

Please see more comments/clarifications inline below. Hopefully they will help.

Regards,
Sasha

Office: +972-39266302
Cell:      +972-549266302
Email:   Alexander.Vainshtein@ecitele.com

From: Nagendra Kumar Nainar (naikumar) [mailto:naikumar@cisco.com]
Sent: Tuesday, October 17, 2017 4:15 AM
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
Cc: rtg-ads@ietf.org; mpls@ietf.org; spring@ietf.org; Jonathan Hardwick (Jonathan.Hardwick@metaswitch.com) <Jonathan.Hardwick@metaswitch.com>; rtg-dir@ietf.org; draft-ietf-mpls-spring-lsp-ping.authors@ietf.org; BRUNGARD, DEBORAH A <db3546@att.com>
Subject: Re: draft-ietf-mpls-spring-lsp-ping: resolution of issues raised in my RTG-DIR review

Hi Sasha,

Thanks again for your comments and review. I believe, the below addresses the pending comments for good. Please see below for <Nagendra2>

Nagendra and all,
Apologies for a long delayed response. I was not checking my email for the last week or so.
Please see responses to your comments inline below.

Regards,
Sasha

Office: +972-39266302
Cell:      +972-549266302
Email:   Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com>

From: Nagendra Kumar Nainar (naikumar) [mailto:naikumar@cisco.com]
Sent: Monday, October 9, 2017 12:32 PM
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com>>; BRUNGARD, DEBORAH A <db3546@att.com<mailto:db3546@att.com>>
Cc: rtg-ads@ietf.org<mailto:rtg-ads@ietf.org>; mpls@ietf.org<mailto:mpls@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>; Jonathan Hardwick (Jonathan.Hardwick@metaswitch.com<mailto:Jonathan.Hardwick@metaswitch.com>) <Jonathan.Hardwick@metaswitch.com<mailto:Jonathan.Hardwick@metaswitch.com>>; rtg-dir@ietf.org<mailto:rtg-dir@ietf.org>; draft-ietf-mpls-spring-lsp-ping.authors@ietf.org<mailto:draft-ietf-mpls-spring-lsp-ping.authors@ietf.org>
Subject: Re: draft-ietf-mpls-spring-lsp-ping: resolution of issues raised in my RTG-DIR review

Hi Sasha,

Please see inline..

Deborah and all,

I have read the latest (-11) version of the draft in order to check to which extent my RTG-DIR review comments (that referred to the -06 version of the draft) have been addressed.

Here are the results of this check:

Major Issue #1 in the -06 version of the draft:
Section 7.4 “Segment ID Check” of the draft claims to update “the procedure defined in Step 6 of Section 4.4  of [RFC8029]”. However, I have failed to integrate the logic defined by the pseudocode in this section with the logic defined by the referenced pseudocode.
-          I have suspected that the newly introduced logic should be part of the Egress FEC Validation logic defined in Section 4.4.1 of RFC 8029.  This suspicion has been acknowledged by the authors, and they plan to fix the wrong reference in the next revision of the draft.
-          From my POV the best way to avoid possible misinterpretation by the implementers would be inclusion of the updated version of the pseudocode (with explicit marking of the new logic) directly in the document. I have suggested this to the authors, but I did not get their response so far.

Status in the -11 version of the draft:
The problematic text has been replaced with pseudocode that integrates the logic that has been defined in Section 4.4.1 of RFC 8029 with the new, SR-specific pseudocode. So, in a way, the original issue has been resolved. However, I have several issues with the current text:
-          From my POV, the pseudocode could be made much more readable if it were better structured. One possible way to do so could be defining how IGP extensions for SR can be treated as distributing if they distributed labels (including Implicit Null) for Node Segment IDs, and using the results in the original pseudocode of RFC 8029
<Nagendra> I couldn’t understand what you meant by “SR can be treated as distributing if they distributed labels”.  Can you clarify this?
[[Sasha]] Oops! I should have said “IGP extensions to SR can be treated as if they were distributing labels for IGP Prefix/Node and IGP adjacency SIDs”.

<Nagendra2> There are some architectural difference about how label is assigned/advertised by traditional MPLS label distribution protocol and SR. To accommodate such differences, the validation machinery for SR FEC is defined to be within a container (Step 4a). Based on your comments, I understand that there is nothing broken and IMHO, it is good to leave it this way.

-          The proposed pseudocode seems to lack the check of Label-L matching the Node Segment ID in the SRGB of the responder
<Nagendra>The Segment ID Sub-TLV defined in draft-ietf-mpls-spring-lsp-ping does not carry the SID value.
[[Sasha]] There is no need for that, each node in the SR domain can map each IGP prefix to its SID (index) and vice versa
Incorrect SRGB range or incorrect index will result in wrong segment/label to FEC mapping and this will be detected by the defined machinery. When a node is receiving LSP Ping packet with incoming label as L which is not within the SRGB, I can think of 2 possible scenarios:
                Scenario 1 – The incoming label is not in ILM. In this case, the node will reply with a return code of 11 (No label entry in ILM)
                Scenario 2 – The incoming label is not mapped to the right FEC. In this case, the FEC mapping will not be validated.

The same is applicable for label in DDMAP.
[[Sasha]] The pseudocode in Step 4 says:
      4.  If the label mapping for FEC is Implicit Null, set FEC-status to
           2 and proceed to step 4a.  Otherwise, if the label mapping for FEC
           is Label-L, proceed to step 4a.
But I do not see an explicit definition of the label mapping rules for the new sub-TLVs anywhere in the draft. Did I miss something?

<Nagendra2> In Section 7.1, we already covered about the Segment ID to Prefix mapping and Section 7.3 covers the definition of Implicit-null for Segment Routing. Hope that clarifies your comments.
[[Sasha]] Section 7.1 simply says that “Initiator MUST derive the Prefix mapped to the Prefix SID and use it in IGP-Prefix Segment ID”. I do not see how this this text helps the responder to check that “the label mapping for FEC <[Sasha] the SR Segment ID FEC> is Label-L” – labels are not mentioned at all in this section. And Section 7.3 explains that the SR mechanisms for requesting PHP are equivalent to  use of Implicit Null in other protocols, but then simply says that “It may simplify implementations to reuse Implicit Null for Node Segment ID PHP and Adjacency Segment ID cases” , i.e., implementations are not required to do that.  (The last point has been also noted by Antoni in his  RTG-DIR review). From my POV, these gaps are quite simple to fill, but they are present in the -011 version.

Please note also that one of the sub-steps in (4a) mentions checking that the Segment ID is advertised with PHP – but should not this check be part of checking whether the label mapping for FEC is Implicit NULL?

<Nagendra2> In RFC8029, any FEC validation is explicitly done in Step 4.4.1. Step 4 of Section 4.4.1 (of RFC8029) doesn’t do any additional check when label-mapping for FEC is Implicit-null. With Step 4a, we introduce the additional SR specific check. The sub-section is required to check if the P/NP flag is cleared while advertising.

-          It is not obvious how the proposed pseudocode treats previously defined FECs in the target FEC stack

<Nagendra> By defining the procedure in this draft as Step 4a, we execute Step 4a if FEC==SR and skip step 5. When FEC!=SR, we execute step 5. I think we discussed and clarified this already. Are you pointing to a different issue?
[[Sasha]] The modified pseudocode in Step 4 does not differentiate between “old” and SR-related FECs, it sends all FECs that match certain conditions to 4a. It is by only after checking all the conditions in Step 4a (which fail for “old” FECs”) that execution will reach Step 5. This is what I call “not obvious”.

<Nagendra2> None of the condition in step 4a will match for Old FEC. Please help clarify why would it fail for “old” FECs?. Below is the summarized version of step 4a.

If the Label-stack-depth is 0 and Target FEC Stack Sub-TLV at
         FEC-stack-depth is 34 (IPv4 IGP-Prefix Segment ID), {

IPv4 IGP Prefix-SID related Validation

         }

         Else if the Label-stack-depth is greater than 0 and Target FEC
         Stack Sub-TLV at FEC-stack-depth is 34 (IPv4 IGP-Prefix Segment
         ID), {

IPv4 IGP Prefix-SID related Validation

         }

         Else if the Label-stack-depth is 0 and Target FEC Sub-TLV at
         FEC-stack-depth is 35 (IPv6 IGP-Prefix Segment ID), {

IPv6 IGP Prefix SID validation

         }

         Else if the Label-stack-depth is greater than 0 and Target FEC
         Sub-TLV at FEC-stack-depth is 35 (IPv6 IGP-Prefix Segment ID),
         {

IPv6 IGP Prefix SID validation

         }

         Else if the Target FEC sub-TLV at FEC-stack-depth is 36 (IGP-
         Adjacency Segment ID), {

Adj-SID validation
          }

None of the If-else condition matches as they match on Target FEC Stack Sub-TLV. When a node receives LSP Ping with LDP FEC, it will not match any of the below if-else condition and so none of the machinery defined in step 4a will be executed. So eventually, it skips step 4a and goes to step 5
[[Sasha]] The summarized logic above misses “return” after each of the SR-specific validations, but otherwise is correct. My point was that, in the current non-summarized version, the implementer would have to track 3 pages of pseudocode to verify that “old” FECs will not be affected – to me this is not all that obvious.

-          Interface-I (the ingress interface of the received LSP Ping request) is only mentioned in the check of Adjacency SID. It is also not clear to me why the check expects its match with the Remote Interface ID in the Adjacency SID TLV.

<Nagendra> Adj-SID requires strict incoming interface check and so is the reason we are checking Interface-I for Adj-SID. Remote Interface ID in TLV is the interface identifier assigned by the downstream node for which the Adj-SID is assigned by upstream node. In example R1-R2, assume R1 assigns Ad-SID of A1 for R2. The “Remote Interface ID” field of Adj-SID FEC Sub-TLV will carry the interface ID assigned by R2 for interface connected to R1.
[[Sasha]] Does the node that has advertised an Adjacency-SID (and a label that was assigned to it) perform any specific checks? Or are these checks covered by the generic “label mapping for FEC is Label-L” check in Step 4?

<Nagendra2> Right, Assigning node does not perform any additional check. [[Sasha]] Can you please explain why? My guess is that this check would be covered by the “label mapping for FEC is Label-L”.   Is this correct?

In addition, I wonder if reception of an LSP Ping request packet that carries SR-Related target FEC stack entries from an interface on which no IGP is enabled would be detected by the machinery defined in the draft? For “old” FECs such a check would be done at Step 5 of the validation algorithm, but this step is bypassed for SR-related FECs.

<Nagendra2> Ok. We already have Interface-I check for Adj-SID. I included the below for Prefix SIDs:

<t>If it can be determined that no protocol associated with Interface-I would have advertised FEC-Type at FEC-stack-depth,
                                Set Best return code to 12, "Protocol not associated with interface at FEC stack-depth" and return.
[[Sasha]] Looks OK – but is this not the repetition of Step 5 in Section 4.4.1 of RFC 8029? Did you consider replacing “return” each of the SR-related FEC validations with “go to step 5”?

Once again, thanks for your review comments.

Thanks,
Nagendra

Regards,
Sasha

Office: +972-39266302
Cell:      +972-549266302
Email:   Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com>


___________________________________________________________________________

This e-mail message is intended for the recipient only and contains information which is
CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this
transmission in error, please inform us by e-mail, phone or fax, and then delete the original
and all copies thereof.
___________________________________________________________________________





___________________________________________________________________________

This e-mail message is intended for the recipient only and contains information which is
CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this
transmission in error, please inform us by e-mail, phone or fax, and then delete the original
and all copies thereof.
___________________________________________________________________________



___________________________________________________________________________

This e-mail message is intended for the recipient only and contains information which is 
CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this 
transmission in error, please inform us by e-mail, phone or fax, and then delete the original 
and all copies thereof.
___________________________________________________________________________