Re: [yang-doctors] 6991bis

Robert Wilton <rwilton@cisco.com> Thu, 22 March 2018 11:16 UTC

Return-Path: <rwilton@cisco.com>
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 63A6912420B for <yang-doctors@ietfa.amsl.com>; Thu, 22 Mar 2018 04:16:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 5lBKB6OW9QFI for <yang-doctors@ietfa.amsl.com>; Thu, 22 Mar 2018 04:16:16 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E88B12D7F6 for <yang-doctors@ietf.org>; Thu, 22 Mar 2018 04:16:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2641; q=dns/txt; s=iport; t=1521717376; x=1522926976; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=J03OjnuzA2Vm6uXDXp2D45z1DJzbIcjl722atyjQj/Q=; b=Winu2pvwonAzsIjyj4XPRObzAyZ/EOdzVpSI8dkOViwqh43ywYbRdQyG DeiJkmbl3cFBvo05XsdWrdqov1luHIHrcsBQlRPNaI/7ctyIoG/KHt6xW pRpv0MKfQJgoSgl4KUXWDM1bRIoo+/ozpLvO5TItYDwu5a8fuA1aAAjVy k=;
X-IronPort-AV: E=Sophos;i="5.48,344,1517875200"; d="scan'208";a="2720811"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Mar 2018 11:16:14 +0000
Received: from [10.63.23.169] (dhcp-ensft1-uk-vla370-10-63-23-169.cisco.com [10.63.23.169]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id w2MBGDaM001217; Thu, 22 Mar 2018 11:16:14 GMT
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Cc: "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>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <ddd2629d-8263-73c3-3a45-251ca8d5bd4d@cisco.com>
Date: Thu, 22 Mar 2018 11:16:13 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <7B6B8DE0-DD15-4E06-8FB0-5EFE5EDCBE50@cisco.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/rnvf7O9IbBHuRGcXeZ6AmwTd1pc>
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:16:26 -0000

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