Re: [IPv6] Progress of comments resolution on draft-ietf-6man-enhanced-vpn-vtn-id

"Dongjie (Jimmy)" <jie.dong@huawei.com> Tue, 19 December 2023 02:57 UTC

Return-Path: <jie.dong@huawei.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 626E7C14CE42; Mon, 18 Dec 2023 18:57:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.207
X-Spam-Level:
X-Spam-Status: No, score=-4.207 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pmN1Mh93PCp4; Mon, 18 Dec 2023 18:57:25 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7BDC7C15107A; Mon, 18 Dec 2023 18:57:25 -0800 (PST)
Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4SvLsC57yXz6K8pY; Tue, 19 Dec 2023 10:55:11 +0800 (CST)
Received: from lhrpeml500006.china.huawei.com (unknown [7.191.161.198]) by mail.maildlp.com (Postfix) with ESMTPS id B16841400DB; Tue, 19 Dec 2023 10:57:14 +0800 (CST)
Received: from dggpemm500008.china.huawei.com (7.185.36.136) by lhrpeml500006.china.huawei.com (7.191.161.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 19 Dec 2023 02:57:13 +0000
Received: from kwepemd100004.china.huawei.com (7.221.188.31) by dggpemm500008.china.huawei.com (7.185.36.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 19 Dec 2023 10:57:11 +0800
Received: from kwepemd100004.china.huawei.com ([7.221.188.31]) by kwepemd100004.china.huawei.com ([7.221.188.31]) with mapi id 15.02.1258.028; Tue, 19 Dec 2023 10:57:11 +0800
From: "Dongjie (Jimmy)" <jie.dong@huawei.com>
To: Ketan Talaulikar <ketant.ietf@gmail.com>, "Dongjie (Jimmy)" <jie.dong=40huawei.com@dmarc.ietf.org>
CC: "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "adrian@olddog.co.uk" <adrian@olddog.co.uk>, 6man <ipv6@ietf.org>, "draft-ietf-6man-enhanced-vpn-vtn-id@ietf.org" <draft-ietf-6man-enhanced-vpn-vtn-id@ietf.org>
Thread-Topic: [IPv6] Progress of comments resolution on draft-ietf-6man-enhanced-vpn-vtn-id
Thread-Index: AQHaLR01Y1R43W8G1UWMSw5Ldo9B17CoMC6AgAbxxID//6ATgIABJMSg
Date: Tue, 19 Dec 2023 02:57:11 +0000
Message-ID: <f87bbecf361e4155b5dbf288913e27ce@huawei.com>
References: <165d35ecaaa44a3daff0783cd161eb12@huawei.com> <014c01da2cde$f6e31510$e4a93f30$@olddog.co.uk> <2fcc89b28bc64c7cb5cf2abf20319006@huawei.com> <021e01da2d1d$2efc2930$8cf47b90$@olddog.co.uk> <DU2PR02MB1016002CC68F1D799A4562D9D888CA@DU2PR02MB10160.eurprd02.prod.outlook.com> <fc34b0f89c3f4af2b4fb5c5dc5d9f7bd@huawei.com> <CAH6gdPyxjcRZjKcwZ7GckdR-APubTVU4WvRAjjBTStSqx_URnA@mail.gmail.com>
In-Reply-To: <CAH6gdPyxjcRZjKcwZ7GckdR-APubTVU4WvRAjjBTStSqx_URnA@mail.gmail.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.112.40.66]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/6gBi9-wW9q2FiViAGd0OKdZkzoo>
Subject: Re: [IPv6] Progress of comments resolution on draft-ietf-6man-enhanced-vpn-vtn-id
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Dec 2023 02:57:32 -0000

Hi Ketan, 

Thanks for the comment. As you have corrected in another mail, this flag is not in the SRH. 

I see you also agree that when the NRP ID in packet does not match with any NRP-ID available on the node, an indication to control whether to drop or fallback to best effort is needed. 

If you read my below email carefully, such indication is not a simple global nob, it needs to be (at least) per-NRP, and actually it is for NRPs which are NOT provisioned on the local node/outgoing interface. This is different from what we usually do with configuration. Also note if using local configuration, this needs to be configured on every node along the path, not just the ingress node. This would further complicate the provisioning. 

Thus it is considered more efficient to have the policy configured on the ingress node (which is be part of the NRP), and convey the indication to the downstream nodes together with the packet. 

The existing TOS/DSCP/EXP are for QoS class indication, which are still useful within an NRP, so it is better not to overload them with additional semantics. 

Best regards,
Jie

> -----Original Message-----
> From: Ketan Talaulikar [mailto:ketant.ietf@gmail.com]
> Sent: Tuesday, December 19, 2023 12:42 AM
> To: Dongjie (Jimmy) <jie.dong=40huawei.com@dmarc.ietf.org>
> Cc: mohamed.boucadair@orange.com; adrian@olddog.co.uk; 6man
> <ipv6@ietf.org>; draft-ietf-6man-enhanced-vpn-vtn-id@ietf.org
> Subject: Re: [IPv6] Progress of comments resolution on
> draft-ietf-6man-enhanced-vpn-vtn-id
> 
> Hi Jie,
> 
> I concur with Med on this one and don't see the need for the S-flag. We've
> had TOS/DSCP/EXP for QoS where exactly the same scenario exists and we've
> never had the need for such a flag/indication on the packet.
> 
> This looks something like a local configuration/policy on the router to me
> - drop or fallback.
> 
> We have very limited (8) flags on the SRH and there should be really strong
> and compelling reasons for allocating one. This one doesn't look like such.
> 
> Thanks,
> Ketan
> 
> 
> On Mon, Dec 18, 2023 at 9:17 PM Dongjie (Jimmy) <jie.dong=
> 40huawei.com@dmarc.ietf.org> wrote:
> 
> > Hi Med and Adrian,
> >
> > Thanks for the discussion. Here I'd like to give some further
> > explanation about the usage of the S bit and why it is considered useful.
> >
> > In normal IPv6 packet forwarding, the next-hop and outgoing interface
> > are determined based on longest matching of the destination IPv6 address.
> > Packets with unmatched destination address are always dropped.
> >
> > After the introduction of the VTN (or NRP, will use VTN just in this
> > mail) option, the next-hop and outgoing interface are still determined
> > based on the destination address, this is unchanged.
> >
> > Then for packets whose next-hop and outgoing interface are determined,
> > the VTN ID in the packet is used to match with the sets of local
> > resources allocated to VTNs on the outgoing interface. There are two
> possible results:
> >
> >   1) The VTN ID in the packet matches with the same VTN ID which is
> > configured on the outgoing interface with a set of network resources,
> > then the packet is forwarded using that set of resources.
> >
> >   2) The VTN ID in the packet does not match with any VTN ID
> > configured on the outgoing interface. How should the node behave in
> > this case? There are two options: 1) forward the packet with best effort. 2)
> discard the packet.
> >
> > The S flag is used to tell the node how to forward the packet when the
> > VTN-ID is not configured on the outgoing interface.
> >
> > With the above, I hope the functionality of the S flag is clear.
> >
> > Then the possible question is can this be achieved by configuration?
> >
> > The answer is it can, but possibly with a relatively higher cost. Note
> > this is to control the behavior for NRPs which are not provisioned on
> > the node's outgoing interface. Usually devices do not provide control
> > configuration for elements which are not enabled. Even if such
> > configuration is supported, as the behavior can be different per NRP,
> > this requires lots of configuration for NRPs which are not enabled.
> > Then we also need to consider the case where the behavior may be
> > different for different flows under the same NRP...
> >
> > One analogy (not quite the same) to the S flag is the bits in IPv6
> > extension header options which are used to control the forwarding
> > behavior when the option cannot be parsed by some node. That may also
> > be achieved via configuration on the nodes, while it turns out a
> > better choice is to use flags to indicate the behavior for unrecognized
> entities.
> >
> > With the above analysis, hope you also agree that the S flag is a more
> > efficient approach for the required functionality.
> >
> > Best regards,
> > Jie
> >
> > > -----Original Message-----
> > > From: mohamed.boucadair@orange.com
> <mohamed.boucadair@orange.com>
> > > Sent: Thursday, December 14, 2023 8:23 PM
> > > To: adrian@olddog.co.uk; Dongjie (Jimmy) <jie.dong@huawei.com>
> > > Cc: '6man' <ipv6@ietf.org>;
> > > draft-ietf-6man-enhanced-vpn-vtn-id@ietf.org
> > > Subject: RE: [IPv6] Progress of comments resolution on
> > > draft-ietf-6man-enhanced-vpn-vtn-id
> > >
> > > Hi Adrian,
> > >
> > > > If the reason for splitting was technical or made for a radical
> > > > improvement in readability, I might buy it. But I think it is
> > > > purely a documentation issue.
> > >
> > > It isn't.
> > >
> > > The issue is that the use of the S bit is not justified, including
> > > with
> > the case you
> > > mentioned below. This scan be handled by a local config parameter. I
> > fail to see
> > > valid arguments so far why a per-NRP per-packet behavior will needed
> > > to process a packet.
> > >
> > > Cheers,
> > > Med
> > >
> > > > -----Message d'origine-----
> > > > De : ipv6 <ipv6-bounces@ietf.org> De la part de Adrian Farrel Envoyé :
> > > > mardi 12 décembre 2023 18:04 À : 'Dongjie (Jimmy)'
> > > > <jie.dong@huawei.com> Cc : '6man' <ipv6@ietf.org>;
> > > > draft-ietf-6man-enhanced-vpn-vtn- id@ietf.org Objet : Re: [IPv6]
> > > > Progress of comments resolution on draft-ietf-
> > > > 6man-enhanced-vpn-vtn-id
> > > >
> > > > Hi Jie,
> > > >
> > > > I rather expected some more comments on this, and I sat back to
> > > > watch them, but then it went quiet and I forgot.
> > > >
> > > > So, "better late than never".
> > > >
> > > > As an aside, I wonder whether you should follow the advice given
> > > > by TEAS in its work on draft-ietf-teas-enhanced-vpn, and feeding
> > > > into IDR on draft-dong-idr-sr-policy-nrp. That is, generalise the
> > > > VTN use case to NRP. I don't think this makes any technical change
> > > > to the document, but makes the applicability wider (more
> > > > generic) in step with what TEAS is doing. This seems to in keeping
> > > > with the suggestions in your Section 5. But it would require some
> > > > editorial work.
> > > >
> > > > I am not enthusiastic about splitting out multiple documents. It
> > > > just makes more work.
> > > >
> > > > While I understand that the authors and Med thought this might be
> > > > a compromise, I doubt that the authors really want to do this
> > > > (that is, make more work for themselves) and since no one spoke up
> > > > on the list, I wonder whether it the (perfectly valid) preference
> > > > of only one person.
> > > >
> > > > If the reason for splitting was technical or made for a radical
> > > > improvement in readability, I might buy it. But I think it is
> > > > purely a documentation issue.
> > > >
> > > > It is worth noting that if the document was split then, without
> > > > the S flag, the whole flags field would be unused in the remaining
> document