Re: [netmod] consensus all: timezone-location and draft-ietf-netmod-iana-timezones-03

Andy Bierman <andy@yumaworks.com> Tue, 28 January 2014 16:21 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDED01A02D5 for <netmod@ietfa.amsl.com>; Tue, 28 Jan 2014 08:21:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level:
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 zzOcc-RzPi0Z for <netmod@ietfa.amsl.com>; Tue, 28 Jan 2014 08:21:37 -0800 (PST)
Received: from mail-qc0-f178.google.com (mail-qc0-f178.google.com [209.85.216.178]) by ietfa.amsl.com (Postfix) with ESMTP id C8E0E1A02C0 for <netmod@ietf.org>; Tue, 28 Jan 2014 08:21:36 -0800 (PST)
Received: by mail-qc0-f178.google.com with SMTP id m20so852378qcx.23 for <netmod@ietf.org>; Tue, 28 Jan 2014 08:21:34 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RHfLdGjDg3XYePhV1qHHyOrNLvV2WhE2jxQsAdYuFwo=; b=eBBX4AZxWIAmiZD281XPkcTA+1wbN9uWWR/rk2Xrb7GiZ0CnK72MF1EsUAO5UR8UGD sOTpkC7i7fpFf0bBpItHwAjjynSux7sdOZ1qrczGfWvYunuB0DSqxRffEfe+bspMldo/ 6Vs/+xwd1tRz3YJMxc6ekvk/DJnf83c1p2j3gLru3x9mFbfFncKL23KRVNQ00tjMqiBA UPKTGNpO+wffRF6k4KKvlluXxCsqDgUn9kzjJafJrR9cKmmzZUpKhoKbp4S9KlzTucdn qhUx1UfbbCU0PThIYQP2cfqMxMRni2Tkj9mojK6pP4r47x/BjtOyAaY9JsdyUoXs4f8W 8OdA==
X-Gm-Message-State: ALoCoQlIa0xXcwJA1Z3Tn3g7PJHEbCzaLF+05cNzi2Xm5u1PjFHeqQrW0xIZAjHSNRhlxVGwSbqX
MIME-Version: 1.0
X-Received: by 10.229.194.1 with SMTP id dw1mr3891121qcb.20.1390926094050; Tue, 28 Jan 2014 08:21:34 -0800 (PST)
Received: by 10.140.48.75 with HTTP; Tue, 28 Jan 2014 08:21:33 -0800 (PST)
In-Reply-To: <Pine.GSU.4.58.1401281010510.10994@adminfs>
References: <2A72C094-7CBC-474B-8413-8F60842142C8@lucidvision.com> <20140128.114425.486388648.mbj@tail-f.com> <4D0EEFB1-AD82-4EDB-9DB4-797EAA758D4D@nic.cz> <Pine.GSU.4.58.1401281010510.10994@adminfs>
Date: Tue, 28 Jan 2014 08:21:33 -0800
Message-ID: <CABCOCHQg=ncp58PPD7KfVbqrZnSLD=b1aW++3gEUgJ4iHMJTjw@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: David Spakes <spakes@snmp.com>
Content-Type: multipart/alternative; boundary="001a11c2c736bed16704f10a37fc"
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] consensus all: timezone-location and draft-ietf-netmod-iana-timezones-03
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 28 Jan 2014 16:21:40 -0000

On Tue, Jan 28, 2014 at 8:08 AM, David Spakes <spakes@snmp.com> wrote:

> On Tue, 28 Jan 2014, Ladislav Lhotka wrote:
>
> > >>  typedef timezone-name {
> > >>    type string;
> > >>    description
> > >>     "A timezone name as used by the Time Zone Database, sometimes
> > >>      referred to as the 'Olson Database'.";
> > >>    reference
> > >>     "RFC 6557: Procedures for Maintaining the Time Zone Database";
> > >>  }
> > >
> > > I support this solution.
> > >
> > > However, I think we need to explain in the description text of the
> > > timezone-name typedef that servers will restrict the valid values for
> > > this type to whatever they support, and that how clients can learn
> > > which values are valid is out of scope for this document.
> >
> > A client also needs to be able to learn the corresponding UTC offsets
> > and DST rules.
> >
> > I don't have a strong opinion here but I wonder whether the benefits
> > of the string type outweigh the damage to interoperability. My concern
> > is that a string might be vulnerable not only to political, but also
> > marketing pressures.
>
>
> If the client has a way to view the list of strings recognized by the
> server together with their corresponding UTC offsets and DST changes,
> then we should be able to lay to rest any and all concerns about how
> political and marketing pressures affect the implementation of
> individual devices.
>
> I made a proposal a little over a week ago that is relevant.  No one
> commented on it at that time, but maybe it should be discussed now.
> Here it is again.
>
>
> On Fri, 17 Jan 2014, David Spakes wrote:
>
> > If the client needs to be able to see the list of strings that the
> > server is actually using, then the client should not reach out to the
> > TZ Database; it should consult the server.  In addition to the typedef,
> > the document should define a config false list of strings that the
> > server actually supports.
>
>
> Here is basically what I had in mind:
>
>   list known-timezones {
>     config false;
>
>     leaf name {
>       type timezone-name;
>     }
>     leaf utc-offset {
>       // whatever type is appropriate
>     }
>     leaf valid-time {
>       type uint32 {
>         range "0 .. 365";
>       }
>       description
>         "The number of days this advice is expected to remain valid.";
>     }
>   }
>
>
> To prepare to configure a device, a client would retrieve the list.
> A graphical-based client could use this information to populate a
> choice widget from which a human operator could select the desired
> value.  A non-interactive client could validate a predetermined
> selection or automatically make a choice based on the utc-offset.
>
> The valid-time would be used to set a timer in the client.  When the
> timer fires, it's time to review the choice and potentially reconfigure
> the device.  The client should retrieve the list again from the device
> in order to update the choice.  For countries with a predetermined date
> to switch between standard and daylight savings time, the valid-time
> would indicate the number of days until the next switch.  If a country
> (or state, or other municipality) chooses to modify the DST scheduled
> (as the United States did a couple of years ago), the valid-time would
> indicate the date when such a schedule change is expected.  If a date
> is unknown to the device, it could set the value to zero, which means
> "check back often".  In a region where there is no change for DST, the
> value would remain 365 every time the information is retrieved.
>
>

In order to justify all this extra work on the client and server, it would
help to understand the impact that timezone interoperability problems
are having on real deployments.

IMO the real TZ database is going to match the server values for
over 99.5% of the string values.  A few corner-cases are not worth
worrying about.




> -dss
>
>
Andy