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

Martin Bjorklund <mbj@tail-f.com> Thu, 28 June 2012 15:03 UTC

Return-Path: <mbj@tail-f.com>
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 E7E5721F8548 for <netmod@ietfa.amsl.com>; Thu, 28 Jun 2012 08:03:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.723
X-Spam-Level:
X-Spam-Status: No, score=-1.723 tagged_above=-999 required=5 tests=[AWL=-0.277, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_43=0.6]
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 UjMV38eIwA9Z for <netmod@ietfa.amsl.com>; Thu, 28 Jun 2012 08:03:12 -0700 (PDT)
Received: from mail.tail-f.com (de-2007.d.ipeer.se [213.180.74.102]) by ietfa.amsl.com (Postfix) with ESMTP id 408D221F8539 for <netmod@ietf.org>; Thu, 28 Jun 2012 08:03:12 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id B69CE1200A6E; Thu, 28 Jun 2012 17:03:10 +0200 (CEST)
Date: Thu, 28 Jun 2012 17:03:10 +0200
Message-Id: <20120628.170310.618791618530311134.mbj@tail-f.com>
To: Jonathan.Hansford@generaldynamics.uk.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <83C941F7F59F3F42AC017AD1E650546206D4C3D4@GDUKADH850.uk1.r-org.net>
References: <20120628130230.GA55885@elstar.local> <20120628131213.GA55958@elstar.local> <83C941F7F59F3F42AC017AD1E650546206D4C3D4@GDUKADH850.uk1.r-org.net>
X-Mailer: Mew version 6.4 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Cc: 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
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 15:03:13 -0000

<Jonathan.Hansford@generaldynamics.uk.com> wrote:
> > -----Original Message-----
> > From: Juergen Schoenwaelder
> [mailto:j.schoenwaelder@jacobs-university.de]
> > Sent: 28 June 2012 14:12
> > To: Lange, Jeffrey K (GE Energy); Martin Bjorklund; netmod@ietf.org
> > Subject: Re: [netmod] I-D Action:
> draft-lange-netmod-iana-timezones-00.txt
> > 
> > On Thu, Jun 28, 2012 at 03:02:30PM +0200, Juergen Schoenwaelder wrote:
> > 
> > > > 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.
> > >
> > 
> > Well, I realize this statement is not really helpful / correct. You
> > can keept the enums defined in the order they are defined in the TZ
> > database but then the value statements MUST be used and the numbers
> > over time won't be assigned in a strictly increasing order. This means
> > that YANG tools can use the definition order (if they are able to
> > access it) or they might end up using the numeric value order, which
> > will over time be increasingly meaningless.
> 
> Still learning here, but RFC6087 states:
> 
> If extensibility of enumerated values is required, then the
> 'identityref' data type SHOULD be used instead of an enumeration or
> other built-in type.
> 
> So why are enums being considered over identityrefs?

In this case, you really do not want the kind of extensibility that
identities give you - with an identity you get decentralized
extensibility; anyone can add their own new value.  That's probably
not what you need for timezones...


/martin