Re: [spring] USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Thu, 19 December 2019 11:48 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 949C61200FD for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 03:48:20 -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=lcWtvpD1; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=WzwJqhv5
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 d8nZKLP8CpXQ for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 03:48:18 -0800 (PST)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4FA8F1200F7 for <spring@ietf.org>; Thu, 19 Dec 2019 03:48:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=38255; q=dns/txt; s=iport; t=1576756098; x=1577965698; h=from:to:subject:date:message-id:mime-version; bh=h/KoUpbpJmNwkAxwLEj9hVyh98s0hvDoD9eBEs/Myfs=; b=lcWtvpD1lHXpavq8GxCvkWy9PpkEPhAFsn/zAy487FsJ7W/Y6ZRomFiB RlkL+Tc6aaU9vhbpNKn5FV2K/tqN6kiP/rgtmjU0MKTC+E3JhcI6g35mS 5ULsWVqLGqJ3BfTIvbpbUOjaHOdViMatX/6AJW5eKmh7opLik/zTqiwib s=;
IronPort-PHdr: 9a23:1NP/ZBfGNh190wbSua+Ech4slGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwGQD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/dyczGc1YVVtN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AWBABeYvtd/4MNJK1kGwEBAQEBAQEFAQEBEQEBAwMBAQGBfIEeLyknBWxYIAQLKoQGg0YDinNOghGYB4FCgRADVAkBAQEMAQElCAIBAYRAAheCBCQ4EwIDDQEBBAEBAQIBBQRthTcMhV4BAQIDEhEdAQE4EQEGAhEDAQEBIQEGAwIEMBQJCgQBEiKDAAGBeU0DLgEOA5BjkGQCgTiIYXWBMoJ+AQEFgTUBg2wYggwDBoE2jBkagUE/gREBJiCCTD6CZAKBMAERAgEGOA0JgloygiyNQoJ1hVaJYI4sdAqCNYcxhTiJKxuaUY5OiFKRfwIEAgQFAg4BAQWBaSJncXAVZQGCQVAYDY0SDBcVbwECgkmFFIMZgiZ0gSiPXAEB
X-IronPort-AV: E=Sophos;i="5.69,331,1571702400"; d="scan'208,217";a="385865005"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Dec 2019 11:48:17 +0000
Received: from XCH-ALN-006.cisco.com (xch-aln-006.cisco.com [173.36.7.16]) by alln-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id xBJBmH6o029434 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 19 Dec 2019 11:48:17 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-006.cisco.com (173.36.7.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Dec 2019 05:48:16 -0600
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Dec 2019 05:48:16 -0600
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 19 Dec 2019 05:48:16 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g1NGuLs++nLdM4tnjH3QE2uu+41jeVorD99K32uhThZqEIVGgwskNxVhNhwewEVzJKW9MHMvEO1HYbq2CGIe/ZC3vDnjK2eJMwIS5+NK8OCmDxZLbARNqtU+eX0Z2977mM7DbLRjl6+hJVgp+ZW+SY80J86QJ19lMfzi1XJd5lKyIZprtq72vYVQjx9Q700mqrNLDch7WPwkci3RvkvD4hT5bcLEWa/hV3YSLO7WU1b2exkhHy+z/neeFtHfeH+wIFqEFAkI3zSV08w4YIiadL9X2VUh/7SH+nxBNki4o+Ya/ubxws7MPMZMReGjvbOgR2giSCAeS3LVUwtuk7aUvw==
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=h/KoUpbpJmNwkAxwLEj9hVyh98s0hvDoD9eBEs/Myfs=; b=NZ9WAXssTulUVw3XjuE74yBy3Vn6tRD/YhRbWfoPSg8+T6MNqc9Cvsc9YtTvA7lsPTZjGqf6ZXWvtswKitGCUELZMNQtBDBakcDCbIqtKrC4CtaxZPKxhNfmdxhW2j3U4M3z+1EEuTV3B50vIcPPQuJhDsEkGPj0kMY0LikGMbnFiODk42/pPDmPrzDrmgobilwGC49Rf3pnTDU0XsE7WRKVLuQQkipmf+9MfUMs4OxEpH1EHYmarq7QXIzk3sn8agFCW2pM2dcZblVBlYeLxxe/QdXYebKPb9qKNA80og2vQw/RjOQ9hDk0mJF+qXag8pZnv7/pBQh1Bv38I13/rQ==
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=h/KoUpbpJmNwkAxwLEj9hVyh98s0hvDoD9eBEs/Myfs=; b=WzwJqhv5m5Rvq3XFHRKoAFHIMvcpNLXLdGyO3RlpwDjlwbPgRsMXgmzxC30cmbLoylweDTC0D2Vsuncy05Mz0p+7QPeqZMrI2Xnwdg9otCC2nFYsZKgKz76G04B+DbIHlXPto9AoW+DGP5bQ1KzeNT+KMGdk9pmjeKyWZOnu5Ww=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (10.169.234.8) by MWHPR11MB1262.namprd11.prod.outlook.com (10.169.236.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Thu, 19 Dec 2019 11:48:14 +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.2538.022; Thu, 19 Dec 2019 11:48:14 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: "Wang, Weibin (NSB - CN/Shanghai)" <weibin.wang@nokia-sbell.com>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt
Thread-Index: AQHVtmIx6NVBXdpUB0ypaBRlyGuOeQ==
Date: Thu, 19 Dec 2019 11:48:14 +0000
Message-ID: <872C2640-EA42-4B63-AD52-AFFC59992411@cisco.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: [2001:420:44da:1250:2dac:e1f3:236d:5679]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 72644c1a-86a5-4631-a34f-08d7847954f4
x-ms-traffictypediagnostic: MWHPR11MB1262:
x-microsoft-antispam-prvs: <MWHPR11MB1262B00B1B72DF75CA922B75C9520@MWHPR11MB1262.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0256C18696
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(346002)(136003)(376002)(396003)(189003)(199004)(8936002)(2616005)(81166006)(81156014)(6486002)(36756003)(186003)(6506007)(53546011)(66476007)(66556008)(64756008)(66446008)(66946007)(91956017)(76116006)(6512007)(86362001)(71200400001)(316002)(8676002)(110136005)(478600001)(966005)(2906002)(33656002)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1262; H:MWHPR11MB1374.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: DnAzM7q18wZ59DiKqarm+SvfF0wDYHhZDwu2xWCGOzJw5xqdR0XPLk8ByNim6h+8kddcwMc0JtxfAOmQroyrqC7Ya4jwwWajl9/tgYJIqKeNvF+bU4tVsfJbCU86e8hopvyAoMTmEP0xNHLVmaCa2086YSCwcW96al94Tn7ROmnq+E6iKee/usxD6WJDn7IiYun8/EY4e9vdCYc22w1ZAOx4PFRm7pZXZkrE68TEMhhBHZe9t9k9QLHR0ILp6tGCZzTZ/g5GModmPYhlPIhLbdx8gWzWSO95/R0VWwsbK9H4/TrTZHvuXmd0ffbNzwEDsgqRAqdhHUsrnubDX60KWCoiTrt9xCzyA+iaZNAGM8ni26P7WJw36i83qTXywTst9YJIln/Ni3iV/tbUpoHaRY8fktgvvn5fpu2ND/zHUCDF/LyEqNg6+QISglA+ZX70FQRLvAazko3exLCtDzv72CKT26UhD2ejYf5odU9nx5o=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_872C2640EA424B63AD52AFFC59992411ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 72644c1a-86a5-4631-a34f-08d7847954f4
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 11:48:14.5013 (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: rmw2JBXhRrZvq8xQ4IdqQCG68xn4X72mShiiYNJ2/2SRAI03uvyxe33lqarChA/JGpJaSBUIiSYK9CNx8Rsr4w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1262
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.16, xch-aln-006.cisco.com
X-Outbound-Node: alln-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/VRLiJbNNrA08pt4CucVbvP0fQD8>
Subject: Re: [spring] 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 11:48:21 -0000

Hi Wang,

Just to confirm you: NET-PGM follows the same pseudocode format as in the SRH.
Regarding the necessity of the USD behavior: we have already discussed about this in the past. The practical example is TILFA with T.Encaps. This example is discussed in here: https://mailarchive.ietf.org/arch/msg/spring/kV5gJtCwCgUgAoSMx3ha0rWa6vs

Cheers,
Pablo.





From: spring <spring-bounces@ietf.org> on behalf of "Wang, Weibin (NSB - CN/Shanghai)" <weibin.wang@nokia-sbell.com>
Date: Wednesday, 18 December 2019 at 11:02
To: "spring@ietf.org" <spring@ietf.org>
Subject: Re: [spring] USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt

well, I went through again some sections about specific SIDs definition in last draft, I feel that SRH processing module (pseudocode module) include outright all kinds of EHs processing. OK.


Cheers!

Wang Weibin

From: Wang, Weibin (NSB - CN/Shanghai)
Sent: 2019年12月18日 16:08
To: spring@ietf.org
Subject: RE: USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt

Hi SPRING WG and authors:

I need in further express my opinion about USD SID.
From the content in this last draft, I find lots of SIDs defined in draft, such as END.DX, END.DT, END.DX2 etc., which imply in fact that the next-header immediately following SRH being processed are upper-layer header such NH==41 or 4 (IPv4 or IPv6 or Ethernet frame), which is payload in sense. So if the 2 context assumption mentioned in previous email, “multi extension header may exist and no successive multi SRHs in one packet”, are removed, the behavior of SIDs mentioned above keep no change, because the 2 assumption has not effective for these SIDs. But regarding to END, END.X and END.T with USD, it may be impacted, because it is possible that there are other extension headers residing between SRH and upper-layer header,  as such, in order to decapsulate the outer header to expose inner packet (IPv4/6 or Ethernet), the SR-node has to handle all extension headers existing in this packet until reaching the upper-layer header within its pseudocode module, the function of processing all extension headers has been in normal IPv6 module, so I think it is not necessary for introducing USD, it is better to remove the USD definition.

I hope someone give reply on this question or point out where is my misunderstanding.

Cheers!

Wang Weibin

From: Wang, Weibin (NSB - CN/Shanghai)
Sent: 2019年12月15日 10:09
To: Pablo Camarillo (pcamaril) <pcamaril@cisco.com<mailto:pcamaril@cisco.com>>
Cc: 'spring@ietf.org' <spring@ietf.org<mailto:spring@ietf.org>>
Subject: USD/USP question in draft-ietf-spring-srv6-network-programming-06.txt

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