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:24 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 B080A1332E1; Tue, 17 Oct 2017 00:24:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.89
X-Spam-Level:
X-Spam-Status: No, score=-6.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 7gEer3DXTpug; Tue, 17 Oct 2017 00:23:57 -0700 (PDT)
Received: from mail1.bemta6.messagelabs.com (mail1.bemta6.messagelabs.com [193.109.254.112]) (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 66C121332D5; Tue, 17 Oct 2017 00:23:56 -0700 (PDT)
Received: from [193.109.255.99] by server-8.bemta-6.messagelabs.com id 0A/33-13910-B00B5E95; Tue, 17 Oct 2017 07:23:55 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphl+JIrShJLcpLzFFi42Ix0fyhosu54Wm kwayP5haXu7rZLW7N2MRu0dOrbXFr6UpWi9cTp7JZrDl5gtni5JwfzBYL1jxltzh+4TejA6fH y/45jB5Tfm9k9Viy5CeTx/Wmq+weR2/OZQ5gjWLNzEvKr0hgzdj9ZCZrwcU+loqFE00bGG+0s 3QxcnGwCLQxSyw928gI4ggJTGCSaOz9yAzhPGCUmNW5iqmLkZODTcBWYtPqu2wgtoiAtcTWtm 5WkCJmgdXMEn/+nWAFSQgLxEtcm9LFClGUILHp4jpGCNtPYmrfH3YQm0VAVWLZ75VgNbwCMRK dr36yQWybzCSxYN4isAZGATGJ76fWgG1mFhCXuPVkPpgtISAgsWTPeWYIW1Ti5eN/rBD1SRL3 ny5khIgrSayYehOqXlbi0vxusN8kBGaxS+ye8pENIqEnsXXiW6gGX4n/79uBbA4gW1liy4tYi PrVjBIHJs9lgajRkri++RjU0BqJe6fPQNnZEnd3/ICaeYVVonGTD4QtI7Hg+2t2CHsam8TGZ7 kgtpBAssSJOZ9ZIKElJXH3SifjBEbNWUj+hLDzJGb/eMM2CxxIghInZz5hmQV0HrOApsT6Xfo QJYoSU7ofskPYGhKtc+ayI4svYGRfxahRnFpUllqka2Ssl1SUmZ5RkpuYmaNraGCml5taXJyY npqTmFSsl5yfu4kRmP4YgGAH45/5gYcYJTmYlER5nQ2fRArxJeWnVGYkFmfEF5XmpBYfYpTh4 FCS4G1c9zRSSLAoNT21Ii0zB5iIYdISHDxKIrz864HSvMUFibnFmekQqVOM9hwbbt79w8SxD0 yuuQUin1yb95dJiCUvPy9VSpy3H2SqAEhbRmke3FBY5rjEKCslzMsIdKYQT0FqUW5mCar8K0Z xDkYlYd6pIFN4MvNK4Ha/AjqLCeisdU5PQM4qSURISTUw1gWHzVgoyGW2weWoyGnfVZtMpj7/ YPjr5xrZo4tWv2h+OyVPPXlm+Fd1ZcPWj44/N6914+TKf9a46ILTLn/7K/nn/G2unYhvX/1cZ 4Z3Scb99uLEBd3vZ/8y6H459fd6j4gTW9o8F+355qF+MUE6Yv7yZlk3xtQTtncetq051dtS/0 zqj/AsAyWW4oxEQy3mouJEAHxjL90XBAAA
X-Env-Sender: Alexander.Vainshtein@ecitele.com
X-Msg-Ref: server-7.tower-48.messagelabs.com!1508225030!126337849!1
X-Originating-IP: [52.41.248.36]
X-StarScan-Received:
X-StarScan-Version: 9.4.45; banners=ecitele.com,-,-
X-VirusChecked: Checked
Received: (qmail 27348 invoked from network); 17 Oct 2017 07:23:52 -0000
Received: from ec2-52-41-248-36.us-west-2.compute.amazonaws.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (52.41.248.36) by server-7.tower-48.messagelabs.com with AES256-SHA256 encrypted SMTP; 17 Oct 2017 07:23:52 -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=fQIR6qQ59YyD5SSm1IP4tXTn/1OVKLk2clJefA3fL1k=; b=IpKzkq7uN2IlPQzv6HImx0Jo17lbHiWRLAkw5fvS3IYie/OZ8t31JG0gTvkz5KquSNKKy0E3AL4NcTTw69sFF/se1ZchCeYdFB/YrETUOfDq1Q49G6sw0pWkQoxWKvZmQCQsP2eVYNtQ8zLFCJ97OkJoXGGa73hIi3kXl8iWH3E=
Received: from AM4PR03MB1713.eurprd03.prod.outlook.com (10.167.88.15) by AM4PR03MB1716.eurprd03.prod.outlook.com (10.167.88.18) 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:23:48 +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:23:48 +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/JaaAASd6g7AAWX4xgAAJvYPQAAD5bBA=
Date: Tue, 17 Oct 2017 07:23:48 +0000
Message-ID: <AM4PR03MB171370A755C9FBBA3273908B9D4C0@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>
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; AM4PR03MB1716; 6:p/gpZMnFQFeX+hBxMPxNVAgz2y1aZEAgbHUGmUGpwy1kY5y90Ff4TR8j8k3pbLywlmSHQY/Vz0At93/9Pw/9MLajaqXT/7CjK5hnkctTzM5Oe+B5FkaRMbuidBlWNF2g1Z3g/uWJEU5Pp+8KUcBh+5FFg5a8VmUqmc3e4wNNgxVG0tfjzw6dY2vd0lU7p0YVGzXiJgpHzf9/Q2xCldtA/ZdIo6IeXmSQmH1rI8yVT3NerANuUVDkXuceYXy97jnYn5WUI9nSUI/WKJvJjWtwiNpknfi/Skce029u5+cQjk+v/4DX9WgqfDfOlmvM4kTuhVVyt9PVSnWN4QGz0upQRA==; 5:BikkFCF5d/Se9hyvHGB65FbrlQ0rMCfYeAbMB4RCcSu8dd6DXI14kzy7QY4WRb1f0lbLcW+0NnXxPI4QITM3y311KFAGjb9RGZGx5K2Jqe5ntQLhkjI5EmuPOBLofg5t6i/FX5Y+cNbsNzYSobpPHU1hqRY4e8J/GPQ85J824NI=; 24:UC2E+L6ZmznQcCS5yKi8uk3iEYvTTpqXXTpysVg2dFm7ucfg5jRqsTq7pe6clVLzop6B2DikE0jAoAPvvXphst+aSY/y8g1GkYqXV0cTY5g=; 7:76NPLp8Kk+hx3QoSjBO90DqE3uM9WUlPiVq9WtJucK47evpzx8CK7cYBw+14k/dQ7Xpb4HP0vkwJf9OStjGwuzW6cCLiEcbQMHyaSyn62v2ov0TUWgeZiZ1L2wD3DJVFYuie6ubpNzV/3kD+klxxVyimvkLcNnr+/di6IQMyguUXfHjHep5GLOyn5FconhwBbOW+8xNK915MNXTegQDpPHvdT3ZkWqHCgQdmTsUieeY=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 43e5cd92-2223-413c-479b-08d51530023c
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:AM4PR03MB1716;
x-ms-traffictypediagnostic: AM4PR03MB1716:
x-exchange-antispam-report-test: UriScan:(138986009662008)(97927398514766)(95692535739014)(21748063052155)(279101305709854);
x-microsoft-antispam-prvs: <AM4PR03MB17161C061ACFE9085427A49F9D4C0@AM4PR03MB1716.eurprd03.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123558100)(20161123555025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR03MB1716; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR03MB1716;
x-forefront-prvs: 04631F8F77
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(377454003)(54094003)(43784003)(199003)(189002)(252514010)(53946003)(6306002)(8666007)(97736004)(105586002)(8936002)(55016002)(106356001)(99286003)(54896002)(189998001)(6436002)(54906003)(4326008)(230783001)(6116002)(790700001)(102836003)(53936002)(478600001)(2900100001)(6916009)(9686003)(236005)(229853002)(25786009)(7736002)(72206003)(93886005)(53546010)(7696004)(3280700002)(3660700001)(6506006)(101416001)(86362001)(2906002)(81166006)(81156014)(5250100002)(316002)(54356999)(6246003)(50986999)(74316002)(33656002)(66066001)(76176999)(3846002)(5660300001)(14454004)(68736007)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR03MB1716; 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_AM4PR03MB171370A755C9FBBA3273908B9D4C0AM4PR03MB1713eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ecitele.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2017 07:23:48.2286 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2c514a61-08de-4519-b4c0-921fef62c42a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR03MB1716
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/du4EaOCzM_N6dl-WxLQKICAH6gk>
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:24:02 -0000

Nagendra and all,
I have sent my comments before noticing the -12 version of the draft.

I apologize for a premature response. I will read the new version and send updated comments ASAP.

Regards,
Sasha

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

From: Alexander Vainshtein
Sent: Tuesday, October 17, 2017 10:21 AM
To: 'Nagendra Kumar Nainar (naikumar)' <naikumar@cisco.com>
Cc: rtg-ads@ietf.org; mpls@ietf.org; spring@ietf.org; Jonathan Hardwick (Jonathan.Hardwick@metaswitch.com) <Jonathan.Hardwick@metaswitch.com>om>; rtg-dir@ietf.org; draft-ietf-mpls-spring-lsp-ping.authors@ietf.org; BRUNGARD, DEBORAH A <db3546@att.com>om>; Antoni Przygienda <prz@juniper.net>
Subject: RE: draft-ietf-mpls-spring-lsp-ping: resolution of issues raised in my RTG-DIR review

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<mailto: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<mailto:Alexander.Vainshtein@ecitele.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>; BRUNGARD, DEBORAH A <db3546@att.com<mailto: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.
___________________________________________________________________________