Re: [netmod] I-D Action: draft-lange-netmod-iana-timezones-00.txt

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 28 June 2012 13:02 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CB2921F8568 for <netmod@ietfa.amsl.com>; Thu, 28 Jun 2012 06:02:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.911
X-Spam-Level:
X-Spam-Status: No, score=-102.911 tagged_above=-999 required=5 tests=[AWL=-0.262, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_43=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Izu2sedJDL1P for <netmod@ietfa.amsl.com>; Thu, 28 Jun 2012 06:02:33 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by ietfa.amsl.com (Postfix) with ESMTP id 0BC2C21F8567 for <netmod@ietf.org>; Thu, 28 Jun 2012 06:02:33 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2C79520C12; Thu, 28 Jun 2012 15:02:32 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id zX_KPh1NqCs0; Thu, 28 Jun 2012 15:02:32 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B581A20C2C; Thu, 28 Jun 2012 15:02:31 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id DAE19202EE06; Thu, 28 Jun 2012 15:02:30 +0200 (CEST)
Date: Thu, 28 Jun 2012 15:02:30 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Lange, Jeffrey K (GE Energy)" <jeffrey.K.lange@ge.com>
Message-ID: <20120628130230.GA55885@elstar.local>
Mail-Followup-To: "Lange, Jeffrey K (GE Energy)" <jeffrey.K.lange@ge.com>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20120627223703.1415.77965.idtracker@ietfa.amsl.com> <20120628053120.GA54197@elstar.local> <20120628.103148.991980626356570748.mbj@tail-f.com> <B0FB1FAC2C7B234D87DCEBF309F703C51BAA6B7D@CINMBCNA02.e2k.ad.ge.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <B0FB1FAC2C7B234D87DCEBF309F703C51BAA6B7D@CINMBCNA02.e2k.ad.ge.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] I-D Action: draft-lange-netmod-iana-timezones-00.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Jun 2012 13:02:34 -0000

On Thu, Jun 28, 2012 at 12:43:54PM +0000, Lange, Jeffrey K (GE Energy) wrote:
> >I think the module probably has to be maintained manually by IANA.
> >The reason for this is the YANG update rule (Section 10 of RFC 6020):
> >
> >   o  An "enumeration" type may have new enums added, provided the old
> >      enums's values do not change.
> >
> >The current enum list is sorted in alphabetic order, and it must be clear to IANA that they need to alloacte a new value for the new value.  So they can probably not just re-generate >the module from their database - unless they add the value to their db of course.
> 
> I sorted this alphabetically for readability, the zone.tab file I built it from is sorted as stated in the file:
> 	# The table is sorted first by country, then an order within the country that
> 	# (1) makes some geographical sense, and
> 	# (2) puts the most populous zones first, where that does not contradict (1).
> 
> So that also is a bit arbitrary as well.  Should I leave the enums in alphabetical order? Or should it match what the zone.tab file does?

Any order is likely irrelevant over time. See below.
 
> >I just realized that you didn't include the value statement in this version (it was there in your first proposal).  I suggest you put it back for the reasons given above.
> 
> I pulled those out because they don't map to anything in particular, they were just an incrementing number that I used.  There is no concept of an ID number for entries in the TZ database, just the location string itself...  thoughts?

Would be nice there were one. Otherwise, the translation needs to
assign one and never change it afterwards.
 
> How does the statement "provided the old  enums's values do not change" apply to YANG enums that don't use values? Does that imply that all enums should have a value tag if they ever want to be considered maintainable?

If there is no value statement, then the enums are numbered
automatically. This means that the order may never change (and it is
harder to figure out what the 30th enum's value really is unless you
use tools). See RFC 6020 section 9.6.4.2.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>