Re: [spring] Question on draft-ietf-spring-srv6-network-programming-12

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Tue, 17 March 2020 17:44 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 858593A0970 for <spring@ietfa.amsl.com>; Tue, 17 Mar 2020 10:44:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=cZBo6hxn; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=XSWxXJgE
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 TpGRFQaVJ_YO for <spring@ietfa.amsl.com>; Tue, 17 Mar 2020 10:44:06 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 964F43A096D for <spring@ietf.org>; Tue, 17 Mar 2020 10:44:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10478; q=dns/txt; s=iport; t=1584467046; x=1585676646; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=CB7mRqW+nGk+bg4pQzeIX9iQAOEyr1a9U9qdrXsgRl8=; b=cZBo6hxntbQLKVbTi5WvP/wZCXtQ3o+paZ6R8WVYemDhCHnrFaLs6oXI gsEXuXqnU+62ZIqgzb+nn/aq4AhSzFHQnr4pW7KOYgQKwIhfJNF1OgKFz 5OOR6gsZpL3LZUoT6haQl9YP8Q8AV+c0I8GaKfch9pWH2xmtylLIbzNo+ k=;
IronPort-PHdr: 9a23:xbW6iR/XLouvy/9uRHGN82YQeigqvan1NQcJ650hzqhDabmn44+8ZR7E/fs4iljPUM2b8P9Ch+fM+4HYEW0bqdfk0jgZdYBUERoMiMEYhQslVdaOAEjyNv/uRyc7B89FElRi+iLzPA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CzAABBC3Fe/49dJa1mGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYF7gVRQBWxYIAQLKgqEDINFA4p0gjolmBiCUgNUCQEBAQwBARgLCgIEAQGDfkUCF4F9JDgTAgMBAQsBAQUBAQECAQUEbYVWDIVjAQEBAQMBARAREQwBASwLAQsEAgEIEQMBAgECAiYCAgIlCxUICAIEDgUigwQBgkoDLgEOol4CgTmIYnWBMoJ/AQEFgkSCdRiCDAmBDiqMLhqBQT+BEScMFIJNPoJkAQECAYE6KBeCejKCLJBxnlx2CoI8h1aPIB2CSogojmiBbJgIklwCBAIEBQIOAQEFgWkigVhwFTsqAYJBCUcYDY4dDBeCUIEAhRSFQXSBKYstgTIBgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.70,565,1574121600"; d="scan'208";a="733861152"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 17 Mar 2020 17:44:04 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by rcdn-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 02HHi4Te030834 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 17 Mar 2020 17:44:04 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 17 Mar 2020 12:44:04 -0500
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 17 Mar 2020 13:44:03 -0400
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 17 Mar 2020 12:44:03 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CaD7ab1r3hP82HHn6/vARyPyHlleexsZf7xs3CgV50aH9dnaVRqlW5EORc2FO01e0r4iikVnsRjYRvNlJ0xlTh4/FjuQp0GQzYHfJgx1qGhwV3BYncO7b+j9k/EiApjtZPXPPOt8ZYyNHuGyw8tDbCtWe0D87ou/mx5Zosk5MEZ48Ufjur8YaO/+s1zrfcpB2wEeTlcp1llRSYR2mpQ0bqLM4+OpXVlpuPW/vaHa5Vm2eJhFmW8tqYsLtn+oleT9vfeUxX2ZCXsv2w00w5qHvLRYD89BTUj2h3DLhUYYO+rATfvfvMEzjlCNWe0UwsFTj1tyAm43rXj2j9o2CO2bmg==
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=CB7mRqW+nGk+bg4pQzeIX9iQAOEyr1a9U9qdrXsgRl8=; b=kTSqe06YGEUA/LGlq3gOhLbA9sYEE49XQTYmlO8DNnMtdyNlEX55rBTu8CS2GLeBlHIw8nnvRF6tWMTDaJk5MHi2W3Clp6t5tlg/P/AFPDn6hocskkuMzIYYXTa+E+drLNPZrX44KgF1lG852O2vylOyZoRV/50nsp97u8uyPeZ2DGsvcxHkrRGYOCBMyNBm4n/8Aa6t2NMgNgv8X/GfPZLsC5qIFHbOzrS7p3ThrFV25qX6bZGUHRXFk/YE19KM7ToepGmql14xKy/sxrihc9YVXTZtbnk4iKoZBYvtIKLOZr5AQeWDlfhH2ChaWyDdRQpL3RLBxq1Aqh7ZNw7T7A==
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=CB7mRqW+nGk+bg4pQzeIX9iQAOEyr1a9U9qdrXsgRl8=; b=XSWxXJgErwrXB/I2V4jCwGie9LjxNPbwnDo+Bhj2kYRoVXKLsbW5m01zSwWLMzQ8nniOtir2e8Sx4tdyhbDNolq2LS21GTyPepnA++tyNIsYNvOluF2qfPW6EgRhrQImGO/fzLhlWllD+dXOWjg8jhdITYUcvxNDF18SdRSdz1E=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (2603:10b6:300:24::8) by MWHPR11MB0078.namprd11.prod.outlook.com (2603:10b6:301:67::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.21; Tue, 17 Mar 2020 17:43:59 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::e481:a191:e31:f948]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::e481:a191:e31:f948%12]) with mapi id 15.20.2814.021; Tue, 17 Mar 2020 17:43:59 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
CC: "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] Question on draft-ietf-spring-srv6-network-programming-12
Thread-Index: AQHV9HaX6Lkkq5pSPUGuGY0sidbPhahCNwoA///yowCACWywgIAAEWaAgAGHWQA=
Date: Tue, 17 Mar 2020 17:43:59 +0000
Message-ID: <305A5FB1-345F-4207-89BA-9C7F63452F16@cisco.com>
References: <D5A410FF-EEA3-4F01-8147-5E180EE35DE6@chopps.org> <A6B1D2E0-0230-468B-931F-C6C976BDC9DC@cisco.com> <8ef9a49b-0edf-2040-86d6-7c68381352c6@joelhalpern.com> <C060BCFF-49E9-43DE-A816-35509B47033D@cisco.com> <9e2ea3c8-67c4-2442-4ce8-d42cc89a3a0d@joelhalpern.com>
In-Reply-To: <9e2ea3c8-67c4-2442-4ce8-d42cc89a3a0d@joelhalpern.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.35.20030802
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [173.38.220.40]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: db442786-574f-48ad-9d9e-08d7ca9ac641
x-ms-traffictypediagnostic: MWHPR11MB0078:
x-microsoft-antispam-prvs: <MWHPR11MB00781FA40426F1A728E2E075C9F60@MWHPR11MB0078.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-forefront-prvs: 0345CFD558
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(366004)(136003)(396003)(39860400002)(199004)(66946007)(86362001)(66446008)(64756008)(66556008)(66476007)(76116006)(91956017)(5660300002)(966005)(316002)(81166006)(81156014)(71200400001)(53546011)(2906002)(6506007)(6916009)(8676002)(478600001)(36756003)(8936002)(6512007)(186003)(6486002)(26005)(33656002)(66574012)(4326008)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB0078; H:MWHPR11MB1374.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; 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: UxeH6gvF/Ju7SeQUtWU+kJfw+MbzO45sw1UPha784YM5fiImkuy/YpAIOanHeK9gE1w0skU2g34CABSHaHWYt5vdwMq4AusPs9p7FVs4KtAxyB8pbS/B005z0Svec8+OFMOFB6V3mLAc8TvW72h5N/5QkxiRDwdFlu9+n9cdXJU5OBjwk+sBsbcpLwBkfzTr7n0HyweWmzWDJMbl0R8KVNLhC2vECtVR9nGqanqkmRjcy0ixSkgtQB4kZeaYFremELzeQk110Tdv/wKHfav4ST2o+9JbqB64PhQ9vwAplf/Yw/n4NyrRuDe2NmkGLVGIGFLSi7xuadrPVVfTpNPDtxgkefRDP1R3hUv6CrrIt8Mt4jkRFbp+T59Q9eZlNQ4MV2dikYnTBaaMbbTLRRe4mvgi0589Pq5dIrpcciv/jVfcWw9m4+Nk239AW0zIA/AAxW9WX0RdZlZqWkk9K0034RiE4nMIEF9NfTWH+1i0f6n4s6E52YKibAiCh/MUtRlBpvnn03CIcxK2jPmPJL/aow==
x-ms-exchange-antispam-messagedata: tVCpLgKqHqEAQ/bOdVhOLgrQuch0mT1IeyDGPwM7cCat/ja5lmQkPZMfEiYyuLko2FHQRC08paZ/f2TZgAsLNqDG/AuyuZHXVYCE8s0O12opd/CU1ppsCq/ulljCZdARJSXDHNJSMBOESWDJvDnR6g==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <D02DD8A0C743FA41BA285CECF90ECC08@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: db442786-574f-48ad-9d9e-08d7ca9ac641
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2020 17:43:59.5388 (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: QFVTmIZtoNpYxmd7EwtaoMKXSS3OQgzEYZf6o0HdEzdjOprAM6eQheR86tRqgBXHOJi58EUr7BnvDug1w4CzUA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB0078
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com
X-Outbound-Node: rcdn-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/haFqRQwp6dCmTeZF3vDypf81UQA>
Subject: Re: [spring] Question on draft-ietf-spring-srv6-network-programming-12
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: Tue, 17 Mar 2020 17:44:12 -0000

Inline

-----Original Message-----
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Date: Monday, 16 March 2020 at 20:23
To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
Cc: "spring@ietf.org" <spring@ietf.org>
Subject: Re: [spring] Question on draft-ietf-spring-srv6-network-programming-12

    The changes in section 4.16.1 do improve the clarity.
    
    Having said that, the text about motivating PSP reads:
         PSP allows, for example, for an egress PE to receive a packet
         with a segment in the DA of the outer header without any need to
         process the	SRH.
    is a very weak and confusing explanation.  Given that 8200 requires 
    nodes to be able to ignore any routing header with SL=0, the text as 
    written seems to be without benefit. 

Joel, how do you know whether you can ignore a routing header?
I believe that the only option is for the router to process the routing header to check whether the Segments Left value is equal to zero.
PSP avoids any routing header processing at the egress PE, as the quoted text above states. Hence the benefit.

Thanks,
Pablo.

    Yes, I have seen descriptions of 
    the benefits from others on the list.  But this text is not it.
    
    If indeed the benefit is a node where any extension header presence 
    causes much slower processing (as was alluded to by other posters on the 
    list) then it seems that should be acknowledged in the description. 
    Doing something slowly is indeed still compliant to 8200.
    I have asked that we go a step further, and acknowledge that such nodes 
    have other limitations and that if we are going to make allowance for 
    them, we should call out those other issues as well.
    
    Yours,
    Joel
    
    On 3/16/2020 2:55 PM, Pablo Camarillo (pcamaril) wrote:
    > Hi Joel,
    > 
    > Please check revision 13 of this document that clarifies the PSP section.
    > 
    > About your last point:
    > For both SR-MPLS and SRv6, there are restrictions on the path to be used, in particular:
    > - the SR policy may only use SIDs instantiated on SR Endpoints.
    > - When computing the SR policy, there are additional restrictions to consider, such as the Maximum SID Depth (MSD) capability of nodes in the topology. (for SRv6, see section 4 of draft-ietf-lsr-isis-srv6-extensions).
    > 
    > Regards,
    > Pablo.
    > 
    > -----Original Message-----
    > From: "Joel M. Halpern" <jmh@joelhalpern.com>
    > Date: Tuesday, 10 March 2020 at 19:26
    > To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
    > Cc: "spring@ietf.org" <spring@ietf.org>
    > Subject: Re: [spring] Question on draft-ietf-spring-srv6-network-programming-12
    > 
    >      Pablo, in your reply below you say that the text in 8200 is "crystal
    >      clear".  It requires an interesting lens to find something "crystal
    >      clear" about which so many people have expressed so much disagreement.
    >      While a lawyer may claim to a judge that text in a contract is crystal
    >      clear, it is almost always hyperbole.  That may be useful in other
    >      contexts.  It is not useful here.
    >      
    >      As far as I can tell, the text allows the interpretation that the PSP
    >      protagonists have reached.  It also allows other interpretations.  In
    >      the absence of clarity, I can not claim that PSP biolates 8200.  But it
    >      sure as heck is not "crystal clear".
    >      
    >      I also find the articulated use cases for PSP muddy.  And as far as I
    >      can tell, if the use cases are accurate, then there is a need for
    >      greater clarity in the underlying drafts (NP because I do not want to
    >      try call back the base SRH document) about the restrictions on paths
    >      that can be used.
    >      
    >      Yours,
    >      Joel
    >      
    >      On 3/10/2020 2:13 PM, Pablo Camarillo (pcamaril) wrote:
    >      > Hi Chris,
    >      >
    >      > Thanks for going through the document.
    >      > The behaviors 4.13 (End.B6.Encaps), 4.14 (End.B6.Encaps.Red) and 4.15 (End.BM) correspond to Binding SIDs [1].
    >      >
    >      > As a result of 4.13 for example, the packet is encapsulated with a new IPv6 header and an SRH that contains the SR policy associated to the BSID.
    >      > Once the new IPv6 header is pushed into the packet, the NET-PGM pseudocode passes this packet to the IPv6 module of the router for transmission.
    >      >
    >      > Normally the Upper-Layer Header should not be processed on a packet with a BSID, since you have just pushed an SR policy into the packet.
    >      > That said, when the ultimate destination is BSID, then the Upper Layer Header processing is the same to End (4.1).
    >      >
    >      > Hope it clarifies.
    >      >
    >      > Thanks,
    >      > Pablo.
    >      >
    >      > [1]. https://tools.ietf.org/html/rfc8402#section-5
    >      >
    >      >
    >      > -----Original Message-----
    >      > From: spring <spring-bounces@ietf.org> on behalf of Christian Hopps <chopps@chopps.org>
    >      > Date: Saturday, 7 March 2020 at 12:50
    >      > To: "spring@ietf.org" <spring@ietf.org>
    >      > Cc: Christian Hopps <chopps@chopps.org>
    >      > Subject: [spring] Question on draft-ietf-spring-srv6-network-programming-12
    >      >
    >      >      In sections 4.13, (implicitly in 4.14) and 4.15 a set of steps is indicated. As far as I can tell the processing of the IPv6 header chain in all cases is terminated. e.g.,
    >      >
    >      >      "
    >      >         When N receives a packet whose IPv6 DA is S and S is a local End.BM
    >      >         SID, does:
    >      >
    >      >        S01. When an SRH is processed {
    >      >        S02.   If (Segments Left == 0) {
    >      >      ....
    >      >                     Interrupt packet processing and discard the packet.
    >      >        S04.   }
    >      >        S05.   If (IPv6 Hop Limit <= 1) {
    >      >      ....
    >      >                     Interrupt packet processing and discard the packet.
    >      >        S07.   }
    >      >        S09.   If ((Last Entry > max_LE) or (Segments Left > (Last Entry+1)) {
    >      >      ....
    >      >                     Interrupt packet processing and discard the packet.
    >      >        S11.   }
    >      >      ....
    >      >        S15.   Submit the packet to the MPLS engine for transmission to the
    >      >                  topmost label.
    >      >        S16. }
    >      >      "
    >      >
    >      >      The text then says:
    >      >
    >      >         When processing the Upper-layer header of a packet matching a FIB
    >      >         entry locally instantiated as an SRv6 End.BM SID, process the packet
    >      >         as per Section 4.1.1.
    >      >
    >      >      Why would I ever be processing the upper-layer header at this point?
    >      >
    >      >      Thanks,
    >      >      Chris.
    >      >      _______________________________________________
    >      >      spring mailing list
    >      >      spring@ietf.org
    >      >      https://www.ietf.org/mailman/listinfo/spring
    >      >
    >      >
    >      > _______________________________________________
    >      > spring mailing list
    >      > spring@ietf.org
    >      > https://www.ietf.org/mailman/listinfo/spring
    >      >
    >      
    > 
    >