Re: [spring] How CRH support SFC/Segment Endpoint option?

James Guichard <james.n.guichard@futurewei.com> Sun, 24 May 2020 23:58 UTC

Return-Path: <james.n.guichard@futurewei.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 49B933A0E19; Sun, 24 May 2020 16:58:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.09
X-Spam-Level:
X-Spam-Status: No, score=-2.09 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_H2=-0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.com
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 gnMoZxrfL5yL; Sun, 24 May 2020 16:58:39 -0700 (PDT)
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2124.outbound.protection.outlook.com [40.107.243.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DA1F3A0E18; Sun, 24 May 2020 16:58:39 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z+Ru7rk+B9vE5HD8KzgqeycqNRXH9UnU/zMZuAbZ9/OG83HK7nlILHu3f+1x6dgRfIAKxrlu08lIzWso7eSLiEjB8M+tqmlfZXK/7k8j0xsrD49ZJrjl8iqZThXOEBdIxIYbBVOCyKAkGCmj8yuqc6S+PSZWPRT/PSR3QbW5d5Cn++I7FiI9n+ApzpCowD4a7tIW58WhvuHqA/3hW6VDl7D9kQLjXdhU/FZw4W+UiXhYOEwxDFhN46OrONpUSbDXCOH/+UM+d6nKQNVkh9hM4MReerm4q49G7UcduSiEr7TmOoG4KtG60kY7I1tkEUcZBOfTcDzkI+0JAZokCgrjpA==
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=Xp7WoY2SkF+nWiWUfqdgCx89WQVGW5UQTVTMIwK9+JM=; b=T6oSC36eHfZPLKYh4/NhghBajSsOfu3kF7MYoBF33EIP3qRPz0daL2wC6yQO8+WjReTaYzrLOQp4QbGly7wpxUD259/pb+bR93o0N8pK3Ow8wg+1IHtAthZl+BaJOMuUt+8AIZydGhCwJ/AhJFwz/YYcG/6YtBtyBXRcrdmgcUi6pWAWd7mttzG/sr1Qv6QLlGJ6G7ouMtH1VuTLOMCyDw/R1sqOWuFQuJSOuIUUga3e717rDTjMBN5eE8QRccycPHERsHpo1PY3YMsFdgD7d8I5dThhq53P/b6cNtESvrHCXF1mwliN7r0KHYsMnWDUOJ/YTuxfjD52AX5HOP8evQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=futurewei.com; dmarc=pass action=none header.from=futurewei.com; dkim=pass header.d=futurewei.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xp7WoY2SkF+nWiWUfqdgCx89WQVGW5UQTVTMIwK9+JM=; b=Go4l6OGahZwkmIDcyRnTwf+tW43nheDRInQoZUSQLfgF3B7ZF1n0f/c/fleo702XiueUCxM8+X0a2rjXTN8mtGut+GoKLZCBt4JtzyWfdWEbltJ0rwrNajLataALSBXaWtdSTHHnhOm5fPXP3bxkq7IjOf9CF8dBlgr3xg4Zxds=
Received: from DM6PR13MB3066.namprd13.prod.outlook.com (2603:10b6:5:19d::18) by DM6PR13MB3707.namprd13.prod.outlook.com (2603:10b6:5:247::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.8; Sun, 24 May 2020 23:58:37 +0000
Received: from DM6PR13MB3066.namprd13.prod.outlook.com ([fe80::a024:eb2c:7574:b7b7]) by DM6PR13MB3066.namprd13.prod.outlook.com ([fe80::a024:eb2c:7574:b7b7%7]) with mapi id 15.20.3045.009; Sun, 24 May 2020 23:58:37 +0000
From: James Guichard <james.n.guichard@futurewei.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
CC: "spring@ietf.org" <spring@ietf.org>, 6man <6man@ietf.org>
Thread-Topic: [spring] How CRH support SFC/Segment Endpoint option?
Thread-Index: AdYwBYkgTau2vInrR6WP+x+iqlpN9gAPJDmwADf+cOAAEX/LgAATRtiAABYR7YAAAFArgAAFULuwAACh34AAAADfkA==
Date: Sun, 24 May 2020 23:58:37 +0000
Message-ID: <DM6PR13MB306604DF490658E94E267381D2B20@DM6PR13MB3066.namprd13.prod.outlook.com>
References: <C7C2E1C43D652C4E9E49FE7517C236CB02A2CD12@dggeml529-mbx.china.huawei.com> <DM6PR05MB63482CFA4D5AB938D5A4B818AEB40@DM6PR05MB6348.namprd05.prod.outlook.com> <C7C2E1C43D652C4E9E49FE7517C236CB02A37DC6@dggeml509-mbs.china.huawei.com> <DM6PR05MB63489256A7C8357BEF526EE2AEB20@DM6PR05MB6348.namprd05.prod.outlook.com> <CAOj+MMGLj9OgFCcsB21oWXbcCqHZ7B4qTvCcrK9LXuKDYVu_vQ@mail.gmail.com> <811e0a83-6dee-5d08-2293-832d0eb6708a@gmail.com> <CAOj+MMFom5p2YYM6==RhHEe3S-8e-dd9y16_At6-M55b9aPcOw@mail.gmail.com> <DM6PR13MB30663AAD8D09C09C526F7592D2B20@DM6PR13MB3066.namprd13.prod.outlook.com> <fd6447a9-c9e7-18b0-8fa3-28a5b3d85e2f@joelhalpern.com>
In-Reply-To: <fd6447a9-c9e7-18b0-8fa3-28a5b3d85e2f@joelhalpern.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: joelhalpern.com; dkim=none (message not signed) header.d=none;joelhalpern.com; dmarc=none action=none header.from=futurewei.com;
x-originating-ip: [47.14.47.233]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: db078611-49f7-49f7-5230-08d8003e600a
x-ms-traffictypediagnostic: DM6PR13MB3707:
x-microsoft-antispam-prvs: <DM6PR13MB37077B4483C0046B252C9328D2B20@DM6PR13MB3707.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0413C9F1ED
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: KGMTMqgBo5O2My8zAAQ73SEVjnW7ZbPJoXn0ANFNcxSc1ZJlXclKAQXasrEpBX5RpIG479AKTU4qSdkTwvu/ssyHsCX5WIsBetYcsYIpVWRDj60dpX8ph4IZrT4xhGMFXVR2gzu0YGQkfZGwZBNDA+EPbhBIhTPpJMjwsSnISCqY6kt3BUaD+5REtbqmmv4MJOKTevndv9cHm5wzRKTOlaR98YabWaI27D8P5GlNClJLYxXEgMbQfdZdZNQ54pkoTgAcabT+k0qpVlqbDEPMKp1zzsv6IZ3aNMZl3E9pd2YAXXYyduynHN2SHYa6IB+52NFIQgXMnVQ6oqeuotVgBkg7En+kkDU/seWhebamUwCZo7m0mX3QKG7Hi0QPgHXbc/4X6O9SOTrEgKi9mV0alg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR13MB3066.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(376002)(39830400003)(346002)(136003)(71200400001)(966005)(33656002)(52536014)(45080400002)(478600001)(8676002)(8936002)(66476007)(316002)(66446008)(6506007)(4326008)(64756008)(66556008)(66946007)(53546011)(76116006)(6916009)(54906003)(55016002)(2906002)(7696005)(5660300002)(26005)(86362001)(83080400001)(186003)(9686003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: ePiSF3CK6Xuq+G/HKt2WazIhC7YhOaSBdTdChOK0Jh2+z/O5FLxJFBxmwtiKJYCNRSX2hD+D5Bofoke3CRugmHNkNMKSVMieyJiTc6O8vlqMRUKpU8B+ODgy2q6NI0ELnTXun+uP9oaM8O7m8Oku38HtwWT+ba1BLmPHFQkdaQIvoNd0ZEtJMX+cS1cjuu0pPsDHVBV5FjORJM4Xv5Baf2bR2m4FkuZKVzK+h4AwHyMFJMqIFz+I6jqTtvfkPloHjCvTr3G07Nt5M+c0VKj59nZHhHcDs8vST06dm0PMO75/TVIvdrA53oq7/rOW0rzYh3mBgRhW7Fg6K5Xlc9iLAoDDOtqYeT7DQJsON/02K6oMi8rBavQVapv866NhRZ8kpHI4fWtvzqRFLqJcgayffx78GwXllAMER7lfr5v8tfahqeWBwaQiFEyJQ8cFooLRvhCh89fdNsVOl5F2j1aS0OnyIRkRSVPLHxH/ukWgwC4=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-Network-Message-Id: db078611-49f7-49f7-5230-08d8003e600a
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2020 23:58:37.1007 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: i0wTwQg08YyiL6bO6RohBgIVIOTSGMzB3XBGjBrbGqlDENr41wMw7qCADU1L5COsiYpc1sF/zbL6C+3EWUgdPQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB3707
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/LsA3o2xuSdIqTiaVTvwSv9YIfsk>
Subject: Re: [spring] How CRH support SFC/Segment Endpoint option?
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: Sun, 24 May 2020 23:58:41 -0000

Hi Joel,

I have a vague recollection of that and will do some digging. However, it seems fair to say that CRH in its current form can only support complex service chaining by utilizing NSH unlike SRv6 that has the capability to encode as many services as you want in the SRH, or if you prefer integrate with NSH.

Jim


-----Original Message-----
From: Joel M. Halpern <jmh@joelhalpern.com> 
Sent: Sunday, May 24, 2020 7:53 PM
To: James Guichard <james.n.guichard@futurewei.com>
Cc: spring@ietf.org; 6man <6man@ietf.org>
Subject: Re: [spring] How CRH support SFC/Segment Endpoint option?

We did construct (and describe in an I-D) a version of the PSSI that carried multiple instructions, with marking as to which SL values applied to which instructions.  Tom Herbert constructed a different workable encoding for this functionality.  No one seemed interested.

So rather than worry about perfect equivalence with other things, we worried about getting what we needed to have for what was being requested.

Yours,
Joel

On 5/24/2020 7:48 PM, James Guichard wrote:
> It seems to me that RFC8200 could not be clearer when it states that 
> there is an order to how extension headers are processed (see [1]) and 
> if a DOH precedes a routing header then **every** node in the routing 
> header must process the DOH; which leads me to wonder how a service 
> chain could be supported unless only a single service is needed in a 
> chain and that service be placed as the last node in the routing 
> header so that a DOH could be added **after** the routing header and 
> therefore only be processed by the last node.
> 
> [1] RFC8200 section 4.1
> 
>        note 1: for options to be processed by the first destination 
> that
> 
>                appears in the IPv6 Destination Address field plus
> 
>                subsequent destinations listed in the Routing header.
> 
>        note 3: for options to be processed only by the final 
> destination
> 
>                of the packet.
> 
> ** note 1 is for DOH preceding routing header and note 3 is for DOH 
> after routing header.
> 
> Jim
> 
> *From:* spring <spring-bounces@ietf.org> *On Behalf Of *Robert Raszuk
> *Sent:* Sunday, May 24, 2020 5:03 PM
> *To:* Brian E Carpenter <brian.e.carpenter@gmail.com>
> *Cc:* Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>;
> spring@ietf.org; 6man <6man@ietf.org>
> *Subject:* Re: [spring] How CRH support SFC/Segment Endpoint option?
> 
> Hi Brian,
> 
> No playing with words intended at all.
> 
> But as you very well know half of the room read RFC8200 verbatim to 
> what the definition of destination node is. Clearly segment endpoint 
> address would be the "local" destination of the packet when it receives it.
> 
> It seems very clear that RFC8200 authors did not expect that packet 
> may have more then one destination in a domain :)  That seems to be a crux.
> 
> *Let's please do not restart that topic.* I asked this question as I 
> am curious for RbR - how to prevent midpoints to examine DOH if 
> someone would choose to carry VPN demux label there.
> 
> What is there in the packet when packet is received by a segment 
> endpoint (transit point) to tell - STOP ... this is not a packet for 
> you
> - skip DOH - but go and examine other RHs ?
> 
> Thank you,
> 
> R,
> 
> On Sun, May 24, 2020 at 10:54 PM Brian E Carpenter 
> <brian.e.carpenter@gmail.com <mailto:brian.e.carpenter@gmail.com>> wrote:
> 
>     Hi Robert,
> 
>     On 24-May-20 22:22, Robert Raszuk wrote:
>      > Hi Ron,
>      >
>      > I have one small question on the Destination Option Header you
>     keep referencing to carry for example VPN demux instructions.
>      >
>      > As DOH follows Fragment Header it is indeed inspected before CRH.
>      >
>      > So please kindly clarify what is there in the IPv6 packet header
>     which would stop each segment endpoint (during the transit over SR
>     anchors)  which destination is obviously in DA of the arriving
>     packet not to inspect DOH and not trying to execute it ?
>      >
>      > If you could please also provide reference to RFC8200 defining it..
> 
>     I think you are playing with words a bit here. 8200 says:
>     "The Destination Options header is used to carry optional information
>     that need be examined only by a packet's destination node(s)."
> 
>     That clearly means that other nodes *do not need* to examine the
>     DOH, so they can simply skip over it. Because it isn't encrypted, of
>     course they physically can examine it if they want to waste CPU
>     cycles, but they *do not need* to do so. Since they are not the
>     destination node, obviously the information in the DOH is not
>     intended for them. If it isn't obvious that they are not intended to
>     act on that information, I don't know why we bother to write RFCs at
>     all.
> 
>     Regards
>          Brian
> 
> 
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> ietf.org%2Fmailman%2Flistinfo%2Fspring&amp;data=02%7C01%7Cjames.n.guic
> hard%40futurewei.com%7C45543ce3c6e348e781e308d8003da5ff%7C0fee8ff2a3b2
> 40189c753a1d5591fedc%7C1%7C0%7C637259612082424038&amp;sdata=pPaP%2Byla
> xoDhRW%2BnseevQ0%2FCcVDkm0x6XukULxCtQDI%3D&amp;reserved=0
>