[yang-doctors] IANA full-registry definition

Benoit Claise <bclaise@cisco.com> Sat, 30 March 2019 13:44 UTC

Return-Path: <bclaise@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 71EEF1201A3 for <yang-doctors@ietfa.amsl.com>; Sat, 30 Mar 2019 06:44:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -13.102
X-Spam-Level:
X-Spam-Status: No, score=-13.102 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, 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 VVL3qRo-94U7 for <yang-doctors@ietfa.amsl.com>; Sat, 30 Mar 2019 06:44:10 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D51C120052 for <yang-doctors@ietf.org>; Sat, 30 Mar 2019 06:44:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=560; q=dns/txt; s=iport; t=1553953450; x=1555163050; h=to:cc:from:subject:message-id:date:mime-version: content-transfer-encoding; bh=oqRe5r1myhwoMHRbfBLucxZMbEn7AksRBbUEuOKvdXc=; b=G6ZYz9w9TEFhiYBzN5AvrMkP1G75vyXgXy3WzG1IHT3eQtifXjFL7Jv0 ag2uErCO4DdWHT9hz6rbZlQUQdQzWPWZUJe6/BhDNhQ65Yt5AaRejEUJU FoRZ/kqe8mi5nk/C4JaT5OMbKdb4uoRNwV9uB8K1rIyg6rT8w2EcNxZiH o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ATAAC0cZ9c/xbLJq1kGgEBAQEBAgEBAQEHAgEBAQGBVAIBAQEBCwGDSTKENYh7pxAQhGIKhVs3Bg0BAQMBAQkBAgECbSiFdBVBNQImAl8NCAEBgx6BdqhHgS+FRoRjgQskAYtJgUA/gREnineCVwOSEJJaYAmTWgYagXOJS4hul1SHYYFjIoFWMxoIGxWDKJBLPgORCwEB
X-IronPort-AV: E=Sophos;i="5.60,288,1549929600"; d="scan'208";a="11067904"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Mar 2019 13:44:08 +0000
Received: from [10.61.67.39] (ams3-vpn-dhcp807.cisco.com [10.61.67.39]) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id x2UDi62m005384; Sat, 30 Mar 2019 13:44:06 GMT
To: YANG Doctors <yang-doctors@ietf.org>
Cc: "Ruediger Volk, Deutsche Telekom Technik - FMED-41.." <rv@NIC.DTAG.DE>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <b7a2f097-649b-ffca-6e80-921754fd85eb@cisco.com>
Date: Sat, 30 Mar 2019 14:44:06 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Outbound-SMTP-Client: 10.61.67.39, ams3-vpn-dhcp807.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/_JsYgZEp0OwH5Yze8Wd7qAihTfY>
Subject: [yang-doctors] IANA full-registry definition
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
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: Sat, 30 Mar 2019 13:44:13 -0000

Hi Doctors,

I was approached by Ruediger with this problem statement. I'll let 
Ruediger extend the problem description if necessary.

When we model an IANA registry with YANG, we model the entries one by 
one as new values are assigned by IANA.
There are some IANA registries with clear ranges. For example, fields 
with a couple of bits.
Would it be possible to have a generic way (YANG 
typedef/identities:whatever) that would report all entries, even the 
ones not yet assigned. The latter would report the observed values.

Regards, Benoit