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

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Fri, 20 December 2019 17:36 UTC

Return-Path: <pcamaril@cisco.com>
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 D8388120875 for <spring@ietfa.amsl.com>; Fri, 20 Dec 2019 09:36:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, 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 header.b=kRWDQyPu; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=EEo5W7wi
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 gNEOdi8f0vZK for <spring@ietfa.amsl.com>; Fri, 20 Dec 2019 09:36:14 -0800 (PST)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C41BE12084D for <spring@ietf.org>; Fri, 20 Dec 2019 09:36:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=90369; q=dns/txt; s=iport; t=1576863373; x=1578072973; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=TFaWsqXoWWKKX05RFwfSjiPnWj9/GV5MH/6GRTnVrKI=; b=kRWDQyPuL34ZDBl9RMsDOkOH5ZAJJFs55zA54hHmNAOp1eJKz8MnWwX2 w3iRZeZJIZMNcGcLF6TZFe4hMq+wXypbiC5g8QL8CTq8asbS68kXJyIq+ KTGXEeAbRORtIPD1GaGhC5PNJ3GJZ+kvPiY12vQ4qhAknqoJpzWkAN2Ky o=;
IronPort-PHdr: =?us-ascii?q?9a23=3AWMazfhWVyjF0xEyiwNNzcoM8PR3V8LGuZFwc94?= =?us-ascii?q?YnhrRSc6+q45XlOgnF6O5wiEPSA9yJ8OpK3uzRta2oGXcN55qMqjgjSNRNTF?= =?us-ascii?q?dE7KdehAk8GIiAAEz/IuTtankiF81HXUVk+1mwMFNeH4D1YFiB6nA=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AbAQAWBv1d/5hdJa1iAxoBAQEBAQE?= =?us-ascii?q?BAQEDAQEBAREBAQECAgEBAQGBfIEeLyQsBWwOSiAECyoKg32DRgOKc4JfiV6?= =?us-ascii?q?OKoFCgRADVAkBAQEMAQEYAQUPAgEBg3tFAheCBSQ4EwIDDQEBBAEBAQIBBQR?= =?us-ascii?q?thTcMhV4BAQEBAwEBEAgJHQEBByULAQ0CAgEGAhEDAQEBFgsBAgQDAgICGQY?= =?us-ascii?q?GCxQJCAIEAQ0FIoMAAYF5TQMuAQ6QFpBkAoE4iGF1gTKCfgEBBYUaDQuCDAk?= =?us-ascii?q?FgTGMGRqBQT+BEAEnIIJMPoIbSQEBA4EbEgERAgEGHhEJAQUHCQkIgkkygiy?= =?us-ascii?q?NdmWBXYVXiWGOLTFDCoI0hzKFcoROhCYbgkSHe5AWjlGBRocMghyPZgIEAgQ?= =?us-ascii?q?FAg4BAQWBaSJncXAVOyoBgkEJRxgNjG4kDAUSFYM7hRSDGYImdAEBAS53kSo?= =?us-ascii?q?BgQ8BAQ?=
X-IronPort-AV: E=Sophos;i="5.69,336,1571702400"; d="scan'208,217";a="405808289"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Dec 2019 17:36:12 +0000
Received: from XCH-ALN-010.cisco.com (xch-aln-010.cisco.com [173.36.7.20]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id xBKHaCcc012811 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 20 Dec 2019 17:36:12 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-010.cisco.com (173.36.7.20) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Dec 2019 11:36:11 -0600
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Dec 2019 11:36:05 -0600
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 20 Dec 2019 11:36:05 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mc6OcKy7JQAKPPNKEK8xic5HW+4/zZ+lC+6wdHEnq4e9y2f6ZCFzo7qhffXvZSIQgmAyYHxTgMXkQHWHv3YO5aZIxut9kGyKoLEW+IgG1AAX041z1gnWgkl3MjsK+TQdpGKub4DmhsVgJgc0qphzEkW1y0YpZGqSGL2fn5iocybeufyafxIgq1hRsp1/2epMNA9jrjdLIK/G3xF39B+nvgPZ2Fso4Yhp45ar5wFNgFi70WfHUMywJ+Kna9mVq/071IuY6VOKdq8Gxi0F9xnzyOViHSh7HEiEhMMcMMWGvr1uHx/9kalY6C0lIPnJiRMaoix3J1p9+o0wRNNWEoWaGw==
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=TFaWsqXoWWKKX05RFwfSjiPnWj9/GV5MH/6GRTnVrKI=; b=ifBXliRZkQz+I4vBWAdDdj80d0P12G7urrirTEc4kJcqi42cUmpdDPz805WDB7pB+gW3aegnPt6+R3Y966dJDiUBvPUFiu6xy80qp1ixyN4Nz68qP8nUs+0MtugbDk7tMBahPe+w4smVsIvfHTeJ/vX786BdDtTeVwLPvoP4rvpHawOZ23BaA5qYk6PGBp8szC4eEtEp4S777vCGzpsWDbtPUbisMp/LBdwql9LXIwCnw7uC8mpZyG+qZpl4tgibdjiQ071Ndj31yNXULWdWNlwpJTytmghslb8S8cIFAaPHgYRrNDnT8q0+JLWzUddhw2NQv/kYIIRx+WXFoPcsSg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TFaWsqXoWWKKX05RFwfSjiPnWj9/GV5MH/6GRTnVrKI=; b=EEo5W7wio08YL8YhfQWJddjTzLoYnzbOi9iumEqRa0U4M1ne7CMKM0PLBBNS61xkU3gDWSqPCsvEhwE6A3d4vTHZpI8v+06tg50pJ4f/sjUt1p/gSHSvWi8aM7OO7srV5wYpN81RwTDDfTRmeQCqMINVQ+rKlT0KlwKuxC2XRzc=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (10.169.234.8) by MWHPR11MB1646.namprd11.prod.outlook.com (10.172.54.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.19; Fri, 20 Dec 2019 17:36:03 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d%11]) with mapi id 15.20.2559.016; Fri, 20 Dec 2019 17:36:03 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: "weibin.wang@nokia-sbell.com" <weibin.wang@nokia-sbell.com>, "hayabusagsm@gmail.com" <hayabusagsm@gmail.com>, "rbonica@juniper.net" <rbonica@juniper.net>
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: AQHVtolr+cZQ6NfVLEO5Ur16kgACR6fDWjcA
Date: Fri, 20 Dec 2019 17:31:09 +0000
Message-ID: <C3D7A3D0-15C4-4B99-A168-C0D41BA57B96@cisco.com>
References: <2CFF8BC8-7B75-476D-8EF1-3F35652D995A@cisco.com> <BN7PR05MB56990E24B6226A6B020F3E2CAE520@BN7PR05MB5699.namprd05.prod.outlook.com>
In-Reply-To: <BN7PR05MB56990E24B6226A6B020F3E2CAE520@BN7PR05MB5699.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.20.0.191208
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [173.38.220.35]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: da8d0dc5-8017-45e2-180b-08d7857315fa
x-ms-traffictypediagnostic: MWHPR11MB1646:
x-microsoft-antispam-prvs: <MWHPR11MB16469DB19930054DAD77A305C92D0@MWHPR11MB1646.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-forefront-prvs: 025796F161
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39860400002)(136003)(396003)(366004)(199004)(189003)(81156014)(186003)(316002)(76116006)(26005)(6486002)(66446008)(66556008)(66476007)(2906002)(64756008)(66946007)(86362001)(33656002)(966005)(5660300002)(6506007)(53546011)(91956017)(8676002)(478600001)(8936002)(2616005)(6512007)(54906003)(81166006)(4326008)(110136005)(36756003)(71200400001)(45080400002)(12620500001)(559001)(579004); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1646; H:MWHPR11MB1374.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: M38KH1o8SGw4JIpPA9BvvV+Jm2X18avsNLKkWtf9KSulGXEipbld1ZmCwQn+2k+vgZVjsZkGx9F9cVR9ryMvpHQ77d15xUFaqrpLp3tYPz0+2gHhW0UbeL0wIMJT3Pagw0pN8TJAF+KZ4cnmpEJWMuNMEhOOP1tHI54EhTFlHnExkCdnMLINtdMdZgxa8EFPgv2GUptgVc5nmjvkowyVKaDNjx78HnURMoR72xV9mW7OoSmlbAHaac3xHgJeUCa1hAWvs+E5CnUPHBYIFONw7gjRDCZrWbDY+fq5NqYSvqntUzDpsQ8bYBAw+hZ9fkB7+c2Vg9YkpFLGIQlkZ6f0k2lK5mjSXZa6gBhk/d0QOXrkV+chz/TFqcet2DLEfWDQWEVUDkhzh5feK9oQsBUfBW367ljbxqayqjeVSn7rotdC1CTM7Mc/v9+5scu7cosGaphpehyiS16lKy9JJUr1jXXBxbmpURneDIZfrMTrURE0i+VLeSoAw32aG+t5Lb5JhZvlnAOhsGVRH8W6dCFm5TBxkkcpG747T6+SSnodf1c=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_C3D7A3D015C44B99A168C0D41BA57B96ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: da8d0dc5-8017-45e2-180b-08d7857315fa
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2019 17:36:03.1859 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: xii9y+vFb8q6WVkYr0ckBjGlIs4dwVfp6deZcBqbxf8L6mLbgRVlDIfvR+oErODcMvxzDJVLY4DrJQzJVNWZhw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1646
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.20, xch-aln-010.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/fEsji-X_O3SD0KAXVHUblVHud0A>
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: Fri, 20 Dec 2019 17:36:17 -0000

Ron, Gyan,

Sections 4.4 to 4.8 of draft-ietf-spring-srv6-network-programming define the local dataplane processing on the egress PE.

As far as L3VPN signaling is concerned [draft-ietf-bess-srv6-services], the egress PE signals opaque behavior for the SID, so it is transparent to the control plane. Whether the egress PE is doing End.DX or End.DT is transparent to the ingress PE.

Happy holidays,
Pablo.

From: Ron Bonica <rbonica@juniper.net>;
Date: Thursday, 19 December 2019 at 17:29
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>;
Subject: RE: [spring] End.DT/End.DX SIDs (was Re: USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt)

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$>