[core] draft-bierman-core-yid-00.txt questions

David Reid <reid@snmp.com> Wed, 24 August 2016 20:35 UTC

Return-Path: <reid@snmp.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 405D412D675 for <core@ietfa.amsl.com>; Wed, 24 Aug 2016 13:35:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level:
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.548, SPF_HELO_PASS=-0.001, 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 PBjtEWMHaLVP for <core@ietfa.amsl.com>; Wed, 24 Aug 2016 13:35:23 -0700 (PDT)
Received: from mailbox.snmp.com (mailbox.snmp.com [192.147.142.80]) by ietfa.amsl.com (Postfix) with ESMTP id 1A17712D5BE for <core@ietf.org>; Wed, 24 Aug 2016 13:35:23 -0700 (PDT)
Received: from rh7.snmp.com (rh7.snmp.com [192.147.142.222]) by mailbox.snmp.com (8.9.3p2-20030922/m.0080228) with ESMTP id QAA11769 for <core@ietf.org>; Wed, 24 Aug 2016 16:35:22 -0400 (EDT)
Received: from snmp.com (rh7 [IPv6:::1]) by rh7.snmp.com (Postfix) with ESMTP id 3B9B45213C4 for <core@ietf.org>; Wed, 24 Aug 2016 16:35:26 -0400 (EDT)
To: core@ietf.org
Date: Wed, 24 Aug 2016 16:35:26 -0400
From: David Reid <reid@snmp.com>
Message-Id: <20160824203526.3B9B45213C4@rh7.snmp.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/O-Jhyl3IRYaskc392n36jNWph8U>
Subject: [core] draft-bierman-core-yid-00.txt questions
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Aug 2016 20:35:24 -0000

I read draft-bierman-core-yid-00.txt and have a few questions.

Will all IETF standard yang modules be included in the YANG identifier 
registry or just ones that might be used on constrained devices? 

In order to assign numbers, is it correct that I need the first revision of 
the module or else the current revision and the registry assignments for the 
previous revision?

What is the benefit of assigning values using hashing over sequentially 
assigning values? 

When there is a hash collision, would it be possible to rehash the value
to get a unique number so that we never have to manually assign numbers and
thus never need to register the numbers in the registry?

Why does module-id need to be added to the YANG module names registry since
it is also in the YANG identifier registry? 

Would it make sense to put the module-id inside the yang module with a yid 
extension so that I would not have to go lookup that information from a 
registry? 

Would it be possible to assign the module-id based on information in the 
module, for example a hash of the namespace and maybe the revision date. 
That way, a module-id would not have to be assigned and maintained in a 
registry.

If I want to handle private modules, do I have to create my own registry?
It seems important that private modules be supported. Could we re-use the
SMI enterprise number assignments for creating module-ids for private modules?

Who will assign the local-id numbers? Is that done by the working group that 
defines the YANG module?

-David Reid