Re: [yang-doctors] 6991bis
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 22 March 2018 11:39 UTC
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2543124235 for <yang-doctors@ietfa.amsl.com>; Thu, 22 Mar 2018 04:39:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01] 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 BYqZpQWdYBZY for <yang-doctors@ietfa.amsl.com>; Thu, 22 Mar 2018 04:39:15 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D09012420B for <yang-doctors@ietf.org>; Thu, 22 Mar 2018 04:39:15 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id E6F18F79; Thu, 22 Mar 2018 12:39:13 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id uXc4uJHoqjXr; Thu, 22 Mar 2018 12:39:12 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Thu, 22 Mar 2018 12:39:13 +0100 (CET)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id C07EE20036; Thu, 22 Mar 2018 12:39:13 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id TEig9VIX0sNb; Thu, 22 Mar 2018 12:39:13 +0100 (CET)
Received: from elstar.local (unknown [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 3458020035; Thu, 22 Mar 2018 12:39:13 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 070FA427B422; Thu, 22 Mar 2018 12:39:12 +0100 (CET)
Date: Thu, 22 Mar 2018 12:39:12 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Robert Wilton <rwilton@cisco.com>
Cc: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Message-ID: <20180322113912.brriajkiregcawdi@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Robert Wilton <rwilton@cisco.com>, "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
References: <D387A77F-6970-4568-8EFB-1454C753CE9C@cisco.com> <20180322110052.7nz7q7tzrntkuetj@elstar.local> <7B6B8DE0-DD15-4E06-8FB0-5EFE5EDCBE50@cisco.com> <ddd2629d-8263-73c3-3a45-251ca8d5bd4d@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: 8bit
In-Reply-To: <ddd2629d-8263-73c3-3a45-251ca8d5bd4d@cisco.com>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/sOtH1AmM32B-a3xjGkBAiLytUoE>
Subject: Re: [yang-doctors] 6991bis
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Mar 2018 11:39:20 -0000
There was a long discussion during the design of YANG whether YANG should have floating point types and the outcome back then was it should not. I understand that some QoS standards do use floating point formats but in general networking stacks do prefer to not use floating point numbers - due to hardware constraints but also due to floating point numbers are fragile and easily "wrong" unless you are very careful with them. Unless you need to cover a huge range, types such as decimal64 are usually faster and much more precise. /js On Thu, Mar 22, 2018 at 11:16:13AM +0000, Robert Wilton wrote: > Not necessarily a discussion for here (and I've been told that it has > happened before), but Rob/Lou were discussing their desire to see IEEE float > (and presumably also IEEE double) types defined in YANG. > > routing-types.yang (RFC 8294) defines bandwidth-ieee-float32, but ends up > using a string as the base type (fine for text based encoding schemes, not > so great for binary encoding schemes). Apparently OpenConfig have a similar > definition that ends up with binary as the base type, but that also has its > own problems. > > Thanks, > Rob > > > On 22/03/2018 11:04, Reshad Rahman (rrahman) wrote: > > Date is the only definition I am aware of, I was expecting/hoping the more experienced YDs would have more. > > > > Regards, > > Reshad. > > > > > > On 2018-03-22, 11:01 AM, "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de> wrote: > > > > On Thu, Mar 22, 2018 at 10:28:02AM +0000, Reshad Rahman (rrahman) wrote: > > > > > > On Tuesday we discussed adding a typedef for date to avoid modules having to define their own. Is it worth doing a bis document just for this? Are there more common YANG types which need to be added? > > > > > What we can do is to start a 6991bis I-D to collect new definitions > > but pushing such a bis I-D through the whole process just for adding > > 'date' is likely too costly. > > The last time we updated the common typedefs, the comments received > > during IESG processing were mostly concerning definitions we did not > > add or change, and this might happen again. Some of that was useful > > since terminology is often becoming better defined but sometimes this > > also leads to interesting alignment and compability issues. While > > there are errata pointing to 'internal' (yang related) terminology > > issues, it may be necessary to also carefully check alignment with > > other terminology documents that are coming along, such as > > draft-ietf-dnsop-terminology-bis-09. > > Anyway, which other definitions have we seen commonly used that could > > benefit from moving into 6991bis (and which are not covered by say > > routing types)? > > /js > > -- > > Juergen Schoenwaelder Jacobs University Bremen gGmbH > > Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany > > Fax: +49 421 200 3103 <https://www.jacobs-university.de/> > > > > _______________________________________________ > > yang-doctors mailing list > > yang-doctors@ietf.org > > https://www.ietf.org/mailman/listinfo/yang-doctors > -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <https://www.jacobs-university.de/>
- [yang-doctors] 6991bis Reshad Rahman (rrahman)
- Re: [yang-doctors] 6991bis Juergen Schoenwaelder
- Re: [yang-doctors] 6991bis Reshad Rahman (rrahman)
- Re: [yang-doctors] 6991bis Robert Wilton
- Re: [yang-doctors] 6991bis Juergen Schoenwaelder
- Re: [yang-doctors] 6991bis Robert Wilton