Re: [netmod] I-D Action: draft-ietf-netmod-rfc6991-bis-14.txt

Martin Björklund <mbj+ietf@4668.se> Wed, 07 December 2022 08:27 UTC

Return-Path: <mbj+ietf@4668.se>
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 E654CC14F741 for <netmod@ietfa.amsl.com>; Wed, 7 Dec 2022 00:27:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.097
X-Spam-Level:
X-Spam-Status: No, score=-0.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_NAKED_TO_NUMERO=1.999, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=4668.se header.b=Mv9YBdyU; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=n72vK8OR
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5cWLX7ZNmN9O for <netmod@ietfa.amsl.com>; Wed, 7 Dec 2022 00:27:34 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98F3BC14CE2F for <netmod@ietf.org>; Wed, 7 Dec 2022 00:27:34 -0800 (PST)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B08195C01EA; Wed, 7 Dec 2022 03:27:33 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 07 Dec 2022 03:27:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=cc:cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1670401653; x= 1670488053; bh=PTueozAoVlyn64A5FWvyzczhgNhDcnD+LC2T71T10yg=; b=M v9YBdyUFZg04dnAfZo28NlgatYeOGUTr93ikoSZNj/MlxNQgguiR/IbdBqNqAx8y WcQ0OzAFKy6G8955ZLQuTDJ3uTqBBYUZDPDIBZ2JJ4rHrBp2f+UuRhXQ65fsC8cW pQdQC5tz4DOPdELlbV57LODzIAALxapHwoLOV9dhbxV2+PauMEBCi4IkA1jJ1Jh7 Wkb5X6hdKOrGR/WFrqK6j64agPKf5rPCIEydEj03O5VdQ8gwK/qDIdAKgm2O+dHh eZp/BiMH9l+ZMpYUKWG+47aSHBLlpr61gonSl3+yzx76oUhXmgKGu8Zc24CSEQ7f tSkikcNQsxRe70L+RkiuA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1670401653; x= 1670488053; bh=PTueozAoVlyn64A5FWvyzczhgNhDcnD+LC2T71T10yg=; b=n 72vK8ORWzZOq9TLwj9iMNj7udcmXicxOO9nt9X44zO9hKL2GkbYj40PfFVsTGHji JaAwL9rz19IAI432kC0OaqIwVUiVbawmc0E5Hw4kSqAbaSHQW4JTwaWiyiRsf2FB AKm7BArJtFgv5IaoC5zgisxRpoX7sHRHAPMqtQn7FUk9mfOIEMKdOC4aqYqJxJ+5 +82fxiH/tkVP08OlK4J1KvHjBgWvzkOZuOUp8UXKCrwMdr+ge3XyLucymfiLcE6U dW9ogjYudTA5IKTyLgJdRarTbx9UNKVz8Kl5loMl9HEIbK5U+enGWwudDQc3ZfHq Ff16IT+hYA5k905JSnsCA==
X-ME-Sender: <xms:dU6QYyl0M6qmJM4AYd0azqsvMDSUlzpeMF0fQtAf7NQCLN0tirE5HA> <xme:dU6QY51nB54uzwNBO0BIbtAAg5rk4tGKwf02Zv-ZkamrgT6FV8wmYDYKgq9P_MNht Lvue4SJXVcD24GvcU0>
X-ME-Received: <xmr:dU6QYwqEWpIf71LoXmXRvnRM5kZwR-EXSvQn9rYKhwLvgxfYYEZttr3Z_gB5R0r0SyGAiPKzaIkuw8dHTit0v4CrwbXufAcxJw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejgdduvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffkffvvefuhfgjfhfogggtgfesth hqredtredtudenucfhrhhomhepofgrrhhtihhnuceujhpnrhhklhhunhguuceomhgsjhdo ihgvthhfseegieeikedrshgvqeenucggtffrrghtthgvrhhnpeevueduleehjeehtdfhfe dugffhudeuvdejgeelgffhieehuddvtdevveegteelfeenucffohhmrghinhepihgvthhf rdhorhhgpdhjrggtohgsshdquhhnihhvvghrshhithihrdguvgenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsghjodhivghtfhesgeeiieek rdhsvg
X-ME-Proxy: <xmx:dU6QY2mgRk23xB5u6NbO2WmoiP3ZL14u37QgOcuAcMlT6LMAzioeiA> <xmx:dU6QYw1nQIZBnMvngmc1GyR_WRBV8BleeOuaBvc_nNo0uAHo0k5hhQ> <xmx:dU6QY9sq5MzVdPDS8aPiTngiWfSGPz_ZF1LQoxK2g0ZtbzS7jsPOCA> <xmx:dU6QY-Bo-gImvxjs8Kck77HyTv-J_fsTlNdF4hm_Q3pcqrioDslKFQ>
Feedback-ID: icc614784:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Dec 2022 03:27:32 -0500 (EST)
Date: Wed, 07 Dec 2022 09:27:31 +0100
Message-Id: <20221207.092731.2267015585780052231.id@4668.se>
To: andy@yumaworks.com
Cc: j.schoenwaelder@jacobs-university.de, kent+ietf@watsen.net, netmod@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <CABCOCHQ1JxcDn0OPnKWFpz9vcZzW8YOjEP8_wdF_KK2z=EoREQ@mail.gmail.com>
References: <01000184e3f14a15-95feeb1e-c027-4366-ab2c-291ac3f03cc8-000000@email.amazonses.com> <20221205223741.mxeacefm46mkpwrl@anna> <CABCOCHQ1JxcDn0OPnKWFpz9vcZzW8YOjEP8_wdF_KK2z=EoREQ@mail.gmail.com>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/5Jw5iKCGNoOMIIH2xrauQr6W-WQ>
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-rfc6991-bis-14.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 07 Dec 2022 08:27:40 -0000

Andy Bierman <andy@yumaworks.com> wrote:
> On Mon, Dec 5, 2022 at 2:37 PM Jürgen Schönwälder <
> j.schoenwaelder@jacobs-university.de> wrote:
> 
> > On Mon, Dec 05, 2022 at 08:19:12PM +0000, Kent Watsen wrote:
> > >
> > >
> > > Hi Juergen,
> > >
> > >
> > >
> > > >> 3) There are two "time-with-zone-offset" typedefs (one should be
> > "time-without-zone-offset"?)
> > > >
> > > > No, I only see one.
> > >
> > > My bad, I didn't see the subtype.
> > >
> > > But I may've been thrown off by the following "no-zone" types...should
> > they be named consistently?
> > >
> > >    - date-no-zone  -->  date-no-zone-offset  or  date-without-zone-offset
> > >    - time-no-zone  -->  time-no-zone-offset  or  time-without-zone-offset
> >
> > The 'no-zone' indicates no zone information, neither by offset nor by zone
> > name.
> >
> > >
> > > >> 4) Is the "-offset" postfix needed?  Or maybe remove the "-zone" part
> > and only have "-offset"?
> > > >
> > > > As noted on a private communication, I looked at what some of the more
> > > > modern programming language libraries do. So let me shre this here:
> > > >
> > > > * Python (datetime)
> > > >
> > > >  They distinguish 'aware' and 'naive' dates.
> > > >
> > > >    Date and time objects may be categorized as "aware" or "naive"
> > > >    depending on whether or not they include timezone information.
> > > >    [...]
> > > >    An aware object represents a specific moment in time that is not
> > > >    open to interpretation.
> > > >    [...]
> > > >    For applications requiring aware objects, datetime and time
> > > >    objects have an optional time zone information attribute, tzinfo,
> > > >    that can be set to an instance of a subclass of the abstract
> > > >    tzinfo class. These tzinfo objects capture information about the
> > > >    offset from UTC time, the time zone name, and whether daylight
> > > >    saving time is in effect.
> > > >
> > > >  Note that there is both a zone offset and a zone name. Note that a
> > > >  zone name may resolve to different offsets depending on the timezone
> > > >  rules in effect at a given point in time.
> > > >
> > > > * Rust (chrono)
> > > >
> > > >  They also distinguish between aware and naive:
> > > >
> > > >    Chrono is timezone-aware by default, with separate timezone-naive
> > > >    types.
> > > >    [...]
> > > >    DateTime is timezone-aware and must be constructed from the
> > > >    TimeZone object, which defines how the local date is converted to
> > > >    and back from the UTC date. There are three well-known TimeZone
> > > >    implementations [...].
> > > >
> > > >  My reading of their documentation is that their TimeZone object
> > > >  essentially resolves to an offset, not a timezone name.
> > > >
> > > > In some contexts, it may be useful to think in terms of
> > > > 2022-12-05@[Europe/Berlin] rather than 2022-12-05+01:00 (in particular
> > > > if you keep daylight saving times in your mind or changes of offsets)
> > > > and to be clear that we currently only model offsets, I decided for
> > > > the longer and more explicit name date-with-zone-offset (as there was
> > > > some push towards longer and more precise type names).
> > > >
> > > > For interested parties, there is also work in the IETF on adding
> > > > names to the RFC3339 format:
> > > >
> > > > https://datatracker.ietf.org/doc/draft-ietf-sedate-datetime-extended/
> > > >
> > > > They discuss formats like 2022-07-08T00:14:07+01:00[Europe/Paris] and
> > > > then go into the details if the name and offset are inconsistent etc.
> > >
> > >
> > > "Offsets" are good (regional names would be too involved, IMO)
> >
> > Zone offsets change for certain locations regularly (daylight saving
> > times) and this is why many user facing interfaces configure time zone
> > locations by letting the user select a zone name like Europe/London
> > that then maps via the IANA timezone database rules to the specific
> > zone offsets.
> >
> > > My thought is only to shorten the names.  e.g., time-with-zone-offset
> > --> time-with-offset?  If it doesn't make sense, semantically, then no
> > worries keeping as is.
> >
> > Some what descriptive names, some want names to be future proof,
> > others want names that match names used elsewhere, then some prefer
> > short names, its obviously difficult. Initially we had date (with an
> > optional zone offset) plus date-no-zone without it. This matchedthe
> > good old date-and-time (which also has an optional zone offset).
> >
> > > >> 2) no deprecation of the legacy "*-address" types?
> > > >
> > > > Since there was no consensus to change (and break) definitions, I
> > > > thought we agreed to simply make no changes and to keep what we have.
> > >
> > >
> > > This was discussed at 115, on slide #8 here:
> > https://datatracker.ietf.org/meeting/115/materials/slides-115-netmod-1-session-intro-wg-status-00
> > .
> > >
> > > Lou and I are trying to break the logjam, and no one objected, so it's
> > fine to proceed now.  What I'd do:
> > >
> > >    1) rename the existing definitions to the new name.
> > >    2) recreate the old definitions as having the "type" of the new
> > definitions and "status deprecated".
> > >
> >
> > Consensus is determined on the mailing list, no?
> >
> > I am sorry that I missed decisions taken in London by not reading the
> > slides. So I should also remove the language-tag type I guess.
> >
> > And then I write that ip-address was deprecated because some were
> > confused by the name? Well, if this is how we make progress...
> >
> >
> 
> Deprecating ip-address (and ipv4-address and ipv6-address?) is probably the
> most disruptive
> change to YANG that one could make.  I am not sure there are real
> operational problems
> that warrant this change.

I fully agree.

> 
> A type name cannot be changed.
> A new name can be introduced so there are 2 types that do the same thing.
> IMO this will increase the overall confusion, and not help in any way.

+1


/martin


> 
> Making this worse is the fact that status "deprecated" is incorrectly
> defined in YANG 1.1
> because it means the same as "obsolete".  It also adds to the perception
> that the IETF
> cannot provide stable YANG modules to the world.
> 
> 
> /js
> >
> >
> Andy
> 
> 
> > --
> > Jürgen Schönwälder              Constructor University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> >