Re: [Netconf] mbj's WGLC review of yang-push-17

Alexander Clemm <alexander.clemm@huawei.com> Thu, 20 September 2018 18:51 UTC

Return-Path: <alexander.clemm@huawei.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2559130E3D for <netconf@ietfa.amsl.com>; Thu, 20 Sep 2018 11:51:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 hZXwiwWbIS62 for <netconf@ietfa.amsl.com>; Thu, 20 Sep 2018 11:51:52 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 C2348130E12 for <netconf@ietf.org>; Thu, 20 Sep 2018 11:51:52 -0700 (PDT)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id E5796618EB895 for <netconf@ietf.org>; Thu, 20 Sep 2018 19:51:47 +0100 (IST)
Received: from SJCEML703-CHM.china.huawei.com (10.208.112.39) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.399.0; Thu, 20 Sep 2018 19:51:48 +0100
Received: from SJCEML521-MBX.china.huawei.com ([169.254.1.47]) by SJCEML703-CHM.china.huawei.com ([169.254.5.77]) with mapi id 14.03.0415.000; Thu, 20 Sep 2018 11:51:43 -0700
From: Alexander Clemm <alexander.clemm@huawei.com>
To: Martin Bjorklund <mbj@tail-f.com>, "kwatsen@juniper.net" <kwatsen@juniper.net>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] mbj's WGLC review of yang-push-17
Thread-Index: AQHUNImzU9I4weZMB0iH1L0LVTTudKTT9lwAgAFivoCAAJuIoIABSioAgABMJJCAIVwXgIAAkQAAgABDGrA=
Date: Thu, 20 Sep 2018 18:51:42 +0000
Message-ID: <644DA50AFA8C314EA9BDDAC83BD38A2E0EB691A5@sjceml521-mbx.china.huawei.com>
References: <20180829.150740.1323981906990283714.mbj@tail-f.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0EB5B91A@sjceml521-mbs.china.huawei.com> <3B841FC9-63F4-41DD-BCE2-AA543FDADA5C@juniper.net> <20180920.094520.798604819426315275.mbj@tail-f.com>
In-Reply-To: <20180920.094520.798604819426315275.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.193.35.96]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/jUGMJD9su1sIoTWDAVsI_oNmD94>
Subject: Re: [Netconf] mbj's WGLC review of yang-push-17
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Sep 2018 18:51:55 -0000

I am about to post -19 but I do not like the suggested change to go from timeticks to seconds.

Seconds is a fairly coarse unit.  I would not be surprised to see requirements for finer granularity in the future, even more so in virtualization and controller scenarios in which we start to see YANG being used.  There are applications that use single second periods today so I think it is entirely conceivable to see need for subsecond support down the line.  To allow periods only in units of seconds would seem to unnecessarily hobble ourselves.  Keeping things to timeticks is more futureproof IMHO.  

--- Alex

> -----Original Message-----
> From: Martin Bjorklund [mailto:mbj@tail-f.com]
> Sent: Thursday, September 20, 2018 12:45 AM
> To: kwatsen@juniper.net
> Cc: Alexander Clemm <alexander.clemm@huawei.com>; netconf@ietf.org
> Subject: Re: [Netconf] mbj's WGLC review of yang-push-17
> 
> Hi,
> 
> Thanks Kent, I missed this one.
> 
> Authors, I suggest we change the type for "yp:period" from "yang:timeticks" to
> "uint32" with units "seconds".
> 
> See the thread starting at
> https://mailarchive.ietf.org/arch/msg/netconf/SU1VnBV1Ea5Ae3QzPn_joyyRnZ
> o
> 
> 
> /martin
> 
> 
> Kent Watsen <kwatsen@juniper.net> wrote:
> > Hi Martin,
> >
> > I'm surprised to see that your review doesn't suggest changing
> > "yp:period" from yang:timeticks to seconds.
> >
> > You had previously made this suggestion in another thread, but it's
> > still timeticks in -18.
> >
> > Kent // all hat
> >
> >
> >
> >
> >