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

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Mon, 16 March 2020 18:55 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 9FB313A0F29 for <spring@ietfa.amsl.com>; Mon, 16 Mar 2020 11:55:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.6
X-Spam-Level:
X-Spam-Status: No, score=-9.6 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, 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=SMZQAdAG; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Zkzj4Vcc
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 2CCRW5bGNZV8 for <spring@ietfa.amsl.com>; Mon, 16 Mar 2020 11:55:40 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 792023A0F24 for <spring@ietf.org>; Mon, 16 Mar 2020 11:55:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6948; q=dns/txt; s=iport; t=1584384940; x=1585594540; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=iwOLXbUlubfE7DQC0fSBOCPS/nuZ6dwE7+SGAp1muic=; b=SMZQAdAG6YhqQ0uasTlDUydL4KdzxZMtfWwTLD7S7TFXqcweG+sv367m Xia+VITQgvryJI/zIKnbHHwZ0dVWjCaWjJ9HP4bdVSHskzsP9nl/OXWX2 5odTMXrRDJIZEKKH5P9vAUHa8sKzF0kY08TwzIbmt4lHYcXETyoVJKYJO M=;
X-IPAS-Result: A0CyAAB2ym9e/4UNJK1lGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYF7gVRQBWxYIAQLKgqEDINFA4pzgl+YGIJSA1QJAQEBDAEBGAsKAgQBAYN+RQIXggokOBMCAwEBAQMCAwEBAQEFAQEBAgEFBG2FVgyFYwEBAQEDAQEQEREMAQEsCwELBAIBCBEDAQIBAgImAgICJQsVCAgCBA4FIoMEAYJKAy4BAwuiBwKBOYhidYEygn8BAQWCRIJ2GIIMCYEOKowuGoFBP4ERJyCCTT6CZAEBAgGBOigXgnoygiyQcJ5bdgqCPIdWjxsdgkqIKI5ngWqYBZJaAgQCBAUCDgEBBYFpIoFYcBU7KgGCQQlHGA2OHQwXglCBAIUUhUF0gSmLLYEyAYEPAQE
IronPort-PHdr: 9a23:LclPNBCQNeT8F+bPAW1ZUyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qs03kTRU9Dd7PRJw6rNvqbsVHZIwK7JsWtKMfkuHwQAld1QmgUhBMCfDkiuNPXjaiUgHcBqX15+9Hb9Ok9QS46nPQ/Ir3a/7CAfFlDkLQQlerbTHYjfx4Svzeeu9pbPYgJOwj2gfbd1KxbwpgLU5IEdgJBpLeA6zR6BrnxFYKxQwn8gKV+Inhn679u9mfwr6ylKvvM968NMGb73eag1V/RYCy86KCE4
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.70,561,1574121600"; d="scan'208";a="436641003"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 16 Mar 2020 18:55:39 +0000
Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id 02GItd7t019493 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 16 Mar 2020 18:55:39 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 16 Mar 2020 13:55:39 -0500
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 16 Mar 2020 13:55:38 -0500
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 16 Mar 2020 14:55:38 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N7Si0t7srbi82kQFHXKfG4d4LUzG9T/WEeTHs7MCoVPCenNnFOU2vwv7vzu8MweYCnHrRlKQ/Xoijl2NGnJpmmgkx5+VL+HHVPfR5Qsj/XY4pUITMPxSnC7IT1qriaTqCnMzz/eRzWVH2nN5zsZp4Ml6EKO8ZsI3DQalCr/Kmv382gEXoO/+t0rzCG992J4T6CKOWSqhBHxLNNGo/+4hGAo65Kk8yMzmqvuKxVEnyReQV193/tdELJxYhZLxpafiugACj202FnzZmFBLqrcv9nXDxTZ+oh+FmgmFz0T+X67nxTcZuRFnIgkyzdBDak+Y4fYFbGBCLj6qz3pNNfj+Sw==
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=iwOLXbUlubfE7DQC0fSBOCPS/nuZ6dwE7+SGAp1muic=; b=b411NesYNn3ykricwi9t7hk1AFbNRCrlrsZpHPO1xVVaMmdb8J8ifvIK8xmwgUYqMy8fyVLtyAQxSjTjEvE8eEdWdcYPL8Goc4yUZVPb3fmM087Erf5ikcUR/ZpAaqJvETYtQ55mTMo7t/WznLPa94aw18cA7zLV5P5A1jmTEwAxmVGYNjM0LDczWBddPPdAMdZzI4YQve9r7VfWQ++X/4BXCxkVJCPBddmDuv3ekNwp5lDkLuDIM2yS54DMwsuPaHWqask+FZTkUQG+vWtpYLLOr1dyJUgxcUTyqEadMjtafCLkPrMHJOEKyh8mz6aMjVjUojseWcLSScmD5gDGbw==
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=iwOLXbUlubfE7DQC0fSBOCPS/nuZ6dwE7+SGAp1muic=; b=Zkzj4VcczrD8sQULtvtVO9MnsT/wi5jxsTvScLWuLQ8RgGtUjew8WA0kBXVc3hhYW59wOMQg2suRN28WzsgjZ7OiklHeEEm1vtK6FixVHn/BK2jPKl/WKhdSN72/cvg5xk4nAIaQlHiIdYPnHNQuPhI8/+VqYAsBm3ihe9YBjBY=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (2603:10b6:300:24::8) by MWHPR11MB1598.namprd11.prod.outlook.com (2603:10b6:301:c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.21; Mon, 16 Mar 2020 18:55:36 +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.018; Mon, 16 Mar 2020 18:55:36 +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///yowCACWywgA==
Date: Mon, 16 Mar 2020 18:55:36 +0000
Message-ID: <C060BCFF-49E9-43DE-A816-35509B47033D@cisco.com>
References: <D5A410FF-EEA3-4F01-8147-5E180EE35DE6@chopps.org> <A6B1D2E0-0230-468B-931F-C6C976BDC9DC@cisco.com> <8ef9a49b-0edf-2040-86d6-7c68381352c6@joelhalpern.com>
In-Reply-To: <8ef9a49b-0edf-2040-86d6-7c68381352c6@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: [88.3.129.189]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f704328e-e932-43ac-5871-08d7c9db9d18
x-ms-traffictypediagnostic: MWHPR11MB1598:
x-microsoft-antispam-prvs: <MWHPR11MB15985E0218D9F4ADCA6470E0C9F90@MWHPR11MB1598.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5236;
x-forefront-prvs: 03449D5DD1
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39860400002)(376002)(366004)(346002)(199004)(186003)(316002)(26005)(8676002)(81166006)(81156014)(5660300002)(36756003)(8936002)(2616005)(66476007)(66556008)(64756008)(53546011)(66446008)(2906002)(71200400001)(91956017)(76116006)(6506007)(66946007)(478600001)(6486002)(66574012)(6916009)(33656002)(966005)(86362001)(6512007)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1598; 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: KHfzWLmF4/nIhNYzWyNPzgMaCHs0Ij4JxmoIoyXM8H5992qlFMor9Q6Gt3Df3eNkop8SepSJ2QifTMCPwpKJ1AKhigXFwQH2slQogaN5ab1soynQ0moTQnNB+Zu+RM6KdB2A+o2W8WkjpayU429jKMcVVluK5ydxbTmiYnU+J7YpQgVwHTJdXNDHhXSCg0G6+FZDQS/qHu+JARln7Wqc/gDAO4M5mDweDppUpx87VIe0Q0oauvudpLIlNVUV6P0GSEfnFKnvugQJCspYnP1JPAhauRSRgRiZkLBpJBG5LkfELOcR9PXO9eyfznZ8wcicBpsru3ZrEFMMWkK2qQMLTE/ZV5093JKXGLWwfG3dpl1HQOB6mlNY5N4zP0CV6xTyeSMvboavG9zEpDEGegaMusRHH9lAWu7RaiO9+uFZf0xsfCTm3V05js3gos/A3cQHfXFbGOp/La8+pHVQ83DYXzmXXdyYmXHNw2T12kv/J33ZsC2HpPwAIJfYqvpv+PEkXjoL/AJ55oA76TS03tCWDg==
x-ms-exchange-antispam-messagedata: M1JrpfBfmVeQgAK+/1DcU3hzbErycKy1z8wyN2txu4N8n3CclDpwobhyTHsd/n91qUIxY40b7jq51x/TBIhyTeyzvSUCJc/43YOd4BpjC82Tek4irDAHrbmt0HX/r1CUGLMVhvuwrlfcF6hn9CqFZQ==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <25A91F25382F0D41A7DBE05AA6C9B660@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: f704328e-e932-43ac-5871-08d7c9db9d18
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2020 18:55:36.4394 (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: NLZlY3eQ/vCn+jGnsrqEJr7PS7cnviQ0urKjUmi+nB2HMoSdwUzKRc9a4WEK61T6bAMvTGqfxcK4btDgUCHb1Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1598
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.11, xch-aln-001.cisco.com
X-Outbound-Node: alln-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/MwPvtS4qVcqkI-yj9J4dis5FQEc>
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: Mon, 16 Mar 2020 18:55:52 -0000

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
    >