Re: [spring] SRv6 PSP use case

Andrew Alston <Andrew.Alston@liquidtelecom.com> Wed, 04 March 2020 20:53 UTC

Return-Path: <andrew.alston@liquidtelecom.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 247E23A085A for <spring@ietfa.amsl.com>; Wed, 4 Mar 2020 12:53:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 TSVbLPckC95x for <spring@ietfa.amsl.com>; Wed, 4 Mar 2020 12:53:21 -0800 (PST)
Received: from eu-smtp-delivery-182.mimecast.com (eu-smtp-delivery-182.mimecast.com [146.101.78.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 690B13A0859 for <spring@ietf.org>; Wed, 4 Mar 2020 12:53:21 -0800 (PST)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05lp2173.outbound.protection.outlook.com [104.47.17.173]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-223-qq5uzDsgNXaP1yzDRH-IjQ-1; Wed, 04 Mar 2020 20:53:14 +0000
X-MC-Unique: qq5uzDsgNXaP1yzDRH-IjQ-1
Received: from DBBPR03MB5415.eurprd03.prod.outlook.com (20.179.47.79) by DBBPR03MB5301.eurprd03.prod.outlook.com (10.255.79.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.14; Wed, 4 Mar 2020 20:53:13 +0000
Received: from DBBPR03MB5415.eurprd03.prod.outlook.com ([fe80::31cd:8171:1d1f:2fa9]) by DBBPR03MB5415.eurprd03.prod.outlook.com ([fe80::31cd:8171:1d1f:2fa9%5]) with mapi id 15.20.2772.019; Wed, 4 Mar 2020 20:53:13 +0000
From: Andrew Alston <Andrew.Alston@liquidtelecom.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] SRv6 PSP use case
Thread-Index: AQHV8mVewVea+o5nxUqDMo39IReBNqg5G1SA
Date: Wed, 04 Mar 2020 20:53:12 +0000
Message-ID: <5086A381-B2AF-418D-BA4C-CD680913E777@liquidtelecom.com>
References: <2e26bfcf-b5a6-203b-e4f3-3ee654e59598@joelhalpern.com>
In-Reply-To: <2e26bfcf-b5a6-203b-e4f3-3ee654e59598@joelhalpern.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.21.0.200113
x-originating-ip: [2c0f:fe40:3:3:9129:5211:eff3:eec2]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 68470c7d-5908-4990-389f-08d7c07e0e15
x-ms-traffictypediagnostic: DBBPR03MB5301:
x-microsoft-antispam-prvs: <DBBPR03MB5301267EEED9CF621976592CEEE50@DBBPR03MB5301.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 0332AACBC3
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(136003)(376002)(346002)(396003)(366004)(39860400002)(199004)(189003)(478600001)(8676002)(33656002)(316002)(81166006)(8936002)(81156014)(966005)(71200400001)(2906002)(86362001)(110136005)(6486002)(36756003)(6512007)(2616005)(5660300002)(66446008)(64756008)(53546011)(66946007)(186003)(66556008)(76116006)(6506007)(91956017)(66476007); DIR:OUT; SFP:1102; SCL:1; SRVR:DBBPR03MB5301; H:DBBPR03MB5415.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: NZ1Bx9sIaETe1SoCxpcu5ZKzBrVdyHmLAAPEddG15nG2av2MzpEaQEFPp7V/4Wh1WN5XoAKHQiitM5ho703gzuGoR+e5Cneg1FfMnyo9xFg4zESvyrbikZYLfLoXpVtyw5FBUOwDFo6fE0PDvDP7xmtKd1kznmDnaCqaCMPMZh4kTgFCJ6Y/UrnFEqlcO0mNrZc6F5YT/ougkVm0pN6uZspG5pGyViAbeLlsFCU17lTx4JVrTE3CXKSTuypeqLEc1AeoMuiOm15DojF8bWMWJxh2i8j9wuRveTt4+M6mKhPfdb91Zn9X+Ong3IE5QV/en3nKwQ7c0d28Ra3J5Y5fMduoEe2Oj/4+L7SlIChEDpFrV36BM2ZNl1afl8vYzlAgWcBjOFpcNP/bjwyAQ4zXhk/72ihs/+KBeRToKOrReHiCRd6MF2P1XCMrTJTWrISY0atjIxF0Okeg15ocq1Ap6uNU6e77sEo6jhATpVrzYRvFcZQLOYQsvUx2KqyJW0nbiboLxH8d5yQ44tAG2mQ+ww==
x-ms-exchange-antispam-messagedata: MaRhvBBrsqU1c8ImTZNSi7w59tLB/KH6AAmUwY92+X9FcHIXuwctNFs1dMHnFA855GaFq07Y/wr+VW4k/m+gYaX1zOvFKXFSXf3kWy/LvHPzFQP/hIg++O0XyEwoUVucHBLCKDzfccO4ioL/GJA8fqeRF+EUeqXVhBWv5wWxlD50eRZ4clWJRcm5ANY4guYnDqtlvZuN+88ldKRnt0X3PQ==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: liquidtelecom.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 68470c7d-5908-4990-389f-08d7c07e0e15
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2020 20:53:12.9099 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 68792612-0f0e-46cb-b16a-fcb82fd80cb1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8cxs9NQnQh9se4KX37VcXn2KRJpFhiIlA4C+yX7xLRXeYucJu4t9ztpbHtso91vRAgMv7ADPyxvel3T52xw4XXJ1oLW7/8z1rsmphxGrQZs=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR03MB5301
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: liquidtelecom.com
Content-Type: multipart/alternative; boundary="_000_5086A381B2AF418DBA4CCD680913E777liquidtelecomcom_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/Nz1TevK6vQlw585f90smQsm7sq0>
Subject: Re: [spring] SRv6 PSP use case
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, 04 Mar 2020 20:53:24 -0000

Thanks Joel for the inference.

Would love to have some comment from the authors on this.  In the mean time in the next 2 or 3 days I’ll write some code and see if I can verify this theory across a range of vendor devices that I have, will advise on the results I get.

Thanks

Andrew


From: spring <spring-bounces@ietf.org> on behalf of "Joel M. Halpern" <jmh@joelhalpern.com>
Date: Wednesday, 4 March 2020 at 23:42
To: "spring@ietf.org" <spring@ietf.org>
Subject: [spring] SRv6 PSP use case

I think I have now inferred what the intended use case is for PSP. I
really wish folks had stated it in full and explicitly, rather than
implicitly a piece at a time, on the list.

As noted below after the explanation, I think that supporting this use
case does require some explanations somewhere. And given that the
support is in terms of PSP, I guess the NP draft is the place to put the
caveats.

As far as I can tell, the use case is as follows.
The operator has devices, that they reasonably wish to continue to use.
These devices can support encapsulation and decapsulation with
sufficiently arbitrary content.
These devices comply with the RFC 8200 requirement for ignoring routing
headers by punting those to the slow path. With significant performance
penalty.
-- Presumably, these devices have some form of protection to prevent
this slow-pathing from becoming a DoS on the other necessary control
functions. I don't think that protection is an SRv6 or NP problem. But
it is necessary.

Thus, the SRv6 designers want to be able to use these devices as part of
the SRv6 domain, strictly at entry and exit. They use PSP as a way to
avoid hitting the slow path on decapsulate. (Presumably because the
check that punts the packet to the slow path is before the check that
says "decapsulate". And it probably should be in that order.)

In order to support this, the authors have also pretended that maximum
SID depth is meaningful for a thing that is not a stack, and that 0
means "no SRH permitted". While an interesting stretch on the routing
protocol semantics, it is not SPRING's problem.

The fact that these nodes can not be SRv6 end nodes other than as
terminal nodes with a prior node that advertised PSP SID(s) and where
those PSP SIDs are used on any path that terminates at these end nodes
is important. It probably should be called out. It would have helped a
number of the examples that were discussed on the list.

There is another implication that needs to be stated explicitly. And I
do not know how the necessary property can be indicated. These nodes
MUST NOT be transit nodes in an SRv6 path.

Having parsed the use case, I would note that the topological
constraints are pretty severe. the operator must ensure that there are
PSP processing nodes sufficiently close to these edge nodes that they do
not destroy the traffic engineering properties in order to achieve the
ingress / egress utilization.

If all of this had been stated explicitly, I think we could have had a
clear discussion of teh costs and benefits.

Yours,
Joel

_______________________________________________
spring mailing list
spring@ietf.org
https://www.ietf.org/mailman/listinfo/spring<https://www.ietf.org/mailman/listinfo/spring>