Re: [spring] End.DT/End.DX SIDs (was Re: USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt)

Ron Bonica <rbonica@juniper.net> Thu, 19 December 2019 16:28 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5546E1200A4 for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 08:28:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=QTvMDwbe; dkim=pass (1024-bit key) header.d=juniper.net header.b=kaBxnqYI
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 7s4I3qYFcdjp for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 08:28:25 -0800 (PST)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 81A0A1200F1 for <spring@ietf.org>; Thu, 19 Dec 2019 08:28:25 -0800 (PST)
Received: from pps.filterd (m0108156.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xBJGHs4Z017017; Thu, 19 Dec 2019 08:28:16 -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=7eh4XACGg8qxUJTSgbD9/8KGHG/jt3MJXVyFbMh2uvM=; b=QTvMDwbe1fmRf8V7USySiRFS6pEmOyxK+cmD81WpT+0wqZiLFHQH82rZxMME+PHuyGn2 Kx4d9HTc0bqfAxwibKYD4BzMhsvvsjpoiflru24n+f7xsceglUSVTem7yaADQZ575HoG mJ6yV5QRFmizjkkFVVWex55Lyy3nP1/WKzcac6//UrSczPgW9g3+obFHU2WfU6lwVcf9 UwQMtGSmTZtbvyNRkrBIDxe4s9TCswqhF95iCCMHwYbc9SMc5dix4iLIB4+XapWAYq+Q NfLALrdN/bevTa61cb6azLQXcFW6jrXftCQdRLiht07Uo/5aWB/Jw/QSGUiwl09iTZQQ PQ==
Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2100.outbound.protection.outlook.com [104.47.55.100]) by mx0a-00273201.pphosted.com with ESMTP id 2x05860rfd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Dec 2019 08:28:15 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dSy1huST76gOAz7yTIIHwNfh+GlRYA7dFmGGyoijV/enh0jngXvGafLVMDcMx3RSKhQICtkdR6x1dIekKE0HEN5yZ1zAW+48VWw3ibh7QQDuzxvPhuaaFNLCFsaqo75PLiw66etkl0C0/T6jrp8kPKL++GFXvzG+vPFC3ZbcxfUvTugV7Mp+Eim6WIt7Q49zvh7IQo3chTHdN4bv3xJfmklr04pQsjGKKSRqaN+IDW8hApMR3vEOGCZfRLUglIsc8Mo42xVt+aHUUxRUMUrtjJXJR6p0h5xJeMoSzhLXd9tpwubU4Nz1L7STVlWrw9xKeNKxCL3WgMOuU2srzpqpcw==
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-SenderADCheck; bh=7eh4XACGg8qxUJTSgbD9/8KGHG/jt3MJXVyFbMh2uvM=; b=TgnSBvou9V9nfeW1aRwG4tksTK3hNixE/oOgYwjS8+iy5RulHcYW4A3C39e6aZbKQLOkJq2w9MuymkoXx/LF4l9xtckRi39FRg6sVdONaWpynfeCpaqVwH5uNzViBCnS6QkTdYOn1GKm/FXkOixIe+o4egM3lz5231aL9QRuz0wf02e+XwzGPcIxByuBkWKNx1AolDOucsZYZln0M9QVC8eW7NJoETk09Vkaq/ceRcCBOGkQJa2sMckT8mhIaERYB+W58CZeRdPrvuT7Tr1p57za8ma7rBfP8CLvh8o3sPxTHX+KyfZA2a3Bx9i0Pex3V4Hm5o2upa8i1R9/R+t/5A==
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=7eh4XACGg8qxUJTSgbD9/8KGHG/jt3MJXVyFbMh2uvM=; b=kaBxnqYIfoW3oasG437v4dgQVek8tPV6qsd4/jvcuFaiiM+Gr2o3PrtZZp5JRoLmTuXILGTG/MNI2fnpf7TWndJ9UlplyuGNOBNLrrCPg7aPtzpzQPyjWC2znqXAzQTfkhskDjeAyKSWcO+dA0XuI+QG8fYS2vJTCc6Dzo5QhNg=
Received: from BN7PR05MB5699.namprd05.prod.outlook.com (20.176.28.88) by BN7PR05MB4562.namprd05.prod.outlook.com (52.135.249.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.6; Thu, 19 Dec 2019 16:28:07 +0000
Received: from BN7PR05MB5699.namprd05.prod.outlook.com ([fe80::9461:cfa8:fab9:736c]) by BN7PR05MB5699.namprd05.prod.outlook.com ([fe80::9461:cfa8:fab9:736c%7]) with mapi id 15.20.2559.012; Thu, 19 Dec 2019 16:28:07 +0000
From: Ron Bonica <rbonica@juniper.net>
To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, "Wang, Weibin (NSB - CN/Shanghai)" <weibin.wang@nokia-sbell.com>, Gyan Mishra <hayabusagsm@gmail.com>
CC: "spring@ietf.org" <spring@ietf.org>, "Voyer, Daniel" <daniel.voyer@bell.ca>
Thread-Topic: [spring] End.DT/End.DX SIDs (was Re: USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt)
Thread-Index: AQHVs+tVPzWA1dTv/0KZ2qLYKbrk1qfBqisA
Content-Class:
Date: Thu, 19 Dec 2019 16:28:06 +0000
Message-ID: <BN7PR05MB56990E24B6226A6B020F3E2CAE520@BN7PR05MB5699.namprd05.prod.outlook.com>
References: <2CFF8BC8-7B75-476D-8EF1-3F35652D995A@cisco.com>
In-Reply-To: <2CFF8BC8-7B75-476D-8EF1-3F35652D995A@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Owner=rbonica@juniper.net; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2019-12-19T16:28:05.1036431Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Business Use Only; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=49c97a40-85c6-439a-9d84-00c3e0135a61; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic
dlp-product: dlpe-windows
dlp-version: 11.3.2.8
dlp-reaction: no-action
x-originating-ip: [66.129.242.13]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: e2bba84c-5e2d-4912-376f-08d784a06df5
x-ms-traffictypediagnostic: BN7PR05MB4562:
x-microsoft-antispam-prvs: <BN7PR05MB45623265E839A22607C680C4AE520@BN7PR05MB4562.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-forefront-prvs: 0256C18696
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(346002)(39860400002)(376002)(136003)(189003)(199004)(5660300002)(966005)(478600001)(186003)(8936002)(316002)(2906002)(7696005)(110136005)(26005)(45080400002)(53546011)(81166006)(81156014)(6506007)(8676002)(64756008)(55016002)(71200400001)(76116006)(66556008)(66476007)(66946007)(54906003)(33656002)(66446008)(9686003)(4326008)(52536014)(86362001)(12620500001)(579004); DIR:OUT; SFP:1102; SCL:1; SRVR:BN7PR05MB4562; H:BN7PR05MB5699.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: v3kjcnAeJdiCJJTnJZn0t9Yi1RFWohQhVfl/K6jDzfrweIHSHuHYnYRvcuHrtgVUaV3Iv3jKsMTy7wSmWBDXFvEw1cb7w9J9crNdrBSJmqiiUhRzuegC9s2N1tYho31vh3sCrWyzMPAflVXnf4A/crub/JBDgxjkOgpyey1LczY8k3CAHVaMCWJN+97Dm9TVuJGVPKaD9w9RE2CzQH4ljeBLFzRnvhX6xHO11uHufIobiHVJGxbIc9bRm5fxdRKaW7igxqVKsjgIsPPcyuz+DA1zjrCfu7ZBEiFztvZiXSId2NvDLmdrSjlr1dxQ9kGYCE7QWS8PMqF7ZXL6E4WRlQ11BFo4fnl9pvHHXqRRJFv4EU0lQ09jdTlSNT3xGoTgHRf0Cf5T7Lgo1IZt8a2NI14wq9Ggx7Y/BwJcr5jzKDoa1bPadEiLNuRP2gEJf3aFGsLH1UPkDfG7VFOVEnq+jhyEfleKmooW11cBrNfv25prCagRPi+l7agMP+FbMZ0b1w4rMykV3umFHGN1qX3uWb9Zkz/1/LEmedIQy7A4LEY=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BN7PR05MB56990E24B6226A6B020F3E2CAE520BN7PR05MB5699namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: e2bba84c-5e2d-4912-376f-08d784a06df5
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 16:28:06.8666 (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: 9suh46F0aVDcCHhsokeoH55xXC5p6fQ3cbdu+wXS9bgAFtw6VC69rzDc/cmgaU1cj+Xl3PGWkwQmS+z8QmSpow==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB4562
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-19_04:2019-12-17,2019-12-19 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 spamscore=0 impostorscore=0 mlxscore=0 mlxlogscore=999 priorityscore=1501 malwarescore=0 bulkscore=0 adultscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912190135
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/9SHc6g4ZpBet2iW6VG66WrxfZhY>
Subject: Re: [spring] End.DT/End.DX SIDs (was Re: USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt)
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Dec 2019 16:28:28 -0000

Pablo,

In L3VPN, all of these are combined into a single 20-bit MPLS label. Why can SRv6 not do likewise?

                                             Ron



Juniper Business Use Only
From: spring <spring-bounces@ietf.org> On Behalf Of Pablo Camarillo (pcamaril)
Sent: Thursday, December 19, 2019 6:47 AM
To: Wang, Weibin (NSB - CN/Shanghai) <weibin.wang@nokia-sbell.com>; Gyan Mishra <hayabusagsm@gmail.com>
Cc: spring@ietf.org; Voyer, Daniel <daniel.voyer@bell.ca>
Subject: [spring] End.DT/End.DX SIDs (was Re: USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt)

Gyan,

The End.DX4/End.DX6 can be seen as an equivalent to the MPLS per-CE VPN label.
The End.DT4/End.DT6 can be seen as an equivalent to the MPLS per-VRF VPN label.

I believe that they cannot be combined.

Cheers,
Pablo.

From: Gyan Mishra <hayabusagsm@gmail.com<mailto:hayabusagsm@gmail.com>>
Date: Sunday, 15 December 2019 at 08:29
To: "Wang, Weibin (NSB - CN/Shanghai)" <weibin.wang@nokia-sbell.com<mailto:weibin.wang@nokia-sbell.com>>
Cc: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com<mailto:pcamaril@cisco.com>>, "Voyer, Daniel" <daniel.voyer@bell.ca<mailto:daniel.voyer@bell.ca>>, "spring@ietf.org<mailto:spring@ietf.org>" <spring@ietf.org<mailto:spring@ietf.org>>
Subject: Re: [spring] USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt


Hi Wang & Pablo & Spring Authors,

Had another question?

These 4 sections.  Trying to understand the difference between end.dx4 end.dx6 and end.dt4 and end.dt6.  They both seem very similar.  One says xconnect but other has v4 v6 lookup but for both you have to signal  L3 vpn services sid.  Not sure why both SIDs dx dt Sid function why they cannot be combined.

I noticed this difference below that the dx4 dt4 account for the global table scenario where the PE-CE is native IPv4 or IPv6.  In the MPLS world that use case is very different in that there is not any L3 vpn label and do the label stack only had a single topmost label.  Also in the MPLS scenario with IPv6 global table PE-CE with a IPv4 core you require BGP -LU labeled unicast "send label" to label all the IPv6 prefixed tunneled over IPv4.   Since that scenario is very different with global table does it make sense to have a separate End.x variant for global table for both IPv4 and IPv6.


   Note that an End.DT6 may be defined for the main IPv6 table in which

   case and End.DT6 supports the equivalent of an IPv6inIPv6

   decapsulation (without VPN/tenant implication).



     4.4<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*section-4.4__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JAaJnI7_$>.  End.DX6: Decapsulation and IPv6 cross-connect . . . . . .  12<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*page-12__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JH8Abwf7$>

     4.5<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*section-4.5__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JEh8sRB2$>.  End.DX4: Decapsulation and IPv4 cross-connect . . . . . .  13<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*page-13__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JHAg09NC$>

     4.6<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*section-4.6__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JHVgWtPg$>.  End.DT6: Decapsulation and specific IPv6 table lookup . .  14<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*page-14__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JA89XfKV$>

     4.7<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*section-4.7__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JF59SaCO$>.  End.DT4: Decapsulation and specific IPv4 table lookup . .  15<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*page-15__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JICjeckL$>



Also I was trying to understand end.dt46.



So if the PE-CE edge is dual stacked anhas both v4 and v6 you have a VRF tenant v4 and v6 separate peers signaled via L3 vpn services TLV.  So why do you need this end.dt46 sid



4.8<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*section-4.8__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JMbbI6-v$>.  End.DT46: Decapsulation and specific IP table lookup  . .  16<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*page-16__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JMihsn8k$>





Kind Regards,



Gyan


On Sun, Dec 15, 2019 at 2:06 AM Gyan Mishra <hayabusagsm@gmail.com<mailto:hayabusagsm@gmail.com>> wrote:
Hi Wang

I have a question regarding the PSP, USP and USD sections I pasted below.

I just sent an email to Spring WG related to PSP and technically why that is necessary as that is a legacy concept that has parity to MPLS but is not used today due to QOS issues.  Please see that email related to that topic.


In the PSP section can If we have to keep PSP can we add verbiage that states that PSP removal of the SRH header occurs on the Penultimate egress P node.

In the USP section can we also add that all remaining SRH present in the packet are popped on the egress PE ultimate node.

In looking at these 3 SID functions the PSP and USP pop the EH and the USP removes the 6in6 encapsulation so that the other end.x dt4 dt6 etc can pop the services L3vpn headers.

Why can't the USD 6in6 encapsulation removal be done on with the USP SID?

Why does the USP and USD SID have to be separate?

4.16.1<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*section-4.16.1__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JNXuPqZh$>.  PSP: Penultimate Segment Pop of the SRH





   The SRH processing of the End, End.X and End.T behaviors are

   modified: after the instruction "S14.  Update IPv6 DA with Segment

   List[Segments Left]" is executed, the following instructions must be

   executed as well:



   S14.1.   If (updated SL == 0) {

   S14.2.      Pop the SRH

   S14.3.   }



4.16.2<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*section-4.16.2__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JLGcpaqu$>.  USP: Ultimate Segment Pop of the SRH





   The SRH processing of the End, End.X and End.T behaviors are

   modified: the instructions S02-S04 are substituted by the following

   ones:



   S02.   If (Segments Left == 0) {

   S03.       Pop the SRH

   S04.   }



4.16.3<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05*section-4.16.3__;Iw!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JKFZ-dKZ$>.  USD: Ultimate Segment Decapsulation





   The SRH processing of the End, End.X and End.T behaviors are

   modified: the instructions S02-S04 are substituted by the following

   ones:



   S02.   If (Segments Left == 0) {

   S03.      Skip the SRH processing and proceed to the next header

   S04.   }





   Further on, the Upper-layer header processing of the End, End.X and

   End.T behaviors are modified as follows:





Kind regards,



Gyan

On Sat, Dec 14, 2019 at 9:08 PM Wang, Weibin (NSB - CN/Shanghai) <weibin.wang@nokia-sbell.com<mailto:weibin.wang@nokia-sbell.com>> wrote:
Hi Pablo:

After the 2 context assumption in previous version of this draft,  "we assume that there is no other extension header than the SRH."  and  "We assume
   that the SRH may be present multiple times inside each packet", are removed in this last draft, I feel a bit confusion on USD SID, as well as combination of USD & USP.

First, within the content of this last draft, the word "Further on" marked red in the following pseudocode in section "4.16.3" is hard to understand if the packet being processed has other EH embed between SRH and Upper-layer header, such as AH or other EH, then the processing control of this packet will be passed to normal IPv6 module from current SRH processing module in SR-Node, so my question is : Can its control after completing AH processing (for example)  be back to SRH module (or call it pseudocode module) to proceed the next header like "upper-lay header type ==41 or 4".
Or, if not, Did you created a new EH processing protocol stack instance in parallel to normal IPv6 module within the scope of SRH processing in SR-node.

4.16.3.  USD: Ultimate Segment Decapsulation

S02.   If (Segments Left == 0) {
   S03.      Skip the SRH processing and proceed to the next header
   S04.   }

Further on, the Upper-layer header processing of the End, End.X and
   End.T behaviors are modified as follows:

   End:
   S01. If (Upper-layer Header type == 41 || 4) {
   S02.    Remove the outer IPv6 Header with all its extension headers
   S03.    Submit the packet to the egress IP FIB lookup and
              transmission to the new destination
   S04. } Else {
   S05.    Send an ICMP Parameter Problem message to the Source Address
              Code 4 (SR Upper-layer Header Error),
              Pointer set to the offset of the upper-layer header.
              Interrupt packet processing and discard the packet.

   S06. }

>From my understanding, the all processing action about specific SID must be completed successively. That is to say, upon USD, the upper-layer header (type 41 or 4) must be followed the SRH header being processed currently, or second SRH following the same rule (of course, the draft not considering 2 or more successive SRHs).

Second, the mixed SIDs function with combination of USD and USP (even PSP&USD&USP), I think, it is easy to understand when the two assumption above exist, but now I think it isn't clear if you only provide the following sentence in this draft, i.e.  "if ... else..." statement:
"An implementation that supports the USD flavor in conjunction with
   the USP flavor MAY optimize the packet processing by first looking
   whether the conditions for the USD flavor are met, in which case it
   can proceed with USD processing else do USP processing."
This confusion is also described in my another mail. Of course, if the first question is addressed then this confusion does not exist.

By the way, is it really no different in text description before and after the two context assumption above removed?


Cheers !

WANG Weibin
_______________________________________________
spring mailing list
spring@ietf.org<mailto:spring@ietf.org>
https://www.ietf.org/mailman/listinfo/spring<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JI97MuU_$>
--
Gyan S. Mishra
IT Network Engineering & Technology
Verizon Communications Inc. (VZ)
13101 Columbia Pike FDC1 3rd Floor
Silver Spring, MD 20904
United States
Phone: 301 502-1347
Email: gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com>
www.linkedin.com/in/networking-technologies-consultant<https://urldefense.com/v3/__http:/www.linkedin.com/in/networking-technologies-consultant__;!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JI36IPfx$>

--
Gyan S. Mishra
IT Network Engineering & Technology
Verizon Communications Inc. (VZ)
13101 Columbia Pike FDC1 3rd Floor
Silver Spring, MD 20904
United States
Phone: 301 502-1347
Email: gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com>
www.linkedin.com/in/networking-technologies-consultant<https://urldefense.com/v3/__http:/www.linkedin.com/in/networking-technologies-consultant__;!!NEt6yMaO-gk!QzHlcRglDrowIq4p7kbUU8tNwsbwrneoRiLDYAClyLIXp1ZLWOSxDhU6JI36IPfx$>