[Detnet] 答复: New Version Notification for draft-pthubert-detnet-ipv6-hbh-01.txt

"Yangfan (IP Standard)" <shirley.yangfan@huawei.com> Wed, 23 June 2021 13:23 UTC

Return-Path: <shirley.yangfan@huawei.com>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 8C9583A3842; Wed, 23 Jun 2021 06:23:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id 8XRbmLIDCfl7; Wed, 23 Jun 2021 06:23:00 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C610E3A382C; Wed, 23 Jun 2021 06:22:56 -0700 (PDT)
Received: from fraeml740-chm.china.huawei.com (unknown []) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4G93bP1TDhz6J66k; Wed, 23 Jun 2021 21:12:49 +0800 (CST)
Received: from nkgeml707-chm.china.huawei.com ( by fraeml740-chm.china.huawei.com ( with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 23 Jun 2021 15:22:51 +0200
Received: from nkgeml701-chm.china.huawei.com ( by nkgeml707-chm.china.huawei.com ( with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 23 Jun 2021 21:22:49 +0800
Received: from nkgeml701-chm.china.huawei.com ([]) by nkgeml701-chm.china.huawei.com ([]) with mapi id 15.01.2176.012; Wed, 23 Jun 2021 21:22:49 +0800
From: "Yangfan (IP Standard)" <shirley.yangfan@huawei.com>
To: "Pascal Thubert (pthubert)" <pthubert=40cisco.com@dmarc.ietf.org>, Balázs Varga A <balazs.a.varga=40ericsson.com@dmarc.ietf.org>, DetNet WG <detnet@ietf.org>
CC: "raw@ietf.org" <raw@ietf.org>, "draft-hinden-6man-hbh-processing@ietf.org" <draft-hinden-6man-hbh-processing@ietf.org>
Thread-Topic: New Version Notification for draft-pthubert-detnet-ipv6-hbh-01.txt
Thread-Index: AQHXXGAXtlZ3GlpFqEmWs7L6IwUPz6sKB5zggA9eJnCAABhiEIAIDr3g
Date: Wed, 23 Jun 2021 13:22:49 +0000
Message-ID: <ea89752a28664e5f8ab620bcfd849b0d@huawei.com>
References: <162315455072.2639.8291756086249391036@ietfa.amsl.com> <CO1PR11MB4881E8BD24409460424D22F0D8379@CO1PR11MB4881.namprd11.prod.outlook.com> <AM0PR07MB53476E5292F4250CDBF47C49AC0D9@AM0PR07MB5347.eurprd07.prod.outlook.com> <CO1PR11MB488116FFD3B005528ECC1176D80D9@CO1PR11MB4881.namprd11.prod.outlook.com>
In-Reply-To: <CO1PR11MB488116FFD3B005528ECC1176D80D9@CO1PR11MB4881.namprd11.prod.outlook.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_ea89752a28664e5f8ab620bcfd849b0dhuaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/6A6RNYhcfpeqB8j2PB0FrrqpgCw>
Subject: [Detnet] 答复: New Version Notification for draft-pthubert-detnet-ipv6-hbh-01.txt
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 13:23:11 -0000

Hi Pascal,

Thanks for the draft, I am happy to see and expect IPv6 EHs could bring more progress and benefits to DetNet. Only speaking of IPv6, leveraging IPv6 EHs to carry meta info for DetNet is pretty neat, no matter in HbH, SRH or DOH, may depend on the use cases. In fact, ACH6<https://datatracker.ietf.org/doc/html/draft-yang-rtgwg-ipv6-associated-channel-00> is also saying the same idea, and I believe DetNet could be one of use cases.

Regarding the term path, it is a new perspective, not explicitly defined in DetNet architecture. I doubt whether it would bring substantial changes to DetNet. For example:

1) if both flow ID and path ID are required for DetNet?

2) if there are mapping states maintained at relay nodes, or as draft said state is required by all nodes?

3) if all the nodes should be aware of the path and states, why not just maintain the states based on flow, as flow aggregation is considered for sake of scalability?

can I understand DetNet flow identifies DetNet service sublayer, and path is used to identify the forwarding sublayer?

But for one thing I must admit it path concept definitely brings benefits to DetNet OAM.



发件人: detnet [mailto:detnet-bounces@ietf.org] 代表 Pascal Thubert (pthubert)
发送时间: 2021年6月18日 19:37
收件人: Balázs Varga A <balazs.a.varga=40ericsson.com@dmarc.ietf.org>; Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org>; DetNet WG <detnet@ietf.org>
抄送: raw@ietf.org; draft-hinden-6man-hbh-processing@ietf.org
主题: Re: [Detnet] New Version Notification for draft-pthubert-detnet-ipv6-hbh-01.txt

Hello Bala'zs

Many thanks for pointing out what might be unclear to the reader!

I'll update the draft to clarify the points you made there. I'm still answering inline to share with all what the intent is, and get feedback.

> In general:

> 1, Do You propose to use IPv6/UDP tunneling between DetNet relay nodes?

> "... the DetNet information ... and can be added by a service instance

> as part of the

> >>> encapsulation by the Ingress of the DetNet path <<<."

The draft proposes a pure L3/RFC8200 DetNet/IPv6 signaling, using an IPv6 EH. This is my reading of the intention of RFC 8200, as served by SRv6 or RPL today. To your question, and per RFC 8200:

- if the DetNet end points are the flow endpoints there is no encapsulation, and the HbH is placed by the flow source

- else, if the DetNet path endpoints are routers they'll need to encapsulate

This makes DetNet fully inline with the IPv6 architecture and open to the progress / extensions done elsewhere for IPv6. E.g., if the DetNet path leverages SRv6 for some reason - there are plausible ones in RAW -, the SRH will also inserted at the ingress and readily accessible without DPI next to the HbH EH.

Note also that the sequence is determined by the DetNet ingress point for the path independent of the flows that are carried within the path. The drafts adds the important distinction of path and flows, which was missing from the earlier dataplane document but present in the 6TiSCH and RAW architectures (https://www.rfc-editor.org/rfc/rfc9030.html#name-on-tracks, https://www.ietf.org/archive/id/draft-pthubert-raw-architecture-07.html#name-wireless-tracks), and can be signaled by RPL (https://datatracker.ietf.org/doc/html/draft-ietf-roll-dao-projection#section-9).

This distinction will make our OAM work easier, allowing non-IPPM OAM to traverse the same path as the flow(s) with the same treatment.

> 2, Are the proposed options encoded in the tunnel IPv6 header?

> " It can then be accessed by the intermediate DetNet routers

> >>> without <<< the need of a deep packet inspection (e.g., >>> beyond

> >>> UDP

> <<<)."

Yes, the packet has src/dst the detnet endpoints and the HbH is found after the outer IPv6 header.

See RFC8200 and https://www.rfc-editor.org/rfc/rfc9008.html#name-storing-mode for how that 's done in gory details.when the HbH being used is the RPL one. The draft extends the existing model to paths that would not be signaled using the RPL RPI (which signals a topology) but also using different path IDs.


> 3, All that DetNet functions need are FlowId and Sequence information.

> Could You please clarify the role of the path option for DetNet functions?

> Or path option is used by RAW (and not DetNet) specific functions?


The "path" is a wrapper for one or more flows (signaled by 5/6 tuple) and OAM packets to incur the same forwarding treatment. It is a Track in the 6TiSCH/RAW/ROLL terminology. Apparently DetNet favors the term path; the intention in the other groups was to avoid the serial (A->B->C->D) assumption that comes with legacy formulations of a path.

Using a path matches the original intention in the DetNet architecture was that a "flow" was a abstract group of packets that must incur the same treatment.

DetNet IP Dataplane decided to signal a flow with the 5-6 tuple, which IMHO caused issues such as same treatment for multiple flows and including OAM, different transport and address families. With eth IP DP you have to wrap them all in a L4 wrapper like UDP, which defeats the purpose of operating at the network layer.

The draft restores the original abstract grouping signaled by a pure L3 information and avoids reliance on the transport information. It also avoids the lookup of the transport header that can be deep in the packet and may cause issues when the hardware cannot parse deep enough down the IPv6 header chain.

> In particular:

> 4, If a tunnel is used, why not to encode the information in

> Destination Options header?

Because it is used by all hops to locate the forwarding information associated to the path.

That's what HbH EH is about.

> Sequence information is not used by DetNet Transit nodes.

RFC 8200 allows intermediate routers to ignore the HbH options they do not understand. That's encoded in the option type.

> " In that context, it makes sense to consider >>> Hop-by-Hop Options

> <<< to transport the information that is relevant to DetNet."


> 5, Why are new sequence counter formats needed?

> " ... and it is possible that the value 0 is reserved when wrapping,

> to the option offers both possibilities, wrapping to either 0 or to 1."

There are some sequence counters that behave like that. This enables to embed them directly.

> 6, Could You please clarify why time stamp is needed? For which DetNet

> function?

> " This specification also allows to use a time stamp for the packet

> redundancy information, ..."

Timestamping is an alternate sequencing technique, that avoids maintaining per-path state at the path ingress. Which is quite cool if you think about it, considering that determinism comes with a very precise sense of time anyway.

As long as the time granularity is in the order of a few bytes transmission the system timestamp provides an absolute sense of ordering over a very long period across all paths for which this node is ingress, and thus within any of those. With no additional state to maintain. Just program the hardware timestaping to write the offset wherewhen the OH is located.


> 7, R-Tag format and sequencing function is defined by 802.1CB-2017. It

> is incremented by 1 when a packet is sent. Have I missed something here?

> "... though it >>> cannot <<< be assumed that the R-Tag is

> sequentially incremented; ..."

It cannot be assumed for 2 reasons:

- only the last 2 bytes of 6 are incremented and the wrapping happens there. Knowing that fact is already a layer violation.

- R-TAG it is owned by IEEE 802 and subject to redefinition there, as you are proposing at this very moment, wishing you the best on that.

The bottom line is that since we (IETF) do not own the properties of the 6-byte field, we cannot depend on its properties, beyond the fact that it is unique within a reasonable set of sequential packet so all packets with the same value (+ same tag) are redundant. The intension is that the values are stored in full and individually as opposed to considered as a range.


> 8, Is the hybrid model used by a RAW function?

> " This specification also allows for an >> hybrid model <<< with a

> coarse grained packet sequence within a coarse grained time stamp."

No, but it is already used in draft-ietf-rift-rift; it is a very cool thing when the sense of time is derived from NTP as opposed to PTP.

> 9, What DetNet state is meant her?

> " When present, it is the information that MUST be used to select the

> >>> DetNet state <<< at the DetNet forwarding sublayer.

That's the information as was configured by the PCE for the flow and that indicates the per flow behavior.

My deepest thanks Bala'zs for pointing out places where the draft is lacking clarity. I'll publish an improved version asap. If you agree with the principles I laid out here (including the OAM incorporation), please feel free to consider joining me in this effort.

Keep safe



> Thanks

> Bala'zs


> -----Original Message-----

> From: detnet <detnet-bounces@ietf.org<mailto:detnet-bounces@ietf.org>> On Behalf Of Pascal Thubert

> (pthubert)

> Sent: Tuesday, June 8, 2021 2:23 PM

> To: DetNet WG <detnet@ietf.org<mailto:detnet@ietf.org>>

> Cc: raw@ietf.org<mailto:raw@ietf.org>; draft-hinden-6man-hbh-processing@ietf.org<mailto:draft-hinden-6man-hbh-processing@ietf.org>

> Subject: [Detnet] FW: New Version Notification for

> draft-pthubert-detnet- ipv6-hbh-01.txt


> Dear DetNet


> This new draft is an effort to equalize the work at RAW and DetNet in

> terms of path signaling in the IPv6 dataplane, and provide the same

> capabilities in the MPLS and the IPv6 for sequencing.

> It recognizes and leverages the recent evolution at 6MAN which makes

> the HBH OH more and more usable in the greater internet.


> Comments welcome!


> Pascal


> -----Original Message-----

> From: internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> <internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>>

> Sent: mardi 8 juin 2021 14:16

> To: Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>>

> Subject: New Version Notification for draft-pthubert-detnet-ipv6-hbh-

> 01.txt



> A new version of I-D, draft-pthubert-detnet-ipv6-hbh-01.txt

> has been successfully submitted by Pascal Thubert and posted to the

> IETF repository.


> Name:            draft-pthubert-detnet-ipv6-hbh

> Revision:        01

> Title:               IPv6 Hop-by-Hop Options for DetNet

> Document date:   2021-06-08

> Group:            Individual Submission

> Pages:            10

> URL:            https://www.ietf.org/archive/id/draft-pthubert-detnet-

> ipv6-hbh-01.txt

> Status:         https://datatracker.ietf.org/doc/draft-pthubert-detnet-

> ipv6-hbh/

> Html:           https://www.ietf.org/archive/id/draft-pthubert-detnet-

> ipv6-hbh-01.html

> Htmlized:       https://datatracker.ietf.org/doc/html/draft-pthubert-

> detnet-ipv6-hbh

> Diff:           https://www.ietf.org/rfcdiff?url2=draft-pthubert-detnet-

> ipv6-hbh-01


> Abstract:

>    RFC 8938, the Deterministic Networking Data Plane Framework relies on

>    the 6-tuple to identify an IPv6 flow.  But the full DetNet operations

>    require also the capabilities to signal meta-information such as a

>    sequence within that flow, and to transport different types of

>    packets along the same path with the same treatment, e.g.,

>    Operations, Administration, and Maintenance packets and/or multiple

>    flows with fate and resource sharing.  This document introduces new

>    Hop-by-Hop header options that can signal that information to the

>    intermediate relays.





> The IETF Secretariat



> _______________________________________________

> detnet mailing list

> detnet@ietf.org<mailto:detnet@ietf.org>

> https://www.ietf.org/mailman/listinfo/detnet


> --

> RAW mailing list

> RAW@ietf.org<mailto:RAW@ietf.org>

> https://www.ietf.org/mailman/listinfo/raw


detnet mailing list