Re: [Ippm-ioam-ix-dt] Proposed change to the draft

Haoyu Song <haoyu.song@futurewei.com> Tue, 24 September 2019 18:47 UTC

Return-Path: <haoyu.song@futurewei.com>
X-Original-To: ippm-ioam-ix-dt@ietfa.amsl.com
Delivered-To: ippm-ioam-ix-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B32621208BF for <ippm-ioam-ix-dt@ietfa.amsl.com>; Tue, 24 Sep 2019 11:47:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NONE=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 hnhZcCkEc3uP for <ippm-ioam-ix-dt@ietfa.amsl.com>; Tue, 24 Sep 2019 11:47:30 -0700 (PDT)
Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-eopbgr720101.outbound.protection.outlook.com [40.107.72.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A24611208A6 for <ippm-ioam-ix-dt@ietf.org>; Tue, 24 Sep 2019 11:47:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HpzTHF2Qlb0rPRiKlBo1jaL+F+mDNkm1QrcRs+tgm+c8yfOOLQkA4ooYvvWh9pvU4owWoNa6HArqoemiIL6j5k0u4xKF3cmEWKGtfMraBodF8LwdRVuwHGAK13rW0z6TqRfJ+WEt3+yTN0zQsBniKpyiozXmtQtxEx9ClD8qHkYYyCBtaNs25X/YSx+QPMIkRy9MLeYjoaixJFbgncBVhdsl16KlTyem4FnBWt/+8ct0UiGr/fBNIUPjdg2e7GGks1jlFtn2rgjvf+gGhPFAdyDSAja6B3H39jzAVLcR3kJTmkk8NbRfHkR94bHsLRKKh/Woh2UzBMxzddYMIC2ZVg==
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=5j9qoBfBZyJrouGzulRNmK4+O+zg1qR7B6tMZGbxiP8=; b=Tv/XEjKhce9WHFYFm7l5uuzGffLBc8D0VjD63AeJjBPj3+8dP3pBmzY0zacAFFWV1nzv/UjsUtyp3TRQj5lPwvYLmkRLfwjS9XvR0FAJNtsGL97OCxxEKl8FFFNDkRo8NN3IsU5f//fW3oq8SzSWL+/x/zUEvUgHpPjIX0vQ0Yo+HBmXDuTicB9jWOd9jG9kjOPQCBA8Z4tDC9JF8gmqs/NXOVOpzpPwGDi4EcWQjz6kY7n77Qrrx6eOh1APiRwtJbuktcFOqcnV700xaPx/dwPQHgxzZcNmhkOuRaTXmzimfZWJGDbBhb1n1+BJJaGBH1zknpivr3INApLX9xzqrw==
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=5j9qoBfBZyJrouGzulRNmK4+O+zg1qR7B6tMZGbxiP8=; b=ADLgSxMtUqRUoPfQnQjQeijtcxXCWFErGj8A29mzyLw0CQPMUjZNNSgbyoxdAnGTdiRArlX/4dWgOeEfX6dKT8Dh4s3zElqPGrN7c5KKXDOdtDqMs9+981gW6o5cxCVgR+/Yi02ZKCTo77X/PovqnIO9HJAqXme8kMx4uDISdeg=
Received: from MN2PR13MB3582.namprd13.prod.outlook.com (10.255.238.139) by MN2PR13MB3358.namprd13.prod.outlook.com (10.255.236.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.13; Tue, 24 Sep 2019 18:47:27 +0000
Received: from MN2PR13MB3582.namprd13.prod.outlook.com ([fe80::ac5e:7fd0:4547:b154]) by MN2PR13MB3582.namprd13.prod.outlook.com ([fe80::ac5e:7fd0:4547:b154%7]) with mapi id 15.20.2305.013; Tue, 24 Sep 2019 18:47:27 +0000
From: Haoyu Song <haoyu.song@futurewei.com>
To: Tianran Zhou <zhoutianran@huawei.com>, "Frank Brockners (fbrockne)" <fbrockne@cisco.com>, Haoyu song <haoyu.song@huawei.com>, ippm-ioam-ix-dt <ippm-ioam-ix-dt@ietf.org>, Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Thread-Topic: Proposed change to the draft
Thread-Index: AdVuR8HNqabRlWodRtO61HOta0kIkwDmKM2wADbcnzAAAMz2gAAB8dIAABAnJLA=
Date: Tue, 24 Sep 2019 18:47:26 +0000
Message-ID: <MN2PR13MB3582A83C29FA765274393B909A840@MN2PR13MB3582.namprd13.prod.outlook.com>
References: <78A2745BE9B57D4F9D27F86655EB87F938AAAABF@sjceml521-mbx.china.huawei.com> <BBA82579FD347748BEADC4C445EA0F21BEFDAE1B@NKGEML515-MBX.china.huawei.com> <BBA82579FD347748BEADC4C445EA0F21BEFDD8C1@NKGEML515-MBX.china.huawei.com>, <BYAPR11MB25841794207F0B2E130AAB5FDA840@BYAPR11MB2584.namprd11.prod.outlook.com> <BBA82579FD347748BEADC4C445EA0F21BEFDD924@NKGEML515-MBX.china.huawei.com>
In-Reply-To: <BBA82579FD347748BEADC4C445EA0F21BEFDD924@NKGEML515-MBX.china.huawei.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: [12.111.81.95]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0622089a-f56c-4cb6-1643-08d7411fa569
x-ms-traffictypediagnostic: MN2PR13MB3358:
x-microsoft-antispam-prvs: <MN2PR13MB335878AA94A30447B868C9DE9A840@MN2PR13MB3358.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0170DAF08C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(136003)(376002)(366004)(396003)(39850400004)(346002)(53754006)(199004)(189003)(52314003)(76116006)(14454004)(236005)(9686003)(6436002)(55016002)(5660300002)(478600001)(256004)(5024004)(316002)(44832011)(74316002)(14444005)(3846002)(8936002)(6116002)(6306002)(790700001)(54896002)(25786009)(99286004)(229853002)(33656002)(446003)(7696005)(11346002)(86362001)(8676002)(6506007)(186003)(71190400001)(53546011)(64756008)(71200400001)(81166006)(52536014)(76176011)(26005)(102836004)(110136005)(66066001)(7736002)(81156014)(486006)(2906002)(66476007)(6246003)(476003)(66946007)(66556008)(66446008); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR13MB3358; 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: BCL:0;
x-microsoft-antispam-message-info: s8G1CD8G1TIuzTvW0po8dZYkRDRIc47mgBdldA+Xpqdfj7gUSLVSbXWmR2nme89diFQFTi8rEwrfAOERq8pg/Aa7qg4VmLQePkZKwDAtax3oKVy0hSq+1FXM8M2SnfrcIIv+YZgrCJ9amCB3RJC3sCEg4Ck+Mc1+3TEhO2C8WqKqgYjOFFmjHY7cl9JeHplqVia6+r1fP+ZQ5KIA01tJ4KgJdvF0LaYVwVrnnL9kZTc80PUh5NxFoBJDxjR0PlDBU1UzsIHVgcXCN09u5Q/eSZbZPeoLEdtxKfHWS++acWZTxDbMc8ZGghJDNknmb0wJjZFzX0ozCsfF5RSG8mkLmcfRKFDFsRo+1WKvtMmc7yrNlqYQ2DQ2OxHe6ihIHnXfH9yC/kgjF9Lh8FxczFTRu8bSL+ml98tiPIWYku2cbbw=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB3582A83C29FA765274393B909A840MN2PR13MB3582namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0622089a-f56c-4cb6-1643-08d7411fa569
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2019 18:47:26.9404 (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: NTsM1pxFJMbf+BlSwu6CZLmh/HV9ANm3KH8u1fcAPSgzYYojBVOcdViXnOlWy3tfe09A18jiXheg+A1Dn/4uqA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3358
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm-ioam-ix-dt/Fph4gjvAR3A7cjCJQok0D8NZ8rI>
Subject: Re: [Ippm-ioam-ix-dt] Proposed change to the draft
X-BeenThere: ippm-ioam-ix-dt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPPM iOAM Immediate Export \(IX\) design team" <ippm-ioam-ix-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm-ioam-ix-dt>, <mailto:ippm-ioam-ix-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm-ioam-ix-dt/>
List-Post: <mailto:ippm-ioam-ix-dt@ietf.org>
List-Help: <mailto:ippm-ioam-ix-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm-ioam-ix-dt>, <mailto:ippm-ioam-ix-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Sep 2019 18:47:34 -0000

I also think Tianran raised a legitimate question: what if you can’t extract a changing TTL field to fill the Hop_Lim, such as in a L2 network?There are more complicated scenarios such as  tunneling to make TTL unreliable.
Also, the essence of the direct export is that the intermediate node wont insert new data to the packet. This hop count is not a trace data. It’s just a metadata helping to correlate the exported postcard packets.
Except that it needs an update operation per hop, I can’t see any other problem.
Haoyu

From: Tianran Zhou <zhoutianran@huawei.com>
Sent: Tuesday, September 24, 2019 3:57 AM
To: Frank Brockners (fbrockne) <fbrockne@cisco.com>; Haoyu song <haoyu.song@huawei.com>; ippm-ioam-ix-dt <ippm-ioam-ix-dt@ietf.org>; Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Subject: RE: Proposed change to the draft

Hi Frank,

I do not think update the hop count violate the directly export.
We directly export the metadata collected according to the ioam data types, without accumulating them in the packet. That’s the big difference to existing two trace types.
Hop count is something need to assist the correlation. It’s part of the mechanism for the directly export of metadata.

Tianran



________________________________
Sent from WeLink
发件人: Frank Brockners (fbrockne)<fbrockne@cisco.com<mailto:fbrockne@cisco.com>>
收件人: Tianran Zhou<zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>;Haoyu song<haoyu.song@huawei.com<mailto:haoyu.song@huawei.com>>;ippm-ioam-ix-dt<ippm-ioam-ix-dt@ietf.org<mailto:ippm-ioam-ix-dt@ietf.org>>;Tal Mizrahi<tal.mizrahi.phd@gmail.com<mailto:tal.mizrahi.phd@gmail.com>>
主题: RE: Proposed change to the draft
时间: 2019-09-24 18:09:41


IMHO we should separate the discussion on Direct Export from the hop-count discussion:
The original approach of Immediate Export, now called Direct Export, was to create a mode for IOAM, which avoids collecting information in the packet while the packet progresses through the network, but exports the information at every hop.
This makes Direct Export different from IOAM tracing, which updates the IOAM fields while the packet progresses through the network.
If we start to update IOAM fields, like hop-count, while the packet progresses through the network, we create a new flavor of IOAM tracing, as opposed to do immediate export – and we should call it as such.
Frank

From: Ippm-ioam-ix-dt <ippm-ioam-ix-dt-bounces@ietf.org<mailto:ippm-ioam-ix-dt-bounces@ietf.org>> On Behalf Of Tianran Zhou
Sent: Dienstag, 24. September 2019 11:49
To: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; Haoyu song <haoyu.song@huawei.com<mailto:haoyu.song@huawei.com>>; ippm-ioam-ix-dt@ietf.org<mailto:ippm-ioam-ix-dt@ietf.org>; Tal Mizrahi <tal.mizrahi.phd@gmail.com<mailto:tal.mizrahi.phd@gmail.com>>
Subject: Re: [Ippm-ioam-ix-dt] Proposed change to the draft

Hi Team,

Again, about the hop count.
I would suggest to allocate a 1 byte field from flags for the hop count.
At the same time, we can use one bit flag to enable/disable the hop count function.
That is to say, if the flag is set to zero, do not operate the hop count.
If the flag is set to one, hop count ++.
In this way, I think there is no worry for the transit node to operate when the use case does not need hop count.
What’s your thoughts.

Tianran

From: Ippm-ioam-ix-dt [mailto:ippm-ioam-ix-dt-bounces@ietf.org] On Behalf Of Tianran Zhou
Sent: Monday, September 23, 2019 3:40 PM
To: Haoyu song <haoyu.song@huawei.com<mailto:haoyu.song@huawei.com>>; ippm-ioam-ix-dt@ietf.org<mailto:ippm-ioam-ix-dt@ietf.org>; Tal Mizrahi <tal.mizrahi.phd@gmail.com<mailto:tal.mizrahi.phd@gmail.com>>
Subject: Re: [Ippm-ioam-ix-dt] Proposed change to the draft

Hi All,

I am sorry I cannot access the meeting due to the link quality. I would like to know some discussion details on the hop count.
Firstly, I think this field is necessary. In addition to Haoyu’s comments, my add on is the usage when the lower layer encapsulation does not have the ttl information. This is common case. I also know some case that the ttl is not continued, e.g., hvpn. So in anyway, I wish it could be attached, optional or fixed.
Secondly, the IOAM-Trace-Type bitmap has one bit to indicate the presence of hop_lim. I am thinking if we can reuse it. If this bit is set, where to put this field? So that every transit node can operate it?

Thanks,
Tianran


From: Ippm-ioam-ix-dt [mailto:ippm-ioam-ix-dt-bounces@ietf.org] On Behalf Of Haoyu song
Sent: Thursday, September 19, 2019 1:41 AM
To: ippm-ioam-ix-dt@ietf..org<mailto:ippm-ioam-ix-dt@ietf.org>; Tal Mizrahi <tal.mizrahi.phd@gmail.com<mailto:tal.mizrahi.phd@gmail.com>>
Subject: [Ippm-ioam-ix-dt] Proposed change to the draft

Hi Team,
Below is my proposed change. I tried to directly update in Github but the format is not correct, so Tal please help to edit the text and merge it into the current draft. Thanks!
Haoyu
-----------------------------------
To help correlate and order the exported postcard packets for the same original packet, it is possible to include a 1-byte Hop_Count field in the DEX header (presumably by claiming some space from the Flags field), which starts from 0 and increments its value by one at every IOAM-enabled hop. The Hop_Count field value needs to be included in the exported postcard packet. An issue of this field is that it needs to be updated at every IOAM-enabled hop. Without it, the DEX header is basically read-only except that it will be inserted at a head node and removed at an end node.
An alternative approach is to request to collect the Hop_Lim/Node_ID data by setting the corresponding bit in the IOAM-Trace-Type bitmap.  The Hop_Lim data is acquired from the lower level protocol header such as TTL for IPv4 and Hop Limit for IPv6. In addition to requiring extra packet parsing, Hop_Lim must be coupled with Node_ID which means 4 bytes are needed to be exported. More important, Hop_Lim is not exactly equivalent to Hop_Count, because Hop_Lim is updated at every hop, whether the hop is IOAM-enabled or not. A consequence is, by monitoring Hop_Lim only, if some value is missing, one cannot tell whether or not an exported postcard packet is missing.
Therefore, further discussion is needed to decide if the DEX header should include an explicit Hop_Count field, or by default, set the IOAM-Trace-Type bit to collect the Hop_Lim/Node_ID data field.