[core] draft-hartke-t2trg-coral-reef

Jim Schaad <ietf@augustcellars.com> Tue, 16 July 2019 16:22 UTC

Return-Path: <ietf@augustcellars.com>
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 28248120799; Tue, 16 Jul 2019 09:22:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.792
X-Spam-Level:
X-Spam-Status: No, score=-0.792 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, LOCALPART_IN_SUBJECT=1.107, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 T0w_HJHVgUPt; Tue, 16 Jul 2019 09:22:46 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0B3C912066C; Tue, 16 Jul 2019 09:22:43 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 16 Jul 2019 09:22:36 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: draft-hartke-t2trg-coral-reef@ietf.org
CC: 'core' <core@ietf.org>
Date: Tue, 16 Jul 2019 09:22:34 -0700
Message-ID: <020801d53bf2$ae4353b0$0ac9fb10$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AdU77dE/kVa0urGNS9S+rAlI9Bv4sg==
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/aEBvwRBE3pga1gRFoQpyR08aXps>
Subject: [core] draft-hartke-t2trg-coral-reef
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: Tue, 16 Jul 2019 16:22:49 -0000

Looking at doing more implementation work on this - specific the
registration side rather than the retrieval side.


1.  Looking at section 5.2.5 - "Create Resource Registration"  I am going to
assume that you are keeping the same command line as what the current
document does, but I wonder if a better way to do it would be to use the
following as a resource

#using <http:/coreapps.org/reef#>
rd-unit <coap://[2001:db8:4::1]/> [
ep "node1"
domain "Floor 1"
lt 3600
et "LightBar"
rd-item <light/left> [rt "light" ct 0]
rd-item <light/middle> [rt "light" ct 0]
rd-item<light/middle> [rt "light" ct 0]
]

This has the advantage that all of the query parameters are moved into the
content which is going to make things easier to have new unknown items show
up.  I would think that it is just fine to restrict this to a single
rd-unit, but for third party registration it might be reasonable to allow
multiple rd-units to occur in a single body.

2.  A registration update could then have either the same as the content in
1 - or just an array of rd-items.  In the first case the attributes
associated with the endpoint would replaced - except for the ep and domain
attributes, in the second case just the items associated with it would be
replaced.

3.  If the CoRAL format is used, are the paging attributes still going to be
supported to keep the document size down?   Does not say anywhere.

Jim