Re: [core] Questions and comments against the github version

Peter van der Stok <stokcons@bbhmail.nl> Mon, 17 December 2018 10:53 UTC

Return-Path: <stokcons@bbhmail.nl>
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 1B1A61293FB; Mon, 17 Dec 2018 02:53:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] 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 k5Yd8MAkV32N; Mon, 17 Dec 2018 02:53:46 -0800 (PST)
Received: from smtprelay.hostedemail.com (smtprelay0217.hostedemail.com [216.40.44.217]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2944E129C6A; Mon, 17 Dec 2018 02:53:46 -0800 (PST)
Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id CEAD5100E86C6; Mon, 17 Dec 2018 10:53:44 +0000 (UTC)
X-Session-Marker: 73746F6B636F6E73406262686D61696C2E6E6C
X-Spam-Summary: 2, 0, 0, , d41d8cd98f00b204, stokcons@bbhmail.nl, :::::::, RULES_HIT:41:152:355:371:372:379:582:599:960:962:967:968:973:988:989:1152:1189:1221:1260:1313:1314:1345:1359:1436:1437:1516:1517:1518:1535:1543:1575:1588:1589:1592:1594:1711:1712:1730:1776:1792:2198:2199:2527:2528:2553:2559:2562:2692:2895:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3874:4118:4605:5007:6117:6119:6261:6657:6659:6678:7875:7903:8603:8828:10004:10400:10848:11232:11657:11658:11914:12043:12295:12663:12679:12740:12895:13071:13139:13439:13972:14096:14180:14721:21060:21063:21080:21433:21451:21627:30025:30029:30045:30054:30070:30076:30090:30091, 0, RBL:216.40.42.5:@bbhmail.nl:.lbl8.mailshell.net-62.8.55.100 66.201.201.201, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:neutral, Custom_rules:0:0:0, LFtime:29, LUA_SUMMARY:none
X-HE-Tag: trade35_38cb0f58b103
X-Filterd-Recvd-Size: 7818
Received: from mail.bbhmail.nl (imap-ext [216.40.42.5]) (Authenticated sender: webmail@stokcons@bbhmail.nl) by omf01.hostedemail.com (Postfix) with ESMTPA; Mon, 17 Dec 2018 10:53:44 +0000 (UTC)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_149439b74e93c17a26088ab30c74b5cf"
Date: Mon, 17 Dec 2018 11:53:43 +0100
From: Peter van der Stok <stokcons@bbhmail.nl>
To: "Christian M. Amsüss" <christian@amsuess.com>
Cc: Jim Schaad <ietf@augustcellars.com>, draft-ietf-core-resource-directory@ietf.org, core@ietf.org
Organization: vanderstok consultancy
Reply-To: consultancy@vanderstok.org
Mail-Reply-To: consultancy@vanderstok.org
In-Reply-To: <20181216133329.GE22665@hephaistos.amsuess.com>
References: <02dd01d490f8$6aea0dc0$40be2940$@augustcellars.com> <20181216133329.GE22665@hephaistos.amsuess.com>
Message-ID: <c3c065324adff3d370fed8a4aa1ed068@bbhmail.nl>
X-Sender: stokcons@bbhmail.nl
User-Agent: Roundcube Webmail/1.2.7
X-Originating-IP: [5.206.216.229]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/1B2dnJ0zBz69vlb-0EPOCkgP3RE>
Subject: Re: [core] Questions and comments against the github version
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 17 Dec 2018 10:53:48 -0000

Hi JIm, Christian,

Just my hesitant 2 cents below, given my earlier explanation on this
subject.

> Hello Jim, Peter,
> 
> (trying to wrap up all the comments that have been exchanged here)
> 
> On Mon, Dec 10, 2018 at 06:22:48PM -0800, Jim Schaad wrote: *  In section 5.3, I don't understand why the rule exists that if the
> attribute values are different then the location of the registration needs
> to be changed.   It seems that this could lead to some interesting conflicts
> in behavior depending on what messages are used. 
> Frankly, I don't understand why those rules need to be here in the first
> place -- from my PoV the only thing that matters is CoAP idempotency
> (ie. identical messages that arrive with no other related operations
> inbetween have the same result).
> 
> Peter, any concrete ideas on how to clean them up -- preferably in a way
> that they don't speak of "updates"?
> 
> (My alternative would be: "The following rules" and their items, and
> state that "Any Registration that has the same endpoint name and sector
> ('ep' and 'd' values) as a previously active one implicitly deletes that
> registration." -- the idempotency rule stays intact and allows some
> optimizations in terms of retransmission, but for everything else
> everyone pretty please use the Location returned, whatever that is.)

<pvds>
Original text:
"The following rules apply for an for an update identified by a given
(ep, d)
   value pair:

   o  when the parameter values of the Update generate the same
      attribute values as already present, the location of the already
      existing registration is returned.

   o  when for a given (ep, d) value pair the update generates attribute
      values which are different from the existing one, the existing
      registration is removed and a new registration with a new location
      is created.

   o  when the (ep, d) value pair of the update is different from any
      existing registration, a new registration is generated." New text:
"The following rules apply for a registration-request targeting a given
(ep, d)
   value pair:
 o  when the (ep, d) value pair of the registration-request  is
different from any
      existing registration, a new registration is generated."
o  when the (ep, d) value pair of the registration-request is equal to
an
      existing registration, the content of the existing registration is
replaced with the content of the registration-request"

Better?
</pvds>

Peter