Re: [core] Benjamin Kaduk's Discuss on draft-ietf-core-senml-14: (with DISCUSS and COMMENT)

Carsten Bormann <cabo@tzi.org> Fri, 18 May 2018 11:40 UTC

Return-Path: <cabo@tzi.org>
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 6B28D12D82F; Fri, 18 May 2018 04:40:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 0x1_uO1_xQBP; Fri, 18 May 2018 04:40:03 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5EA89129C6D; Fri, 18 May 2018 04:40:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id w4IBds0c016460; Fri, 18 May 2018 13:39:54 +0200 (CEST)
Received: from [192.168.217.114] (p5DC7F793.dip0.t-ipconnect.de [93.199.247.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 40nR6d5DTWzDWjX; Fri, 18 May 2018 13:39:53 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <FA9B0E68-EBE1-4691-BD52-F3ABFFA035A4@ericsson.com>
Date: Fri, 18 May 2018 13:39:52 +0200
Cc: Alexey Melnikov <aamelnikov@fastmail.fm>, core <core@ietf.org>, Ari Keränen <ari.keranen@ericsson.com>, The IESG <iesg@ietf.org>, "core-chairs@ietf.org" <core-chairs@ietf.org>, "draft-ietf-core-senml@ietf.org" <draft-ietf-core-senml@ietf.org>, Cullen Jennings <fluffy@iii.ca>
X-Mao-Original-Outgoing-Id: 548336391.373861-47d4b902222e466c1470f301992513fb
Content-Transfer-Encoding: quoted-printable
Message-Id: <FE638D14-29A0-4CFE-B39A-579285305E9F@tzi.org>
References: <152410519508.28821.948642754454286088.idtracker@ietfa.amsl.com> <84E57656-B191-4DB4-B7EC-97059D5B19DE@ericsson.com> <20180508000154.GY84491@kduck.kaduk.org> <44DB4CCE-62E7-43FF-9E0B-9AF27E14EE87@tzi.org> <0C881DE7-7991-4E3C-A8C8-B77AEC2F55CC@ericsson.com> <3C64FC4D-B771-4B43-BC19-DE7BD1132173@fastmail.fm> <FA9B0E68-EBE1-4691-BD52-F3ABFFA035A4@ericsson.com>
To: Benjamin Kaduk <kaduk@mit.edu>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/s9ztJRlKXmvyo6pUWGtTVL_12sc>
Subject: Re: [core] Benjamin Kaduk's Discuss on draft-ietf-core-senml-14: (with DISCUSS and COMMENT)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 18 May 2018 11:40:06 -0000

Hi Benjamin,

after WG input about this late change (all positive) has petered out, https://tools.ietf.org/html/draft-ietf-core-senml-16 is now out with the boundary between “now”-relative and absolute moved from 0 (1970) to 2**28 (1978).  Thank you for making us think this through once more; the result is so much better.

The authors believe that -16 should be addressing all DISCUSSes and COMMENTs.  As we are looking at an OMA deadline (an SDO depending on this) that could be picking up the new version, we could make good use of swift approval.

Grüße, Carsten


> On May 13, 2018, at 20:06, Ari Keränen <ari.keranen@ericsson.com> wrote:
> 
> 
> 
>> On 13 May 2018, at 0.02, Alexey Melnikov <aamelnikov@fastmail.fm> wrote:
>> 
>> Hi Ari,
>> 
>> On 11 May 2018, at 20:05, Ari Keränen <ari.keranen@ericsson.com> wrote:
>> 
>>> Hi all,
>>> 
>>> While addressing the IESG review comments regarding the use of time in SenML we came up with a simple way to enable SenML Records to express also relative times in the future that would have minimal impact to any existing use of SenML. We could use the following definition:
>>> 
>>>  Values greater than or equal to 2**28 represent an absolute time relative to the Unix epoch. Values less than 2**28 represent time relative to the current time.
>>> 
>>> That is, instead of only values less than zero, also values less than 2**28 (268,435,456) would be used to express relative time. Negative values and zero are still times in past and "now" respectively, as before. Time values from zero to 2**28 would be relative times in the future.
>>> 
>>> The only change this causes in the current use of SenML is that the smallest absolute time expressible in SenML becomes 1978-07-04 21:24:16 UTC instead of 1970-01-01 00:00 UTC. The absolute times after 1978 are still exactly the same ("Seconds after Unix epoch"). We are not aware of any deployments with SenML data between 1970 and 1978 that would be impacted negatively by this. 
>>> 
>>> For details, see:
>>> https://github.com/core-wg/senml-spec/pull/129/files
>>> 
>>> Would anyone have concerns about including this change in SenML before publication?
>>> 
>>> Since we are already very late in the process and we need to get SenML published as RFC very soon, we would also need to agree on this very soon.
>> 
>> No objections from me personally, but please double check with the WG.
> 
> Great!
> 
> I saw that Christian, Michael, and Klaus from the WG already +1'd (thanks guys!). If there are no concerns raised, we could submit a new version with this change included, e.g., at the end of the work week.
> 
> 
> Cheers,
> Ari