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

Haoyu Song <haoyu.song@futurewei.com> Mon, 08 July 2019 16:55 UTC

Return-Path: <haoyu.song@futurewei.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 CE52D120318 for <ippm@ietfa.amsl.com>; Mon, 8 Jul 2019 09:55:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, 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 hcTWVKdXI6vB for <ippm@ietfa.amsl.com>; Mon, 8 Jul 2019 09:55:02 -0700 (PDT)
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-eopbgr750112.outbound.protection.outlook.com [40.107.75.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E79E512023F for <ippm@ietf.org>; Mon, 8 Jul 2019 09:53:37 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B7Mlss9Z6qqqwDSLy9zNBNEpxaiVkPiTqw+ubAUqi2D/Dt9zP0eTZxfo/DqlDcc6NIp41DXSQ7/O09KdZSg5Ih6vtZdl7X07houxZ/JN4pbHBfCvqpGDEjQ8UUMuosbVI91M7UPIzTp/NEH+TF14H2Slv9KahSI6CLyDA+XW9eeKW0uXtCj9LefwAcXT+vR8FLZj7jrfLeSDzeFgj9uS7kSYTisfg3PTSs+7d1bvGOVWRgpT7lZxEUxXRnas/znRViPykmaz6zevOi1J+7XZlce84JrnmO5Endc/Qrpq4aVoFNj6hcNsADHZZsU2EIN7Gg7TwXikU2V2XxeovAvsew==
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=eH81IczOR18CQewJ1Vk56ZsT+msZb5wlksxLamOAT9E=; b=K5IYLid8z8hPj9v/QzlZYYUYgyQ4IQqoRdweakEXRKPeMP3AHSM8tkVgCByEfWHPV0m5cF393lqgAPRsPQAqFDq0guriY444lySQhtYyYMjXV75Rju/Iv4PdVgtQlAAlKez2o8Asf5nq64BzhI+uatFlLyFg9up41/VBpf9o7xoyhwbB6k2FCnHzKJXU5p5ilWg6tXvhua04DR1Uxaq0qAwb/oOXz1vpxcH3tIKmXdTH5RyobS5NYQowAU9zc7wLP3LAeT3RPmN9wUgxMog0KOMhPCcxSUELgZIyIC6BvR096ZBSVDQVKchx1RSuNARceBBzZbIjkpDfWAYhGdPemg==
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=eH81IczOR18CQewJ1Vk56ZsT+msZb5wlksxLamOAT9E=; b=pqzPdkox3Ad3qtWBQdQnsM2wvJMhaJHINSIm6pOYuBWx3yQqmSfreptJ97h9nSt2Yb0atjch9yhqdEtn9xHsQW5iUf7gcIyIkVwf3P1CCInMb0klpw0bP/PN57uoaRavPJ9RXzO10bwthFg3olXWOukqDlFOmwG0KqMfh2DgDC8=
Received: from MN2PR13MB3582.namprd13.prod.outlook.com (10.255.238.139) by MN2PR13MB3565.namprd13.prod.outlook.com (10.255.238.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.10; Mon, 8 Jul 2019 16:53:35 +0000
Received: from MN2PR13MB3582.namprd13.prod.outlook.com ([fe80::e068:8461:62d7:e0c1]) by MN2PR13MB3582.namprd13.prod.outlook.com ([fe80::e068:8461:62d7:e0c1%7]) with mapi id 15.20.2073.008; Mon, 8 Jul 2019 16:53:35 +0000
From: Haoyu Song <haoyu.song@futurewei.com>
To: "Frank Brockners (fbrockne)" <fbrockne@cisco.com>, Tianran Zhou <zhoutianran@huawei.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/ngA==
Date: Mon, 08 Jul 2019 16:53:34 +0000
Message-ID: <MN2PR13MB35822D72438EEB1DA0A08FA79AF60@MN2PR13MB3582.namprd13.prod.outlook.com>
References: <MN2PR11MB3629C8C5084B57ABE3B67E16DAFA0@MN2PR11MB3629.namprd11.prod.outlook.com> <BBA82579FD347748BEADC4C445EA0F21BEE79042@NKGEML515-MBS.china.huawei.com> <MN2PR11MB36298528FB8B221537913C23DAF60@MN2PR11MB3629.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB36298528FB8B221537913C23DAF60@MN2PR11MB3629.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=haoyu.song@futurewei.com;
x-originating-ip: [206.16.17.150]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f86908b8-4a53-4f9c-f229-08d703c4d106
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR13MB3565;
x-ms-traffictypediagnostic: MN2PR13MB3565:
x-ms-exchange-purlcount: 6
x-microsoft-antispam-prvs: <MN2PR13MB35653F308339E4A7BD73D2259AF60@MN2PR13MB3565.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 00922518D8
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(366004)(136003)(346002)(396003)(39850400004)(376002)(199004)(189003)(14454004)(66946007)(66476007)(73956011)(76116006)(66446008)(606006)(64756008)(66556008)(316002)(68736007)(52536014)(186003)(561944003)(6436002)(229853002)(71190400001)(26005)(2501003)(53546011)(6506007)(5024004)(14444005)(256004)(110136005)(25786009)(3846002)(76176011)(790700001)(6116002)(486006)(966005)(478600001)(74316002)(11346002)(446003)(2906002)(7736002)(44832011)(66066001)(9686003)(7696005)(476003)(55016002)(236005)(6306002)(54896002)(53936002)(8676002)(33656002)(5660300002)(81166006)(102836004)(81156014)(99286004)(8936002)(86362001)(71200400001)(4326008)(6246003); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR13MB3565; H:MN2PR13MB3582.namprd13.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: futurewei.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: Xl4RtywpE0pka4kqD/kebqP6Mn0wmCyv34KvH9Y93/4qnmLl/DNeXSFIiIdULQbblrRYNR7IUvKI6L1CGvJH0EyFSqi0CuqUn00O6Nxcm3vSVA2H1/G0+BNTDhrX/mqHifGtWgt5mdLNC2mw0BCVHbVSqqeOrxIUneQn/iHvANW+beuRA0oA56EHGOjZpOag+3t7LsQF84w4kk1zbbah/XtHkhhFD0YM7GNFQB0kxMX1mId4d6tOVeeDKIBT9YjmnTYScUcsxcWNeZV7UcF5q8F/aUM8qxMIuCp3/JMFDr3TxETtFUsB9fUvp65T2LfKaiQ2JuA5YYaNPEkGbUnng28yp6N3Cf/3CDPMRjAVaKPKYFkrKyMw6hbDzVIi8CTFLeb7qwG2IspomCmPg7VkmdhP3rZ+ZA8IhqSXYJnEt9I=
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB35822D72438EEB1DA0A08FA79AF60MN2PR13MB3582namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f86908b8-4a53-4f9c-f229-08d703c4d106
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2019 16:53:34.9752 (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: hsong@futurewei.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3565
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/1aish6-eYAwUuXj6hX_yrlSQk6Q>
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: Mon, 08 Jul 2019 16:55:14 -0000

My comments below.

Haoyu

From: ippm <ippm-bounces@ietf.org> On Behalf Of Frank Brockners (fbrockne)
Sent: Monday, July 08, 2019 4:42 AM
To: Tianran Zhou <zhoutianran@huawei.com>; ippm@ietf.org
Cc: 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.

Please also see inline...

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. 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.

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