Re: [spring] Penultimate Segment Popping and RFC8200 (Was Re: We don't seem to be following our processes (Re: Network Programming - Penultimate Segment Popping))

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Wed, 11 December 2019 20:02 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 ECE2612086B for <spring@ietfa.amsl.com>; Wed, 11 Dec 2019 12:02:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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=igNUXb5j; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=bHUYcMWt
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 LWwY7JtGrh6K for <spring@ietfa.amsl.com>; Wed, 11 Dec 2019 12:02:33 -0800 (PST)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D26C912081F for <spring@ietf.org>; Wed, 11 Dec 2019 12:02:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10814; q=dns/txt; s=iport; t=1576094545; x=1577304145; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=32sYnTANCpYA6YegmWv4LUvX9PVygWryP5GhqTdAY7k=; b=igNUXb5jCWpcSYfCLRjBbKljpNgmMkC99Xbu5pY8dYdjH998v8h1KSyH j0GLEHu45vsAeg7SpEDjKEuCBqd6+0fVfv+j/6KaxOuGWlW6N6ha6uXUI xFojUTD7io7WjT6ciBCtAcyGyaYjeVSbK0xBqZ9Z/Xe7TZ6Ne/MUjuAvs E=;
IronPort-PHdr: 9a23:/fCK0hBD/t9ikW0gSXefUyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qs03kTRU9Dd7PRJw6rNvqbsVHZIwK7JsWtKMfkuHwQAld1QmgUhBMCfDkiuNPXjaiUgHcBqX15+9Hb9Ok9QS47z
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AqAQDYSvFd/4gNJK1lGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYF+gUtQBWxYIAQLKgqDeYNGA4sKToFsJYlbjiuCUgNUCQEBAQwBARgNCAIBAYN7RQIXgW4kOBMCAw0BAQQBAQECAQUEbYU3DIVeAQEBAQMBARAREQwBASwMCwQCAQgRAwEBAQECAh8EAwICAh8GCxQBCAgCBAESIoMAAYJGAy4BDqNKAoE4iGF1gTKCfgEBBYUcDQuCFwMGgQ4ojBgagUE/gREnDBSCTD6BBIEXSQEBAgGBYAczglYygiyQLZ1/QwqCL4ckii+EIxuCQod2kAiOSoFGhwOCF49YAgQCBAUCDgEBBYFpIoFYcBU7KgGCQVARFIxmDAwLFYM7hRSFP3QBAYEmjGwBMF8BAQ
X-IronPort-AV: E=Sophos;i="5.69,303,1571702400"; d="scan'208";a="390980279"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 11 Dec 2019 20:02:24 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by alln-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id xBBK2OVk023954 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 11 Dec 2019 20:02:24 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 11 Dec 2019 14:02:24 -0600
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 11 Dec 2019 14:02:23 -0600
Received: from NAM04-CO1-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; Wed, 11 Dec 2019 14:02:23 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gw8DvpsecgSDfyMJnWMKOdj/H4uZj7iZPu1XB6GTXVYsrG1V2gGTE80JbLDH/RkdmfL573u1Hy/Jpo/Yiyu5ax/HTkV+Hrg5zJ3kr3Oq4WNp/KBsITmJtdRZof+jCw+hx4+a3uLKgIf3dNBtG6cPwGUx4qf361I4R8Q0vLW39Oj05b9kvhF4EZdmuojqK1eahxbnQwZi5+8NUd6t1EEevXsBSNrqK4KG+JV6VZP5ogDyEQfCDMdtwwBdu0Ql0Bh7fGA0rcQUrSIBvY7r7lyrMnJ3sWDjc4u8h8+wvssELkd0OZxAciMQcKgelLIlKo2jgLTIG1cXuzWWM0iNjEbeQg==
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=32sYnTANCpYA6YegmWv4LUvX9PVygWryP5GhqTdAY7k=; b=BCqLE5G8qJsb/HbdYQXgotMxw94UDDt2IJ8Oeqsvn7OpOn/wwD0vaq4c260T3LiVV2uJD2gZuK4NsT8WKRx/ky4NuZ7l8xI0xqthNkNRW4rNqIzZ9Fony7s3piP6+5KJrCoLtl0F/5Gc15Op5JlWiVp6GIpL+dpiOXgDRY0gUEJKanomv9jSo4amZ9Uatkh56nUa+4hdFx9fWZqFrShyKrr7/GuXsz5cKQfJ9CI3ZaY/w3hl2ptdrSTk7YkHnHD+9FFxcMtGw0zVPzCcX+z1rdkquZH3uzfsgtAnj5WPD/leMsyJJ7JB4jsHVavjoi2rGZPBQOJQWU2TQZXUFmsb8w==
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=32sYnTANCpYA6YegmWv4LUvX9PVygWryP5GhqTdAY7k=; b=bHUYcMWtjBDzgeYN35X9Hl2gTtLYgqNy8SFAoOoXbQGaprl2Lf+v3vlUaoVdvoc3og/qOFcRzX6CEH7sXPY6Zz4IUXUpPkuQeawtS2Dg88OEUXaSpD5wRil7M8TALWLV3Eh9g+ZamlQxxOf4jixgH+xi92x0XgXHsSctkKpUc4s=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (10.169.234.8) by MWHPR11MB1470.namprd11.prod.outlook.com (10.172.55.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.17; Wed, 11 Dec 2019 20:02:22 +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.2516.018; Wed, 11 Dec 2019 20:02:22 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, SPRING WG <spring@ietf.org>
Thread-Topic: [spring] Penultimate Segment Popping and RFC8200 (Was Re: We don't seem to be following our processes (Re: Network Programming - Penultimate Segment Popping))
Thread-Index: AQHVrM7NWTgpGqoNzEms2Z16Ytth9aeudGiAgACg2oCABtMJAA==
Date: Wed, 11 Dec 2019 20:02:22 +0000
Message-ID: <50B652E1-8700-4F35-AA19-C98A3AF81B7B@cisco.com>
References: <f2a0ad13-0eba-6f5a-1d3c-e45e2780f201@si6networks.com> <D666EA6E-E8E9-439A-9CDE-20857F03CB65@employees.org> <4255AD3B-379C-45BF-96E1-D3D9141A684F@liquidtelecom.com> <d59de54e-c7f8-be67-1e77-b051735d40a6@gmail.com> <3bce7b18-ea45-d29f-5dfb-1d3258b07d1e@si6networks.com> <c6e1f690-b0bf-9f45-8fa7-92ed182c5b04@gmail.com> <a2cc5cbd-ac06-e193-307c-3ffe5b21b0b1@si6networks.com> <80A78F48-9802-4DA9-B264-1A8920C1DDF9@kaloom.com> <MWHPR11MB1600C5E0821814913110DA16C15E0@MWHPR11MB1600.namprd11.prod.outlook.com> <a3b37257-9673-8d0b-b862-e94e094c62fa@gmail.com>
In-Reply-To: <a3b37257-9673-8d0b-b862-e94e094c62fa@gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1f.0.191110
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [173.38.220.51]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 95945e84-2656-4282-a9f4-08d77e750921
x-ms-traffictypediagnostic: MWHPR11MB1470:
x-microsoft-antispam-prvs: <MWHPR11MB1470ED9658B836C8FE2F0A4FC95A0@MWHPR11MB1470.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 024847EE92
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39860400002)(346002)(366004)(136003)(189003)(199004)(13464003)(33656002)(81156014)(76116006)(66946007)(66556008)(91956017)(6486002)(8676002)(186003)(36756003)(66476007)(66446008)(81166006)(966005)(5660300002)(8936002)(64756008)(26005)(6506007)(2906002)(316002)(478600001)(6512007)(2616005)(110136005)(71200400001)(86362001)(53546011); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1470; 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: G8kK6/huaOpSIzndWOrmtH4iiF7RhXkfo6T4vzLzhleQu0sJao0ubs6azat59aSRx+FsqLsMxowi3GvjRLx1zim0hRIDya8nl11S7JPvRhDzwqvt2r0f78ZWZJYgh+cxLWLFwp4Kfy/BmClVazwi5WqmkKp9mw51OeKGxPlb2oAqQMkELq4FTiS0WLL+GzXojbxz6H/1I3xfEHrkQMB1Fz/0UJURZ08Y/OyXNFR0n5Tydo6aNDt3bkcmBH7JiGaFJjryumgyW1KlYa2xH3LIi+m6jWmn0113jOFBrgQbyJrw0eNNK0Q7PQ/NuS/4eZdxKrabfPzSLJ4J2w1NklInOuMm5xpU4shJJ1dguqBeJ4fFkbmJRiaB1n8LaOfKMjOGBg6QJ57NtiuCEY4Ni78jm1eDSA0qKW6tTuAljI0UVZjC9nYqrbjOBiCBCspBQf5k1Z1FkPkUbmaZ7RGTGT9g3xgVX+2NSIsvmkgE6/pVqvoEgaMnnNAP2ABwTKvCLGg2RUxnF14NicgFTiwXCgGVWqzODCmyBXcIbW/VUHNyBFE=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <C32E2727274C444CB25DD63E7F55D012@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 95945e84-2656-4282-a9f4-08d77e750921
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2019 20:02:22.3590 (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: Xicxayco2TIR3toeDJNrL6BmN20yVqpOinURdWRGM0FDrbajLmB5AON9FyJBh+cv9X6o5/cKlGlU7AlHpsrf7Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1470
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.11, xch-rcd-001.cisco.com
X-Outbound-Node: alln-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/A8a0_dw2xDhb9SSHOzir94r03fs>
Subject: Re: [spring] Penultimate Segment Popping and RFC8200 (Was Re: We don't seem to be following our processes (Re: Network Programming - Penultimate Segment Popping))
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: Wed, 11 Dec 2019 20:02:37 -0000

Brian, 

I have updated draft-ietf-spring-srv6-network-programming-06 to clarify this. The new pseudocode is explicit. 

Also, merely informative, I would suggest reading the document draft-filsfils-spring-srv6-net-pgm-illustration-01 for a detailed example of PSP with a hop-by-hop packet examples. 
Particularly sections 2.1+2.2 (SID allocation and Reference Diagram) and Section 2.8.1 for the related example with PSP.
https://tools.ietf.org/html/draft-filsfils-spring-srv6-net-pgm-illustration-01#section-2.8.1

Thank you,
Pablo.

-----Original Message-----
From: spring <spring-bounces@ietf.org> on behalf of Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Saturday, 7 December 2019 at 20:50
To: "Ketan Talaulikar (ketant)" <ketant@cisco.com>, Suresh Krishnan <Suresh@kaloom.com>, Fernando Gont <fgont@si6networks.com>, SPRING WG <spring@ietf.org>
Cc: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, "int-ads@ietf.org" <int-ads@ietf.org>, Andrew Alston <Andrew.Alston@liquidtelecom.com>, rtg-ads <rtg-ads@ietf.org>, Bob Hinden <bob.hinden@gmail.com>, Ole Troan <otroan@employees.org>
Subject: Re: [spring] Penultimate Segment Popping and RFC8200 (Was Re: We don't seem to be following our processes (Re: Network Programming - Penultimate Segment Popping))

    Ketan,
    On 07-Dec-19 23:13, Ketan Talaulikar (ketant) wrote:
    > +1
    > 
    >  
    > 
    > For some strange reason the PSP behaviour is being mixed with EH insertion and likely there is some misunderstanding here.
    
    I found the language in draft-ietf-spring-srv6-network-programming very hard to understand, and your comment and those from Robert Raszuk really don't clear it up. No insult intended, but it seems that SRH exponents are so close to SRH that you don't understand why others find it hard to understand.
    
    So let me ask for clarification on three points in the draft. (Please keep me in CC as I'm not on the spring list.)
    
    (1) Where the draft uses the word "insert", does it refer *only* to the encapsulating node at the SR domain ingress?
    
    (2) What does the phrase ""Pop the SRH" mean? Does it mean "delete" a header inserted as in (1),
    at the same time as decapsulating the packet?
    
    (3) In *very* elementary language, what is "updated SL" in statement S14.2? It isn't defined elsewhere as far as I can see. It may just be sloppy writing, because if "Segments Left" is a variable, then perhaps "updated SL" just means the current value of "Segments Left" after executing S14.
    
    With specific answers to those questions, the text would be easier to interpret.
    
    Some diagrams of the encapsulation would be helpful, too.
    
    Regards
       Brian
    
    > 
    >  
    > 
    > Fernando says:
    > 
    > 
    > (pop when you are the destination but SL!=0 is essentially 'in the
    > network removal’)
    > 
    >  
    > 
    > This is NOT what PSP is (refer https://tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-05#section-4.16.1) – the “pop” is done when the SL becomes 0.
    > 
    >  
    > 
    > FWIW, this has been stated in different ways and clarified on the mailing list previously by the authors as well as others involved in SRv6 development and deployments. There is no violation of RFC8200 here.
    > 
    >  
    > 
    > Thanks,
    > 
    > Ketan
    > 
    >  
    > 
    > *From:*spring <spring-bounces@ietf.org> *On Behalf Of *Suresh Krishnan
    > *Sent:* 07 December 2019 12:50
    > *To:* Fernando Gont <fgont@si6networks.com>; SPRING WG <spring@ietf.org>
    > *Cc:* Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>; int-ads@ietf.org; Andrew Alston <Andrew.Alston@liquidtelecom.com>; rtg-ads <rtg-ads@ietf.org>; Bob Hinden <bob.hinden@gmail.com>; Ole Troan <otroan@employees.org>; Brian E Carpenter <brian.e.carpenter@gmail.com>
    > *Subject:* [spring] Penultimate Segment Popping and RFC8200 (Was Re: We don't seem to be following our processes (Re: Network Programming - Penultimate Segment Popping))
    > 
    >  
    > 
    > (responding on spring mailing list)
    > 
    >  
    > 
    > Hi Fernando,
    > 
    > 
    > 
    >     On Dec 7, 2019, at 11:07 AM, Fernando Gont <fgont@si6networks.com <mailto:fgont@si6networks.com>> wrote:
    > 
    >      
    > 
    >     On 6/12/19 23:47, Brian E Carpenter wrote:
    > 
    >         Again, comment at the end...
    >         On 07-Dec-19 14:37, Fernando Gont wrote:
    > 
    >             On 6/12/19 22:15, Brian E Carpenter wrote:
    >             [...]
    > 
    > 
    > 
    >                     and if such a thing is required, an update to RFC8200 should be done.
    > 
    > 
    >                 Why does that follow? Alternatively, draft-ietf-spring-srv6-network-programming could acknowledge that it deviates from RFC8200.
    > 
    > 
    >             You can deviate from s "should", not from a "must". This is an outright
    >             violation of a spec, rather than a mere "deviation".
    > 
    > 
    > 
    >                 Whether that's acceptable would be a question for the IETF Last Call rather than any single WG.
    > 
    > 
    >             I would expect that a WG cannot ship a document that is violating an
    >             existing spec, where the wg shipping the document is not in a position
    >             of making decisions regarding the spec being violated.
    > 
    >             That would be like a waste of energy and time for all.
    > 
    > 
    > 
    > 
    >                 At the moment, the draft only mentions RFC8200 in a context that discusses neither insertion nor removal of extension headers, which is beside the point. Like draft-voyer, if it describes a violation of RFC8200, shouldn't that be explicit in the text?
    > 
    >                 There's a lot of jargon in draft-ietf-spring-srv6-network-programming. I can't tell from the jargon whether "insert" means "insert on the fly" and whether "Pop the SRH" means "delete on the fly". Should those terms be clarified before the draft advances?
    > 
    > 
    >             Well, if it's not clear to you, it would seem to me that the simple
    >             answer would be "yes".
    > 
    > 
    >         But if "insert" refers to the encapsulating node at the SR domain ingress, it's no problem, and if "pop" simply means doing normal routing header processing, it's no problem. It simply isn't clear in the text, at least not clear to me.
    > 
    > 
    >     The fact that a folk that has been deeply involved with IPv6 cannot
    >     unequivocally tell what they talking about should be an indication with
    >     respect to how ready the document is to be shipped.
    > 
    >     (pop when you are the destination but SL!=0 is essentially 'in the
    >     network removal’)
    > 
    >  
    > 
    > It is not obvious to me why you think this is a violation of RFC8200 though it is possible that I misread your comment. The relevant text I am looking at is
    > 
    >  
    > 
    > "  Extension headers (except for the Hop-by-Hop Options header) are not
    > 
    >    processed, inserted, or deleted by any node along a packet's delivery
    > 
    >    path, until the packet reaches the node (or each of the set of nodes,
    > 
    >    in the case of multicast) identified in the Destination Address field
    > 
    >    of the IPv6 header.”
    > 
    >  
    > 
    > which seems to permit it. Can you please clarify where there is a violation?
    > 
    >  
    > 
    > Regards
    > 
    > Suresh
    > 
    
    _______________________________________________
    spring mailing list
    spring@ietf.org
    https://www.ietf.org/mailman/listinfo/spring