Re: [Dots] Francesca Palombini's Discuss on draft-ietf-dots-telemetry-20: (with DISCUSS and COMMENT)

mohamed.boucadair@orange.com Wed, 02 February 2022 14:27 UTC

Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: dots@ietfa.amsl.com
Delivered-To: dots@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B72F43A0E91; Wed, 2 Feb 2022 06:27:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=orange.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 2FTi5pM5Dw1j; Wed, 2 Feb 2022 06:27:33 -0800 (PST)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.66.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7EE1D3A0E8C; Wed, 2 Feb 2022 06:27:33 -0800 (PST)
Received: from opfedar07.francetelecom.fr (unknown [xx.xx.xx.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by opfedar22.francetelecom.fr (ESMTP service) with ESMTPS id 4JpkfC4F8Gz2xNZ; Wed, 2 Feb 2022 15:27:31 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1643812051; bh=5y9rM/VC404VTnxTjCxuFrQfy7p6dMTrCYCVjYwQzO8=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=QbJZbJWfgEyldNGOzsFW9UTtAHW4+8p2+kzdM+zgjdlD+rDdl0LriSsoKeL1sr3wT uG0pGEfWvDx5wANc89gpxwRidLFw0nIUbA3mLXs98McQvTt1/xsp1wdPBzpZyWfEH/ NbIRoSYAOp1FqAqgB3tvBr0dRc1ve/OVZv+UCBu0pi/XxZDFLmxsFM0LFXnLCQd+hW wc13jrwIAjFOXFPZmnfvVCN9H1vwrUKetzAX9Dn7/6dundgX76auXzDo1oAON88XrN U9rT27LlpSCH9IBpJleqjkZQnqvlAA5u8UIYKMvFcxyCwIpzxKwMK/g4zwqO+VVqYi V1ioG7q7ONT6A==
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by opfedar07.francetelecom.fr (ESMTP service) with ESMTPS id 4JpkfC2c30z5vNv; Wed, 2 Feb 2022 15:27:31 +0100 (CET)
From: mohamed.boucadair@orange.com
To: Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org>, The IESG <iesg@ietf.org>
CC: "dots-chairs@ietf.org" <dots-chairs@ietf.org>, "valery@smyslov.net" <valery@smyslov.net>, "draft-ietf-dots-telemetry@ietf.org" <draft-ietf-dots-telemetry@ietf.org>, "dots@ietf.org" <dots@ietf.org>
Thread-Topic: Francesca Palombini's Discuss on draft-ietf-dots-telemetry-20: (with DISCUSS and COMMENT)
Thread-Index: AQHYF2eXJUUpfWSXKk6HBHUE7f8Y1ax+uzaAgAGEnEqAAA0OAA==
Content-Class:
Date: Wed, 02 Feb 2022 14:27:29 +0000
Message-ID: <29535_1643812051_61FA94D3_29535_58_1_787AE7BB302AE849A7480A190F8B93303548AC4D@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
References: <164371865356.12619.5935879215084457872@ietfa.amsl.com> <21518_1643724434_61F93E92_21518_238_1_787AE7BB302AE849A7480A190F8B93303548A2D0@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <HE1PR07MB421746E18879FFA0870F1B7F98279@HE1PR07MB4217.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB421746E18879FFA0870F1B7F98279@HE1PR07MB4217.eurprd07.prod.outlook.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Enabled=true; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SetDate=2022-02-02T14:17:43Z; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Method=Privileged; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Name=unrestricted_parent.2; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SiteId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ActionId=7d136630-981a-4c4c-a2aa-f741f1b35a2c; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ContentBits=0
x-originating-ip: [10.114.13.247]
Content-Type: multipart/alternative; boundary="_000_787AE7BB302AE849A7480A190F8B93303548AC4DOPEXCAUBMA2corp_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dots/Zrtb61oedkIt-K_4iNfykkygNYo>
Subject: Re: [Dots] Francesca Palombini's Discuss on draft-ietf-dots-telemetry-20: (with DISCUSS and COMMENT)
X-BeenThere: dots@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "List for discussion of DDoS Open Threat Signaling \(DOTS\) technology and directions." <dots.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dots>, <mailto:dots-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dots/>
List-Post: <mailto:dots@ietf.org>
List-Help: <mailto:dots-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dots>, <mailto:dots-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Feb 2022 14:27:40 -0000

Hi Francesca,

Please see inline for the diagnostic notation comment.

Cheers,
Med

De : Dots <dots-bounces@ietf.org> De la part de Francesca Palombini
Envoyé : mercredi 2 février 2022 14:57
À : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com>; The IESG <iesg@ietf.org>
Cc : dots-chairs@ietf.org; valery@smyslov.net; draft-ietf-dots-telemetry@ietf.org; dots@ietf.org
Objet : Re: [Dots] Francesca Palombini's Discuss on draft-ietf-dots-telemetry-20: (with DISCUSS and COMMENT)

Hi Med,

Answers inline.

Thanks,
Francesca

From: mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com> <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>
...


Thank you for the careful review. The changes can be tracked at: https://protect2.fireeye.com/v1/url?k=31323334-501d5122-313273af-454445555731-90283074e9eba628&q=1&e=a4b1b643-167e-4fad-bbea-997afe323130&u=https%3A%2F%2Ftinyurl.com%2Fdots-telemetry-latest

Please see inline for more context.

Cheers,
Med

> -----Message d'origine-----
...
> 1. -----
>
>    JSON encoding of YANG-modeled data is used to illustrate the various
>    telemetry operations.
>
> FP: There is an inconsistency between this text and the use of
> "application/dots+cbor" in the examples. Either the Content-Format
> should be changed

[Med] The content format "application/dots+cbor" is correct.
FP: Thank you for confirming that application/dots+cbor is the correct format. The inconsistency I noted is that in all the examples, instead of using CBOR diagnostic notation (which I expected for an example in CBOR), you use the JSON encoding for the CoAP payload. I also understand that it is for readability purposes ("status": "attack-successfully-mitigated" is more readable than "status": 2), but that can be easily mitigated by adding comments, instead of reporting the examples body in JSON when they should be CBOR. So for example:

OLD:            "status": "attack-successfully-mitigated",

NEW:           "status": 2,      ; "attack-successfully-mitigated",



By the way most of these changes are very simple: for example "start-time": "1608336568" would become "start-time": 1608336568



[Med] We used to consider that when developing 8782/9132 but preferred the current approach that we called at the time "JSON diagnostic notation". That notation was followed then by other RFCs such as 9133 and 9066. We prefer to use the same notation in this document as well. We made this change to hopefully clarify the usage:



OLD:

   JSON encoding of YANG-modeled data is used to illustrate the various

    telemetry operations.

NEW:

   JSON encoding of YANG-modeled data is used to illustrate the various

   telemetry operations.  To ease readability, parameter names and their

   JSON types are, thus, used in the examples rather than their CBOR key

   values and CBOR types following the mappings in Section 12.  These

    conventions are inherited from [RFC9132].

, or all the examples should be adapted to JSON
> Content-Format (I am not sure about what Content-Format you should use
> then, you probably know better).

[Med] We are actually using the convention/notation introduced in RFC9132 to ease the readability of the bodies. RFC9132 includes an example to illustrate the CBOR equivalent (Figure 8).
FP: Just to be clear, I don't think it is necessary to illustrate the examples in CBOR encoding (so the equivalent of Fig 8 in 9132), but I do think it is worth using CBOR diagnostic notation instead of JSON. Also because with no note about this, one could interpret the example to be CBOR diagnostic notation with all the types wrong (string every time it's something else).
[Med] This is a fair comment. I hope this is addressed with the proposed change above. Thanks.

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.