Re: [ippm] draft-ietf-ippm-ioam-data and a new draft for IOAM flags

Tianran Zhou <zhoutianran@huawei.com> Tue, 09 July 2019 08:53 UTC

Return-Path: <zhoutianran@huawei.com>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 072821203A1 for <ippm@ietfa.amsl.com>; Tue, 9 Jul 2019 01:53:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.099
X-Spam-Level:
X-Spam-Status: No, score=-4.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_MED=-2.3, 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 5c6YGq0KtZwP for <ippm@ietfa.amsl.com>; Tue, 9 Jul 2019 01:53:15 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 4A7431203B2 for <ippm@ietf.org>; Tue, 9 Jul 2019 01:53:13 -0700 (PDT)
Received: from LHREML713-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 36F259BD3CF8E8A3FC3D for <ippm@ietf.org>; Tue, 9 Jul 2019 09:53:11 +0100 (IST)
Received: from NKGEML413-HUB.china.huawei.com (10.98.56.74) by LHREML713-CAH.china.huawei.com (10.201.108.36) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 9 Jul 2019 09:53:10 +0100
Received: from NKGEML515-MBS.china.huawei.com ([169.254.5.134]) by NKGEML413-HUB.china.huawei.com ([10.98.56.74]) with mapi id 14.03.0415.000; Tue, 9 Jul 2019 16:53:05 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: "Frank Brockners (fbrockne)" <fbrockne@cisco.com>, Haoyu Song <haoyu.song@futurewei.com>, "ippm@ietf.org" <ippm@ietf.org>
CC: "rbonica@juniper.net" <rbonica@juniper.net>
Thread-Topic: draft-ietf-ippm-ioam-data and a new draft for IOAM flags
Thread-Index: AdUylCYVrsvRvlcmSe+4uK422z4Y9AAPUIRwAKsmw9AAC4/ngAAVbToAAApWcuAAAeAiQA==
Date: Tue, 09 Jul 2019 08:53:04 +0000
Message-ID: <BBA82579FD347748BEADC4C445EA0F21BEE7C479@NKGEML515-MBS.china.huawei.com>
References: <MN2PR11MB3629C8C5084B57ABE3B67E16DAFA0@MN2PR11MB3629.namprd11.prod.outlook.com> <BBA82579FD347748BEADC4C445EA0F21BEE79042@NKGEML515-MBS.china.huawei.com> <MN2PR11MB36298528FB8B221537913C23DAF60@MN2PR11MB3629.namprd11.prod.outlook.com> <MN2PR13MB35822D72438EEB1DA0A08FA79AF60@MN2PR13MB3582.namprd13.prod.outlook.com> <BBA82579FD347748BEADC4C445EA0F21BEE7C43F@NKGEML515-MBS.china.huawei.com> <MN2PR11MB3629C91B72FE1F706A1235A0DAF10@MN2PR11MB3629.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB3629C91B72FE1F706A1235A0DAF10@MN2PR11MB3629.namprd11.prod.outlook.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.156.116]
Content-Type: multipart/alternative; boundary="_000_BBA82579FD347748BEADC4C445EA0F21BEE7C479NKGEML515MBSchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/iSDoMEpQZx646MAwxRrT8dy4IkE>
Subject: Re: [ippm] draft-ietf-ippm-ioam-data and a new draft for IOAM flags
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jul 2019 08:53:21 -0000

Hi Frank,

Based on "FB2", my comments were mainly about the draft-mizrahi-ippm-ioam-flags-00.
Hope we can discuss on them to achieve the consensus.

Regards,
Tianran

From: Frank Brockners (fbrockne) [mailto:fbrockne@cisco.com]
Sent: Tuesday, July 09, 2019 3:57 PM
To: Tianran Zhou <zhoutianran@huawei.com>; Haoyu Song <haoyu.song@futurewei.com>; ippm@ietf.org
Cc: rbonica@juniper.net
Subject: RE: draft-ietf-ippm-ioam-data and a new draft for IOAM flags

Hi Tianran,

Please see inline ("FB2").

From: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>
Sent: Dienstag, 9. Juli 2019 09:47
To: Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>>; Frank Brockners (fbrockne) <fbrockne@cisco.com<mailto:fbrockne@cisco.com>>; ippm@ietf.org<mailto:ippm@ietf.org>
Cc: rbonica@juniper.net<mailto:rbonica@juniper.net>
Subject: RE: draft-ietf-ippm-ioam-data and a new draft for IOAM flags

Hi Frank,

Some comments added on Haoyu. Please see in line.

Tianran

From: Haoyu Song [mailto:haoyu.song@futurewei.com]
Sent: Tuesday, July 09, 2019 12:54 AM
To: Frank Brockners (fbrockne) <fbrockne@cisco.com<mailto:fbrockne@cisco.com>>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; ippm@ietf.org<mailto:ippm@ietf.org>
Cc: rbonica@juniper.net<mailto:rbonica@juniper.net>
Subject: RE: draft-ietf-ippm-ioam-data and a new draft for IOAM flags

My comments below.

Haoyu

From: ippm <ippm-bounces@ietf.org<mailto:ippm-bounces@ietf.org>> On Behalf Of Frank Brockners (fbrockne)
Sent: Monday, July 08, 2019 4:42 AM
To: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; ippm@ietf.org<mailto:ippm@ietf.org>
Cc: rbonica@juniper.net<mailto:rbonica@juniper.net>
Subject: Re: [ippm] draft-ietf-ippm-ioam-data and a new draft for IOAM flags

Hi Tianran,

Thanks for your comments. Per the WG discussion: "IOAM flags draft" (i.e. draft-mizrahi-ippm-ioam-flags-00) is not really a new draft, but it temporarily farms out the flags discussion that already existed in draft-ietf-ippm-ioam-data-05 into a dedicated document - so that we can finalize draft-ietf-ippm-ioam-data as quickly as possible. There isn't any new proposal in the flags draft. We intentionally did not change the contents - the objective was just to split the document.
In addition, the purpose of the flags draft is to motivate and define the flags, rather than detail procedures which would go beyond the definition of the flags. Those definitions could well live in dedicated documents (see more comments below). An evolved version of the postcard I-D that you refer to below - or probably a new focused I-D, could be such a more specific document.

[Tianran] Yes, I know the reason to split the draft. My comments were mainly about the draft-mizrahi-ippm-ioam-flags-00.
But now I am confused with the purpose of the draft-mizrahi-ippm-ioam-flags-00 based on your statements.
To be clear, do you mean you are not going to evolve this draft? I.e., it's temporary. So each flag will need a specific document?

..FB2: See https://datatracker.ietf.org/meeting/104/materials/minutes-104-ippm-00 which states "Tommy: On the flags - separate the flag discussion into separate drafts and  then fold it into the data draft based on WG consensus." - If we can agree on the flags draft quickly, we could fold it back into the draft-ietf-ippm-ioam-data. Otherwise, I'd expect the flags draft to be a standalone document which we could adopt as the WG.

Cheers, Frank


From: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>
Sent: Freitag, 5. Juli 2019 04:32
To: Frank Brockners (fbrockne) <fbrockne@cisco.com<mailto:fbrockne@cisco.com>>; ippm@ietf..org<mailto:ippm@ietf..org>
Subject: RE: draft-ietf-ippm-ioam-data and a new draft for IOAM flags

Hi Frank,

Here are some comments on the IOAM flags:

1. Why proposing the "Immediate Exporting" when a new postcard option (https://datatracker.ietf.org/doc/draft-song-ippm-postcard-based-telemetry/<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-song-ippm-postcard-based-telemetry%2F&data=02%7C01%7Chaoyu.song%40futurewei.com%7C67f6648f0a65476ae8dc08d7039b9174%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C636981839021779806&sdata=auZa6UADUGp7Gp3lS%2B03uluzABOKZ%2FPTdKnuRMvMKtk%3D&reserved=0>) is already proposed for IOAM? What's the difference for use?
One scenario may apply to this flag is to indicate the node to export all the existing tracing data when the node is not able to attach data. Other capable nodes will still trace and attach data. This may make the flag useful and different.

In addition, you mentioned to use the e2e option to assist the postcard. That may need an encapsulation extension to IPv6 HbH for e2e option.

...FB: draft-mizrahi-ippm-ioam-flags-00 already mentions the use of the IOAM E2E option with sequence number: "As a means to  support correlation of exported IOAM data different nodes in the network, a deployment could consider attaching an IOAM E2E option in  addition to the trace option, that includes a sequence number.".
[HS] As we have discussed before, I still think such statement should be dropped from the document. It complicates the operation, obscures the semantics, and make further extensions harder. I see no reason to support a hack like this when we have an explicit and dedicated option.
Having a dedicated document that expands on immediate export and the different types of use cases could be seen as beneficial. Section 3 of draft-song-ippm-postcard-based-telemetry-03 could be a starting point. A few things from my perspective that we still have to get sorted are:
* inclusion of the different "uses" of data created by immediate export. In his draft draft-bonica-6man-oam, Ron (cc'ed) documented a couple actions that a node could perform when doing immediate export, e.g. "1 - log the packet", "2 - count the packet", "3 - send ICMP to the source", "4 - send telemetry". We should add those to the new I-D.

[HS] We should have more discussion on this. If this is truly needed, it can be supported either by flags or by data type definition.

* (specifically on the postcard draft, section 3): close on the discussion of whether we need a flow-id field (as E2E option) and how this field would be defined and used. Back in Prague, several opinions were voiced on this topic - ranging from support of a new "flow id option" to not seeing the need to define a new option.

[HS] As discussed in last meeting, we could make the flow-ID optional. In some cases, it's very useful to reduce data transport bandwidth and data parsing workload. As  for the ID generation mechanisms, we can provide several suggestions but it can also be left open for user to decide. Of course, if we can decide a best method, we can adopt it.


2. I suggested before. I would like to propose a "significant data" bit in the flag. It is set by the intermediate node who think the attached data is significant. The use case is to reduce the exporting data at the end of the IOAM domain. i.e., only the meta data with "significant data" bit set will be exported. For example, when we are tracing the transit delay hop by hop, transit delay within a threshold may not be useful, and not worth to be exported to the collector. Any intermediate node can set this "significant data" bit when the transit delay breaches the threshold. So data are exported only when path congestion. This can be extended to other examples, e.g. buffer.

...FB: Hmm. I think I need to better understand the use case to be convinced. In the first place, why would a node insert data that isn't seen as significant? Rather than use a significant flag, just set up operations in a way that only data considered significant is inserted - otherwise would choose to not insert any data.
[Tianran]: It seems you proposed another approach for the use case. It may work. I think the major problem is it changes the default procedure of IOAM trace. IMO, by default, IOAM will trace data according to the bitmap instruction, no matter isn't seen as significant or not.

If you really want to follow your thought to the end, it would translate into adding a "priority" to every IOAM data field. We would then need to decide how many different priorities we'd need, how they are defined and used. Thus, before going there, let's understand the use case.

[Tianran]: I think the significant flag is similar to the "priority". It's only the design choice whether to use multiple bits for several priority levels. It's also the design choice whether to give each data field a priority or just set one flag for one packet. IMHO, it's easy to decide "yes" or "no" with one bit, for example the threshold breach, but hard to decide the level with multiple bits priority.

Cheers, Frank

Regards,
Tianran

From: ippm [mailto:ippm-bounces@ietf.org] On Behalf Of Frank Brockners (fbrockne)
Sent: Friday, July 05, 2019 2:22 AM
To: ippm@ietf.org<mailto:ippm@ietf.org>
Subject: [ippm] draft-ietf-ippm-ioam-data and a new draft for IOAM flags

Back in the IPPM WG meeting in Prague, Tommy concluded on the discussion of draft-ietf-ippm-ioam-data-05, that we should "separate the flag discussion into separate drafts and  then fold it into the data draft based on WG consensus." (see IPPM minutes
https://datatracker.ietf.org/meeting/104/materials/minutes-104-ippm-00<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fmeeting%2F104%2Fmaterials%2Fminutes-104-ippm-00&data=02%7C01%7Chaoyu.song%40futurewei.com%7C67f6648f0a65476ae8dc08d7039b9174%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C636981839021779806&sdata=IbDeAy9SihbGfPDXCFxh6AxPjwxpYbW9d652lbYdOR4%3D&reserved=0>). Unfortunately it took a bit longer than expected but today two new documents were published following Tommy's conclusion:

https://tools.ietf.org/html/draft-mizrahi-ippm-ioam-flags-00<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-mizrahi-ippm-ioam-flags-00&data=02%7C01%7Chaoyu.song%40futurewei.com%7C67f6648f0a65476ae8dc08d7039b9174%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C636981839021789799&sdata=FW8wDVotaLxD%2FHLw0vGIFqjk1tlGAyOkUkcg5ajq738%3D&reserved=0>
https://tools..ietf.org/html/draft-ietf-ippm-ioam-data-06<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-ietf-ippm-ioam-data-06&data=02%7C01%7Chaoyu.song%40futurewei.com%7C67f6648f0a65476ae8dc08d7039b9174%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C636981839021789799&sdata=Iy1hgvce%2F7R%2FzDvw6z4jJ%2BI1aiigDeibu161Hta3HUk%3D&reserved=0>

draft-mizrahi-ippm-ioam-flags-00 is a new document which provides the description of those flags that describe IOAM behavior not immediately associated to updating the IOAM data fields, i.e. the new draft took the text related to flags from the draft-ietf-ippm-ioam-data. draft-ietf-ippm-ioam-data-06 is the associated update to the -05 version with the description of the flags removed.

With the -00 draft cut off still a few days away, it would be great to get comments on the split and even more so on the new ioam-flags draft, so that we could create a rev before the cut off (if required) and then try to close the discussion in Montreal.

Thanks much, Frank