Re: [ippm] Working Group Last Call: draft-ietf-ippm-ioam-data

Haoyu Song <haoyu.song@futurewei.com> Tue, 21 January 2020 17:15 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 D26D5120044 for <ippm@ietfa.amsl.com>; Tue, 21 Jan 2020 09:15:42 -0800 (PST)
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 7gfqViUOv5ia for <ippm@ietfa.amsl.com>; Tue, 21 Jan 2020 09:15:38 -0800 (PST)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2112.outbound.protection.outlook.com [40.107.92.112]) (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 E00D41201E5 for <ippm@ietf.org>; Tue, 21 Jan 2020 09:15:37 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WhZYexU8wbOKdAPt7DDQePvEuZhGeeJZ8LmGnMViostSuoGUulxFFL308F3htLZI66crAzYNzbd55O2rEE8MHRnXIxOzgwy5pYf6SeCYbzuqEXBEq7SBCDcYxJVH2yW6weLU3lvAtDxAH6pmJJWTE0SFN1V8sREj+/ixCcxMoABBmxhMyDCZS4fy2tUStM8iVm6/6wBveVhPRCSgbBlQkL+HjtF5rfowL2VXzYUmziKqZpGRkOCmfsYMqJzkB2ZhrBv+32Ai2M4xRGsc/Nm1DWFv87jbtUeMDDUZ9HJq7fD8fvnCYA6P56O3DfMHaWj/29/fBNYtC0USCho4dII6kw==
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=YT4i+R9wtypP6OLdY7PWZMMWYz3xZuMAtW3moGeF0vA=; b=krXXU7Du7dbFj97zkh0pTCkrjsnTaLUDqMOTmnZsewXtAV62Y+8szGmGTahsNbe9EzDgnlFxaBtkSzlgdreTNY+4AlbSDlz5Cd4cT1CQcutCrrUbLgUI+T7Klqs9b2iL8eYMIungqGE31aMkKhZnePdyTg1OjEqVZ/0iHGEriMCchWwUmjeNNvwmsSAVcyDqno+0rEoGymwJUrwkoAph99CtYfjNlWeG+uDjA/l5mzf8b/fYX7ZkOeVJzL6pIZbD1J5CsAX9NloQcZDodkubrdy02+2PH2Y64GLbyDfwdM8R6wemMaJAGU7CnweYgXiARnc3UB/p2wZF/6mJGNrwTA==
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=YT4i+R9wtypP6OLdY7PWZMMWYz3xZuMAtW3moGeF0vA=; b=jfls0jqVQ8sr3ZW1saDL+phAydYGJaj/yYAFw00WYThmqeVQBo0iXcDrElYzA7N1jQW29mpqm3fJ3x4+MQY38dhe7uDjxt16K0uUow3oRJ36HSb7+V8yuO5vEQDwylFp1EW7rZIYm6kgFqKLmjV0qnC0PhyZqqQP95rh16CZMHA=
Received: from BYAPR13MB2485.namprd13.prod.outlook.com (52.135.228.19) by BYAPR13MB2312.namprd13.prod.outlook.com (52.135.224.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.12; Tue, 21 Jan 2020 17:15:35 +0000
Received: from BYAPR13MB2485.namprd13.prod.outlook.com ([fe80::61a4:f17f:156:4876]) by BYAPR13MB2485.namprd13.prod.outlook.com ([fe80::61a4:f17f:156:4876%7]) with mapi id 15.20.2665.017; Tue, 21 Jan 2020 17:15:35 +0000
From: Haoyu Song <haoyu.song@futurewei.com>
To: "Frank Brockners (fbrockne)" <fbrockne@cisco.com>, Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>, IETF IPPM WG <ippm@ietf.org>
Thread-Topic: [ippm] Working Group Last Call: draft-ietf-ippm-ioam-data
Thread-Index: AQHVxXpHWaysCQLfnkORVfHukaUXVaffwftAgBVz1ACAADpFoA==
Date: Tue, 21 Jan 2020 17:15:35 +0000
Message-ID: <BYAPR13MB2485E7B39DE7165D829E03BF9A0D0@BYAPR13MB2485.namprd13.prod.outlook.com>
References: <E5725DE6-0637-4D52-BD61-2437D29D3C3B@apple.com> <BYAPR13MB2485F7CBE0DC383BFD63B0B29A3F0@BYAPR13MB2485.namprd13.prod.outlook.com> <BYAPR11MB25840E74A3C28FFE27F29ACBDA0D0@BYAPR11MB2584.namprd11.prod.outlook.com>
In-Reply-To: <BYAPR11MB25840E74A3C28FFE27F29ACBDA0D0@BYAPR11MB2584.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: [12.111.81.95]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9534c8c9-99a3-4f5c-fc84-08d79e9587a6
x-ms-traffictypediagnostic: BYAPR13MB2312:
x-microsoft-antispam-prvs: <BYAPR13MB231249139F7E3A7847478FBD9A0D0@BYAPR13MB2312.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 0289B6431E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(136003)(376002)(39840400004)(396003)(366004)(346002)(199004)(189003)(52536014)(53546011)(7696005)(5660300002)(86362001)(6506007)(66556008)(66476007)(26005)(76116006)(33656002)(110136005)(66446008)(64756008)(186003)(55016002)(66946007)(9686003)(71200400001)(316002)(8676002)(81156014)(44832011)(2906002)(8936002)(81166006)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR13MB2312; H:BYAPR13MB2485.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: kHW+ythgAfRt9VQuj/TPiQjE3aZPWttPpe3TS+ln0eB1AnPHA3D/hql31qDeWP+ndie/0nttmEXDwlKnUsg/OKxqLqvJOjH+RT+Hjk2ry1mxD9e5F3Ia7MZ3K6KyBYwNT7wV4bzGg0ZhYPOWoJJg98ANU1HhFpy1KIvwhDbJg+H3bedYE5MZwNxC5wkwYYr6WbrLX1eJDmBAwK3DujePbME/z2JYn2a2LtAyx3pXHyGIX/txmHlaKLbALYrbh+yz/XBA5GrTtqR+cY4Dvze97DqaHv1/F6ggrFpQ+4Qm5aY7RKOT7QeS6xFPiTBopNYquZ6+dycEJqT0xEXVDPmyPVaCnrGiftTDxKVpLt3mPksdz6A6BavLlCb9VArkk6J1as0eGU5SFGavDN0lVr2XF2An/uSvLTAxcIKYX9rRjCe7EKG/FX1nW+8dYc+YT5dgxAMjzzsMHmE2A3tqLyzc531vjWU51q8xasQmz+QiF6mnimdH3TUPea4jiofV2ifqEx2BDxw5qPsWSpgb6hMUiQ==
x-ms-exchange-antispam-messagedata: tfnWgb1qjTdAovb+wlHeBZpHV9RnXBF8+5t3HHU61vLkZo8A1573vEIArJQRRNgL1by9RzzWDI7CnViHXSF6Ii6v5z3wTvx8wZcmv/xaT3hZA6z1RO1A0vFli+ec6vzM7RDl06pVyWmzJoDjFh8nXg==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BYAPR13MB2485E7B39DE7165D829E03BF9A0D0BYAPR13MB2485namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9534c8c9-99a3-4f5c-fc84-08d79e9587a6
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2020 17:15:35.7968 (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: fQQ4dVXDdrtZS+xL8U20/ZRbxfLMuRlxWnFMOG38wZ7IJ76Dhtw0Gt4nclArkZPdE5crdYnqfjvpa559Y5wbTA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR13MB2312
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/1647pMfz61WoXUSHp6rrQMsGlrk>
Subject: Re: [ippm] Working Group Last Call: draft-ietf-ippm-ioam-data
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, 21 Jan 2020 17:15:43 -0000

Inline

From: Frank Brockners (fbrockne) <fbrockne@cisco.com>
Sent: Tuesday, January 21, 2020 5:41 AM
To: Haoyu Song <haoyu.song@futurewei.com>; Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>; IETF IPPM WG <ippm@ietf.org>
Subject: RE: [ippm] Working Group Last Call: draft-ietf-ippm-ioam-data

Haoyu,

Thanks. Please see inline ("...FB").

From: ippm <ippm-bounces@ietf.org<mailto:ippm-bounces@ietf.org>> On Behalf Of Haoyu Song
Sent: Dienstag, 7. Januar 2020 23:26
To: Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org<mailto:tpauly=40apple.com@dmarc.ietf.org>>; IETF IPPM WG <ippm@ietf.org<mailto:ippm@ietf.org>>
Subject: Re: [ippm] Working Group Last Call: draft-ietf-ippm-ioam-data

IPPM and IOAM authors,

I have a question about the variable length opaque data field in the trace option. Does that mean each node may add a variable length field (i.e., use a different scheme ID)?

     "When this field is part of the data field but a node populating
      the field has no opaque state data to report, the Length must be
      set to 0 and the Schema ID must be set to 0xFFFFFF to mean no
      schema."

>From the above description, it seems so.  Then there's a problem. If each node's data has different size, then one can't guarantee that the RemainingLen is exactly 0 when the data overflow happens.

...FB: Could you detail the problem a bit more: Why would the remaining length need to be exactly 0 in case of a data overflow? If RemainingLen < (NodeLen + sizeof(opaque snapshot)) in 4 octet units, then a node would not add data.

[HS] According to the draft text,  "RemainingLen:  7-bit unsigned integer.  This field specifies the data
      space in multiples of 4-octets remaining for recording the node
      data, before the node data list is considered to have overflowed.
      When RemainingLen reaches 0, nodes are no longer allowed to add
      node data. ", so I assume that the Remaining length of 0 means no more data can be added.

      Also, "NodeLen"  is fixed but the size of snapshot is not, which makes each node probably add different number of bytes.
      This will make it difficult to find the location for new data insertion in the pre-allocated trace mode.





Another issue:

    "If IOAM-Trace-Type bit 22 is not set, then NodeLen specifies the
      actual length added by each node.  If IOAM-Trace-Type bit 22 is
      set, then the actual length added by a node would be (NodeLen +
      Opaque Data Length)."

I think the "actual length added by a node would be (NodeLen+ size of opaque state snapshot field). Because the opaque data is only a part of the opaque state snapshot field, and  (opaque data length + 4 byte)=size of opaque state snapshot field.  Some other places need similar clarification.
...FB: Thanks. It makes sense to harmonize the description and at the same time, make it more specific - i.e. match it  to what is already used in section 4.4.1, i.e. "NodeLen + sizeof(opaque snapshot)" in 4 octet units.
Cheers, Frank

Haoyu

From: ippm <ippm-bounces@ietf.org<mailto:ippm-bounces@ietf.org>> On Behalf Of Tommy Pauly
Sent: Tuesday, January 07, 2020 8:48 AM
To: IETF IPPM WG <ippm@ietf.org<mailto:ippm@ietf.org>>
Subject: [ippm] Working Group Last Call: draft-ietf-ippm-ioam-data

Hello IPPM,

Happy New Year! This email starts a working group last call for "Data Fields for In-situ OAM" (https://datatracker.ietf.org/doc/draft-ietf-ippm-ioam-data/<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-ippm-ioam-data%2F&data=02%7C01%7Chaoyu.song%40futurewei.com%7C4f471415b6d84a2f65f508d79e778839%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637152108543542112&sdata=sDmCSLe4dQlxFEwqiPdfsWTWdf5q0MPSRwIL6lcDxZs%3D&reserved=0>).

The last call will end on Tuesday, January 21.. Please reply to ippm@ietf.org<mailto:ippm@ietf.org> with your reviews and comments. Please indicate whether you think this document is ready for publication.

Best,
Tommy (as co-chair)