Re: [ippm] Last Call: <draft-ietf-ippm-twamp-yang-07.txt> (Two-Way Active Measurement Protocol (TWAMP) Data Model) to Proposed Standard

"tom p." <daedulus@btconnect.com> Fri, 13 April 2018 11:48 UTC

Return-Path: <daedulus@btconnect.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 B96301242F7; Fri, 13 Apr 2018 04:48:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 9eGZGQB9hJwU; Fri, 13 Apr 2018 04:48:04 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0709.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe02::709]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 020F51270A3; Fri, 13 Apr 2018 04:48:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=n0MvCcxjuBcXTjVj2iw2t4XskuYFRf+ZzQ96mKuAoKA=; b=g2tJiUZrZi+TqwgUjGT1e4v9DRLRJTM1VSSKaLSsuEVUtmepi04TTQrE8OhWvhpXDiFNRdhiPIa/bLU8/MgEWO+mgcX9teAk7Vg1zYiQCJizF3lGjQTbTZHl7ooqXzK0Ef3HWeXWswW9KQnKOI73lbcmRKDNvClVtyxf5U9Mk6E=
Received: from pc6 (86.165.129.75) by AM5PR0701MB2337.eurprd07.prod.outlook.com (2603:10a6:203:e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.5; Fri, 13 Apr 2018 11:48:01 +0000
Message-ID: <04f301d3d31d$2df639a0$4001a8c0@gateway.2wire.net>
From: "tom p." <daedulus@btconnect.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: ietf@ietf.org, ippm-chairs@ietf.org, draft-ietf-ippm-twamp-yang@ietf.org, ippm@ietf.org
References: <008401d3d1ab$2ee8d520$4001a8c0@gateway.2wire.net> <E8B358C4-39EC-4EC2-A1C0-55F292A2177B@gmail.com>
Date: Fri, 13 Apr 2018 12:19:19 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.165.129.75]
X-ClientProxiedBy: DB3PR0202CA0033.eurprd02.prod.outlook.com (2603:10a6:8:1::46) To AM5PR0701MB2337.eurprd07.prod.outlook.com (2603:10a6:203:e::7)
X-MS-PublicTrafficType: Email
X-Microsoft-Antispam: UriScan:(178726229863574); BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7193020); SRVR:AM5PR0701MB2337;
X-Microsoft-Exchange-Diagnostics: 1; AM5PR0701MB2337; 3:RKZzdiKJc4ZfxJSeu0zC01XTFKI3QZfd6kBfw559HiSur1HecPDL5/OHQAF3wrowYWRozudOr4LNwHS/E3Rn/KMyndGwZlu+Jqt2NznzG4zAL23SV25ITt3nYD4GJFEomph4s1Y8SR956Rvu1p5FwGtCMQ4TKICH4QZWdKJOdpY8ThnM4kcQr6HMbcbS1abZuQsTwnJBlFkVxRPzbbQMhArjreC+m9imOrurw91VCD/3OLkFMED/aThp/+1Mgc+ecujqsuXsO16+og+mDdeZOwFY8Ku9r6eVY5+3FIz66JM=; 25:uSq16OoDcSqeUNweuKcsUeL82vuTsIX+LdLH2xmoX/qs8bl3sljmy74bOw5EsZj63fXRVBY17KXA2/tefHHnILl258Uh4TBbE4SJnODVwy5x84gky8IACtRzNk19KO8Uw/0RbkvnjziXhOus1WlTLLNfGY8UmPsWVWGTrRGUwcGwb5zVYkqW/J+ELJCotcLDjrLmRu8SsUjy/960ZFS6Y0KRbXL7RMUCCLw3suuWoMpKVJkRIoHOfc5uBRPZJS1nuMNqSpF+gRBJ4zWCX/DjnlZ3QNGfo6yCqhtB4ruYbcMRXFsgW+Jg1hjyV9sHSaWqGR56zwRBABWkvLWeYPKPjQ==; 31:TKjdH7YaaG/XF34lqxgn406v8v3C0K8ZiO6NvqPNOeYH1WRsUbpz44P93f9BS7uUoMusMyCBuMS8anDBqp6/UIRC0ISNKHC0w+JNh2fsTXca9FtcZxLmq0CYoHM+Q/LglDqLw1gfJkqBPTn3UuOjxAK+4m0OfgXjpLJSVVU1PatIYhhj4G7A4JEtaaf7Mv7suYqQsUR5Mi+8i1Bwq6Sh5g8SwKy9D7M6v0uQChsGxR4=
X-MS-TrafficTypeDiagnostic: AM5PR0701MB2337:
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=daedulus@btconnect.com;
X-Microsoft-Antispam-PRVS: <AM5PR0701MB23374BDC5043419BF68876CEC6B30@AM5PR0701MB2337.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(178726229863574)(158342451672863)(192374486261705)(85827821059158)(788757137089);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(61425038)(6040522)(2401047)(5005006)(8121501046)(3231232)(944501327)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:AM5PR0701MB2337; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0701MB2337;
X-Microsoft-Exchange-Diagnostics: 1; AM5PR0701MB2337; 4:uk1bWJWLl1b0HWXjMX3/0ilCtTexH+LfNzmKaOWk9lpEc/ITUlzuzoiAQ0+kWrKgdwlVKXfBaJagyz+j9MPtxnmSCJFN1eFVKSXwzTO6kCu9CGw4X6ajNMbRYXf/VYOpJxNwQK7SuFByvW4DgH50R5naK0my2ndwDxSBGZhpMwUyo4y5Ip12h6mOufE0LNdCny+cG6FjQltyHZtziRlSlnAlLL6y8UFH3xTDEH5Yv4QlXQjKiMKR+j86f3OIedbUSOge/k0LLiwyUpYUu05bjRMIj9fO4KHTWrXlL6DJkKXbtJEG84pBmQg/FLM1E5kO0fv+QzCiUcNda54pAmRmJk/3YtCmNtZd6tyehx2huL2AcvR0f7l+25oCZAg7x46sPVubzYgnJ9BHj5Z5LWTRdwcGrpaJMY4cI/EKaISiGRzR5ME9fZf31jcg9KFUh4JV
X-Forefront-PRVS: 0641678E68
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(366004)(396003)(39860400002)(39380400002)(376002)(346002)(13464003)(199004)(189003)(51444003)(7736002)(305945005)(2906002)(84392002)(476003)(8936002)(66066001)(446003)(81156014)(47776003)(956004)(2870700001)(316002)(81166006)(50226002)(14496001)(44716002)(1411001)(25786009)(4326008)(50466002)(62236002)(1556002)(16526019)(33896004)(23676004)(53546011)(6916009)(4720700003)(59450400001)(6486002)(5820100001)(26005)(6666003)(61296003)(386003)(39060400002)(86362001)(6496006)(478600001)(186003)(44736005)(3846002)(6116002)(229853002)(53936002)(486006)(9686003)(54906003)(76176011)(97736004)(81816011)(105586002)(8676002)(6246003)(68736007)(81686011)(106356001)(52116002)(5660300001)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0701MB2337; H:pc6; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1;AM5PR0701MB2337;23:qKE4eKpsTGSe2nPNVhb3GthmDTjnTrMv8WFdkXMS4YWX2O6/oQTRZcL/2MQszWDZSO7zB9nQCWJBifVyYke3seunmTC9DSDGKHuCtpd1REmMMwrAYmNfcy9WCtux6aivqHpWuzzq9oIGnBpN1MAi8ep1Eiju8JCck4iFj+Lm1BLnSkaLAqVdxQJXEotZe6N4I/MG73oGWcS2RTq0uHb8vZ635/Gm8eScpyFmagJgw5w482BgB/fgkNi1ub8+OnzLNKf8t2+Wa2S92JDqenzehCupSIRq7tgjAQShXiD/I9DT/Z6h++x6b8u7cs6WB9FooifguLOBDsHI3MeAOO5NELoa06HRT+Q6VSHMAihBdCz/GPls8qKb1SN2vYi9pFbNPbTVHDmHInWG421uiyj/JZXExLW1OGPjdFfgOzejz4nB8VSVNEAUk1awUKotpgXcGBycvP8xGM2HIauSHxPHiLdNRNyXBfrrWQRHONHPKwLWes78bTG2lTBwC+8ZTkBPP6BsjG3s+92egUCtWMRBidAV/aZRC7iYCrTe1a5ZaXVIFrS3L4laPCWvl9N7khXg+Q2J0roH5Bc/xtKyjmSqHURO2qzRzzAqF48Niu9uWuj+nB03LNtu/fys41r5cQlIiIwYNiLCGVArGuhh571qZdxeXhBWWApy/2cE+0mQMYWeXkTabxFmqm182vyzQ+ff7H92VWxiZA0z5zQtFoWv1y6o0utpETaH5I9XJF0oOMqq6TbTsZpHTO220wGHXYKLeR0l/VjlMYX8XWV0evatQk47xHL3ftlVRfgNO0NF59kQXwdYaeMaCudP/CPM4DslNkywQkigD5JyhtYi+Nmih/1rW1+n+JDQDM5j0vwx2HRdDJ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B0+XY7aSQvW2U0e/wyeLlXDEjl6Q6WMAN2nioZL8slT++Kg9GnC5AjyHX13IgaT+4ecnTLC+qlyDhUlXBqQrCv7Npek2v20UkjCMU8Lhu+vTXXW3Z+1Z2VionDJYvYedAl71Dl4P9yRKSAep9PzXjTnmC2SRHFww==; 5:FJ8YvIdJfh9+Wxwo9AzXl8n9tlXLwCr80pfMN7VIqAVLJ5sH2jL9z8T/motEI6YaMy+1q0desTTmobFvwIkOgz6wyEy3/kL5QfQVd1QXk2Ky1RtWlq64bfmWhsbMzwK1xh5B76VXKdAQMsMhZJBvSJrrPTsjQQdZqvoOxfXSuE8=; 24:ZZnO3FWh1huB2IIE0MGSVCg6/qAcPXdtFcZzt1zl8oiqAl/mONqcviUUazHcYFf1qHuSe2XtsD7x2E2hqpQRpK43mLtfInQkqUL1Sap6ZKg=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; AM5PR0701MB2337; 7:TjPrdix9s7rJWP+xtnZ4gOYzhsBBodD3geE8Lf6QENHNeqcPClBKVQbOlKPws4qlwdP9P6cgAyvm0EFpgKqxnpvOVAJel9tf3FvPRqbaae6HS+pTXBs9nyQCBlpVSykwO5hZk396In+3JSVhSf7fHmmA7ljjZ3Uwvk6hff4nrwKwxOmsKnrZDWmkwioS7kqkezdC/f4OMxdcqlXbOzcbXDxG6zWhI64hLLpc8pb50t2gRY6tSyGPh9aBZ/YwyBbb
X-MS-Office365-Filtering-Correlation-Id: 5c9f54ab-ebb2-4aa4-0c6a-08d5a1346930
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2018 11:48:01.2764 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 5c9f54ab-ebb2-4aa4-0c6a-08d5a1346930
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0701MB2337
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/B0DMn6NPgeYwZYE24fo99jNMYIs>
Subject: Re: [ippm] Last Call: <draft-ietf-ippm-twamp-yang-07.txt> (Two-Way Active Measurement Protocol (TWAMP) Data Model) to Proposed Standard
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 13 Apr 2018 11:48:09 -0000

Mahesh

Yes, your responses look good.

Tom Petch


----- Original Message -----
From: "Mahesh Jethanandani" <mjethanandani@gmail.com>
Sent: Friday, April 13, 2018 1:13 AM


Tom,

First of all, thanks for reviewing the document. See my comments inline
with [mj].


> On Apr 11, 2018, at 8:35 AM, tom p. <daedulus@btconnect.com> wrote:
>
> Some further thoughts on this I-D; I have included the earlier ones
(as
> yet unanswered) below.
>
> typedef test-session-state {
>     .....
>             "Indicates that accepted TWAMP-Test session request.";
>
> something seems to have been omitted.

[mj] Yes. Should be “Indicates an accepted TWAMP-Test session request.”

>
>
> leaf reflector-udp-port {
>               type uint32 {
>                 range "862 | 49152..65535";
> I am puzzled as to why uint32 is used and inet:port-number is not used
> here (happens in two places)

[mj] Ok. Will make the change.

>
>
> "Reusable data structure for count which is used both in the Server
> container.";
>
> 'both' suggests to me that there should be a second clause.

[mj] Yes, made it "Reusable data structure for count, which is used both
in the Server and the Control-Client.”

>
>
> "grouping max-count {
>       leaf max-count {
>         type uint8 {
>           range 10..31;
>         }
>         default 15;"
> contradicts
> " ...The default max-count value SHOULD be 32768.'
> 32768 is outside the range!

>
> I think that your problem here is that other TWAMP documentation, such
> as the RFC that you quote and reference uses 'max-count' to mean a 32
> bit value but here you are reusing the term with a different semantic
> and using it to mean an exponent; rename the object to make it clear
> that it is an exponent and not a count e.g. max-count-exp. This occurs
> in several places.

[mj] Ok. How about we call it 'max-count-exponent’, just to be explicit?

>
> "container session-sender {
>         if-feature session-sender;
>         presence  "Enables TWAMP Session-Sender functionality.";
>         description
>           "Configuration of the TWAMP Session-Sender logical entity";
>         leaf admin-state {
>           type boolean;
>           mandatory true;
>           description
>             "Indicates whether the device is allowed to operate
>              as a TWAMP Session-Sender.";
> "
>
> A presence container is a boolean so I am unclear what it is that the
> admin-state boolean adds here since the presence container "Enables
> TWAMP Session-Sender functionality.”;

[mj] Good catch. Will remove the presence statement.

>
> "     container session-reflector {
> "
> same story here

[mj] Ditto.

>
> Tom Petch
>
> ----- Original Message -----
> From: "tom p." <daedulus@btconnect.com>
> To: <ietf@ietf.org>
> Cc: <ippm-chairs@ietf.org>; <draft-ietf-ippm-twamp-yang@ietf.org>;
> <ippm@ietf.org>
> Sent: Wednesday, April 11, 2018 12:40 PM
>
>
>> Some mostly administrative points on this I-D
>>
>> [I-D.ietf-ippm-metric-registry] is an Informative Reference so would
> not
>> hold up the production of this as an RFC yet you ask that the text be
>> replaced by the RFC number which implies that you do want it held up.
> I
>> did ask the RFC Editor about this and yes, they would expect to catch
> it
>> but it would seem simpler if this could be a Normative Reference.
You
>> do have the statement up front about replacing the text with the RFC
>> number and yes, the RFC Editor like that.

[mj] I will drop the editor’s note to replace the RFC number for
I-D.ietf-ippm-metric-registry.

>>
>> There is no reference, no legend,  for Tree Diagrams in 5.1 .  There
> is
>> now an RFC on this, RFC 8340 while RFC8343 s.1.3 is an example of how
> to
>> reference this RFC.

[mj] Will add reference to RFC8340.

>>
>> There is no copyright statement in the YANG module as is required by
>> 6087bis (please, IESG, make this an RFC soon:-)

[mj] Ok. Will add it.

>>
>> leaf server-start-time {
>> includes
>>                The timestamp format follows RFC 1305
>> but I see no RFC 1305 in the references of the I-D

[mj] Ok. Will add it in the references, and also in the beginning of
section 5.2. Will do the same for all the other references in the YANG
module.

>>
>> leaf reflector-udp-port
>> " The default number is
>>                  within to the dynamic port range and  .. "
>> which is not quite English.

[mj] Yes. How about “The default number is within the dynamic port range
and …”?

>>
>> "The new well-known port (862) MAY be used.";
>> This was allocated in 2008 which seems to stretch the meaning of
‘new'

[mj] Al, do you want to comment on this?

>>
>> leaf secret-key {
>>             type binary;
>> I wonder about the choice of binary; elsewhere, e.g. RFC8177,
>> hexadecimal is used.
>> Are there, should there be, any length constraints on this key?

[mj] RFC8177 says that not all vendors support the definition of
key-string as a hexadecimal. Just to be safe, I will make it string.

>>
>> case poisson {
>> ...
>>   reference
>>                  "RFC 2330: Framework for IP Performance Metrics";
>> RFC2330 I cannot see in the references for the I-D

[mj] Will add.

>>
>> The Security Considerations are not as per the current template e.g.
> no
>> mention of RESTCONF

[mj] Agree. Will update.

Cheers.

>>
>> Tom Petch
>>
>> ----- Original Message -----
>> From: "The IESG" <iesg-secretary@ietf.org>
>> To: "IETF-Announce" <ietf-announce@ietf.org>
>> Cc: <ippm-chairs@ietf.org>; <draft-ietf-ippm-twamp-yang@ietf.org>;
>> <ippm@ietf.org>
>> Sent: Monday, April 09, 2018 3:57 PM