Resource Discovery in Constrained RESTful Environments (CoRE) using the Constrained RESTful Application Language (CoRAL)
draft-hartke-t2trg-coral-reef-02

Document Type Active Internet-Draft (individual)
Last updated 2019-07-08
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Thing-to-Thing Research Group                                  K. Hartke
Internet-Draft                                                  Ericsson
Intended status: Experimental                               July 8, 2019
Expires: January 9, 2020

     Resource Discovery in Constrained RESTful Environments (CoRE)
       using the Constrained RESTful Application Language (CoRAL)
                    draft-hartke-t2trg-coral-reef-02

Abstract

   This document explores how the Constrained RESTful Application
   Language (CoRAL) might be used for two use cases in Constrained
   RESTful Environments (CoRE): CoRE Resource Discovery, which allows a
   client to discover the resources of a server given a host name or IP
   address, and CoRE Resource Directory, which provides a directory of
   resources on many servers.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on January 9, 2020.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Hartke                   Expires January 9, 2020                [Page 1]
Internet-Draft     CoRE Resource Discovery using CoRAL         July 2019

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Preamble  . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Resource Discovery  . . . . . . . . . . . . . . . . . . .   3
     2.2.  Resource Directory  . . . . . . . . . . . . . . . . . . .   5
     2.3.  Notational Conventions  . . . . . . . . . . . . . . . . .   7
   3.  Resource Metadata . . . . . . . . . . . . . . . . . . . . . .   7
   4.  Resource Discovery  . . . . . . . . . . . . . . . . . . . . .   8
     4.1.  How It Works  . . . . . . . . . . . . . . . . . . . . . .   8
     4.2.  API Reference . . . . . . . . . . . . . . . . . . . . . .   9
       4.2.1.  Get All Resources . . . . . . . . . . . . . . . . . .   9
       4.2.2.  Get Resources By Resource Type  . . . . . . . . . . .  10
       4.2.3.  Get Resources By Interface Type . . . . . . . . . . .  11
   5.  Resource Directory  . . . . . . . . . . . . . . . . . . . . .  12
     5.1.  How It Works  . . . . . . . . . . . . . . . . . . . . . .  12
     5.2.  API Reference . . . . . . . . . . . . . . . . . . . . . .  13
       5.2.1.  Get All Resources . . . . . . . . . . . . . . . . . .  13
       5.2.2.  Get Resources By Resource Type  . . . . . . . . . . .  14
       5.2.3.  Get Resources By Interface Type . . . . . . . . . . .  15
       5.2.4.  List Resource Registrations . . . . . . . . . . . . .  16
       5.2.5.  Create Resource Registration  . . . . . . . . . . . .  17
       5.2.6.  Read Resource Registration  . . . . . . . . . . . . .  18
       5.2.7.  Update Resource Registration  . . . . . . . . . . . .  19
       5.2.8.  Delete Resource Registration  . . . . . . . . . . . .  20
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  21
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
     7.1.  CoRE Dictionary . . . . . . . . . . . . . . . . . . . . .  21
     7.2.  CoAP Content Format . . . . . . . . . . . . . . . . . . .  23
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  23
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .  23
     8.2.  Informative References  . . . . . . . . . . . . . . . . .  24
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .  25
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  25

1.  Preamble

   This document explores how CoRE Resource Discovery [RFC6690] and CoRE
   Resource Directory [I-D.ietf-core-resource-directory] might look like
   if based on CoRAL [I-D.hartke-t2trg-coral].  The exploration is done
   in the style of a self-contained specification.
Show full document text