Re: [Gen-art] [Lime] Genart telechat review of draft-ietf-lime-yang-connectionless-oam-methods-09

Greg Mirsky <gregimirsky@gmail.com> Wed, 18 October 2017 11:11 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 871FE13336A; Wed, 18 Oct 2017 04:11:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.698
X-Spam-Level:
X-Spam-Status: No, score=-1.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 vJiu570JS4eV; Wed, 18 Oct 2017 04:11:05 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 D1261133344; Wed, 18 Oct 2017 04:11:04 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id g70so5365063lfl.3; Wed, 18 Oct 2017 04:11:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dajPNhFBwwhUHwpzLjPPQR1hnr546w7PhG5qRF0SIqc=; b=dSwGpBjUcdjtKrvlgJcUcJUYBP8ZJ0DJcUbL/cQsT44VsK2CPi+zUeRiuNPNNxf16F gA26fpNlxlNoBgq9vXnmFFPfPVXoqR9+GjcE6lH18NIIDOWbflKi+N9U5s9JTzdJr/K/ JSTTY64zY5aswuqWQ3xgyszfSlT7UZuSw2zxGPRFar6dnnvSHf8V7Wu85cdbnAYRXuCo cxGA1pTwjdZdi7FMYmduRM6VZ+fas+r2UGuUsw7cakCvztOi5SWiJ9aan+DXl6xJJJ49 o5MFp5JttrocQecRwX4vfZSjc82Z/ZcMi0pjS/UQSvqgw8K2uNJo8K5b/ZFdfuhnALhm pbww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dajPNhFBwwhUHwpzLjPPQR1hnr546w7PhG5qRF0SIqc=; b=XZUCUwv8eNA4f/vil2rYvuboyraBUiGiSi8qT/Ca6qkowWoV4HB+6j21uC3l65KCCo RIvnecjBNuVkVdB0w6DVO9gfR5gW+Ks4PVP2FrAhvZSGjlE3TYMBiR7vxUmf5SbGfkHy AjERvnRuPMJ6/4ezrrAc7rqGs1uxXrgYNFk0445PCirJEklw8lGYr+gYFl6IJW7iVp6Z b99cgMrUPdWvTx/KGxb/ZVMiv4eI7Vr/dXm9QSTHZ7MOKsVXEKooIlWD0Def2OCRZ+tr wSa5CKNlMfatnNDLoEC0iyEoWIAbSXAPmNwKIAiic0f61ROB8cJ7tG7U4YK8DAFstFeo gJEA==
X-Gm-Message-State: AMCzsaUdTuAG9quzjiVIT4MyrwPt8Gf+dMjlOTxuEQN9O/Vz0vZpqV1X SC0uTfYXMawG7PPorhjg/Gi84DgTF53tt2c4fkC3Vw==
X-Google-Smtp-Source: ABhQp+QxAntUzIIYRAPpiwoXAvIfPSPGHZVHuyQATiTqzPwUl0N6KfCb3yGscXGJKEFyxifNRhEZiKm3j5gHM1QQH0A=
X-Received: by 10.46.23.211 with SMTP id 80mr2272447ljx.162.1508325062989; Wed, 18 Oct 2017 04:11:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.32.147 with HTTP; Wed, 18 Oct 2017 04:11:02 -0700 (PDT)
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA9ABF3D69@nkgeml513-mbx.china.huawei.com>
References: <150795599146.4998.1974521980268023090@ietfa.amsl.com> <B8F9A780D330094D99AF023C5877DABA9ABE743C@nkgeml513-mbx.china.huawei.com> <edb94719-d385-1b6f-ad04-2132db9c3111@gmail.com> <B8F9A780D330094D99AF023C5877DABA9ABF3D69@nkgeml513-mbx.china.huawei.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Wed, 18 Oct 2017 04:11:02 -0700
Message-ID: <CA+RyBmW4pSb3yDf+YoJkAqU4p8iU7QQp25hGFvM3vohAs0Msbg@mail.gmail.com>
To: Qin Wu <bill.wu@huawei.com>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, "gen-art@ietf.org" <gen-art@ietf.org>, "draft-ietf-lime-yang-connectionless-oam-methods.all@ietf.org" <draft-ietf-lime-yang-connectionless-oam-methods.all@ietf.org>, "lime@ietf.org" <lime@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c06d97e95dbbc055bd04bf6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/a4UEQegyPtNRSrQ7g3pX_WVqlII>
Subject: Re: [Gen-art] [Lime] Genart telechat review of draft-ietf-lime-yang-connectionless-oam-methods-09
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Oct 2017 11:11:07 -0000

Hi Qin, et. al,
IEEE 1588-2008 in section 5.3.2 defines the TimeInterval type that
represents time interval as

struct TimeInterval
{

Integer64 scaledNanoseconds;

};
The scaledNanoseconds member is the time interval expressed in units of
nanoseconds and multiplied by
2+16.
Positive or negative time intervals outside the maximum range of this data
type shall be encoded as the
largest positive and negative values of the data type, respectively.
For example, 2.5 ns is expressed as 0000 0000 0002 800016.


TICTOC WG is discussing proposed PTP YANG model which includes

     typedef time-interval-type {
       type int64;
       description
         "Derived data type for time interval,
         represented in units of nanoseconds and
         multipled by 2^16";
       reference
         "IEEE Std 1588-2008: 5.3.2";
     }

Would the it be re-usable in LIME?

Regards,
Greg

On Mon, Oct 16, 2017 at 6:40 PM, Qin Wu <bill.wu@huawei.com> wrote:

> -----邮件原件-----
> 发件人: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]
> 发送时间: 2017年10月17日 3:20
> 收件人: Qin Wu; gen-art@ietf.org
> 抄送: draft-ietf-lime-yang-connectionless-oam-methods.all@ietf.org;
> lime@ietf.org
> 主题: Re: Genart telechat review of draft-ietf-lime-yang-
> connectionless-oam-methods-09
>
> Qin,
>
> Thanks for the reply, I have follow-up questions in line:
>
> On 17/10/2017 00:52, Qin Wu wrote:
> > Thank Brian for valuable review to this document, please see my reply
> below.
> >
> > -Qin
> > -----邮件原件-----
> > 发件人: Brian Carpenter [mailto:brian.e.carpenter@gmail.com]
> > 发送时间: 2017年10月14日 12:40
> > 收件人: gen-art@ietf.org
> > 抄送: draft-ietf-lime-yang-connectionless-oam-methods.all@ietf.org;
> > lime@ietf.org
> > 主题: Genart telechat review of
> > draft-ietf-lime-yang-connectionless-oam-methods-09
> >
> > Reviewer: Brian Carpenter
> > Review result: Ready with Issues
> >
> > Gen-ART *Last Call* review of
> > draft-ietf-lime-yang-connectionless-oam-methods-09
> >
> > I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed by the
> IESG for the IETF Chair.  Please treat these comments just like any other
> last call comments.
> >
> > For more information, please see the FAQ at <http://wiki.tools.ietf.org/
> area/gen/trac/wiki/GenArtfaq>.
> >
> > Document: draft-ietf-lime-yang-connectionless-oam-methods-09.txt
> > Reviewer: Brian Carpenter
> > Review Date: 2017-10-14
> > IETF LC End Date: 2017-10-25
> > IESG Telechat date: 2017-10-26
> >
> > Summary: Ready with issues
> > --------
> >
> > Comment:
> > --------
> >
> > The shepherd says:
> >
> >> This includes at least two different implementations of the model, as
> >> well as product and demos at Bits-n-Bytes.
> >
> > Shouldn't WGs make routine use of BCP 205, RFC 7942 "Improving Awareness
> of Running Code: The Implementation Status Section"?
> >
> > Minor Issues:
> > -------------
> >
> > In the following:
> >
> >          |  +--ro min-delay-value?         uint32
> >          |  +--ro max-delay-value?         uint32
> >          |  +--ro average-delay-value?     uint32
> >          +--ro session-jitter-statistics
> >          |  +--ro time-resolution-value?   identityref
> >          |  +--ro min-jitter-value?        uint32
> >          |  +--ro max-jitter-value?        uint32
> >          |  +--ro average-jitter-value?    uint32
> >
> > what are the units for the delay-value and jitter-value elements, and
> what definition of 'jitter' is intended?
> >
> > [Qin]: Delay supports various time units such as s,ms,ns and etc.
> > To represent this using YANG construct, we introduce a new parameter
> time-resolution-value as follows:
> >    |     +--ro session-delay-statistics
> >    |     |  +--ro time-resolution-value?   identityref
> >    |     |  +--ro min-delay-value?         uint32
> >    |     |  +--ro max-delay-value?         uint32
> >    |     |  +--ro average-delay-value?     uint32
> > With this time-resolution-value parameter, we can support various
> different time unit.
>
> OK, because of my poor understanding of YANG, I still have to ask where
> the possible values of time-resolution-value are defined. Is there an
> enumeration somewhere that I have missed?
>
> [Qin]:Instead of using enum, we are using identity to define possible
> values of time-resolution-value
> "
>   identity time-resolution {
>     description
>       "Time interval resolution";
>   }
>   identity seconds {
>     base time-resolution;
>     description
>       "Time resolution in Seconds";
>   }
>   identity milliseconds {
>     base time-resolution;
>     description
>       "Time resolution in Milliseconds";
>   }
>   identity microseconds {
>     base time-resolution;
>     description
>       "Time resolution in Microseconds";
> "
> And then we can use identityref to refer to these values of
> time-resolution values we have actually defined.
>
> > The same is applied to jitter. As clarified in the introduction, the
> > definition of 'jitter' is used to monitor reachability of destinations,
> troubleshoot failures, monitor performance.
>
> Yes, but what *is* jitter physically? There is no scientific definition of
> 'jitter' in the IETF. Do you mean IPDV as defined in RFC3393 or something
> else?
>
> [Qin]:Jitter is packet jitter (https://en.wikipedia.org/wiki/Jitter). You
> are right, one typical example of packet jitter is IPDV defined in RFC3393,
> but we don't want to limit it to IPDV, we also allow support other protocol
> and other measurement methodology,
> e.g., we could also consider to use MAPDV2 defined in [ITU-T G.1020], what
> protocol is used and what methodology is used can be indicated by the
> parameter 'protocol-id' parameter and 'protocol-id-meta-data' in this model.
>
> I assume that by 'delay' you mean RFC7679 rather than RFC2681, but that
> seems straightforward,  and so do the other metrics used in
> session-packet-statistics and session-error-statistics.
>
> [Qin]: Correct, it is one way delay instead of two way delay. Yes, the
> same is applied to session-packet-statistics and session-error-statistics.
>
> Regards
>     Brian
>
> >
> >   identity protocol-id-internet {
> >     base protocol-id;
> >     description
> >       "Internet Protocols.";
> >   }
> >
> > It isn't clear what "Internet Protocols" means. It seems totally
> non-specific.
> >
> >
> > [Qin]: It is referred to a standard protocol (e.g., TCP/IP protocols,
> > ICMP, IGMP,etc.,) We can make this clear by adding a few clarification
> text in the description of protocol-id-internet.
> > Nits:
> > -----
> >
> >   identity protocol-id-propreitary {
> >     base protocol-id;
> >     description
> >       "Propreitary protocol (eg.,IP SLA).";
> >
> > s/propreitary/proprietary/
> > s/Propreitary/Proprietary/
> >
> > [Qin]: Thanks and will get this fixed.
> >
>
> _______________________________________________
> Lime mailing list
> Lime@ietf.org
> https://www.ietf.org/mailman/listinfo/lime
>