Re: [core] Using Yang to describe LWM2M ... was Re: ? WG adoption of draft-veillette-core-yang-cbor-mapping-00

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 27 April 2016 07:07 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 823A412D5CB for <core@ietfa.amsl.com>; Wed, 27 Apr 2016 00:07:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.196
X-Spam-Level:
X-Spam-Status: No, score=-5.196 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996] 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 Eb1GvPxYJ9HI for <core@ietfa.amsl.com>; Wed, 27 Apr 2016 00:07:50 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7786312B046 for <core@ietf.org>; Wed, 27 Apr 2016 00:07:50 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id A24C5902; Wed, 27 Apr 2016 09:07:48 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id yLqjO8TWzilq; Wed, 27 Apr 2016 09:07:37 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Wed, 27 Apr 2016 09:07:47 +0200 (CEST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id CC61E2004A; Wed, 27 Apr 2016 09:07:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id RUIK9H_OcGNE; Wed, 27 Apr 2016 09:07:46 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id BF79420046; Wed, 27 Apr 2016 09:07:45 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id EE5F13AB7BAC; Wed, 27 Apr 2016 09:07:44 +0200 (CEST)
Date: Wed, 27 Apr 2016 09:07:44 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Message-ID: <20160427070744.GA21138@elstar.local>
Mail-Followup-To: Hannes Tschofenig <hannes.tschofenig@gmx.net>, Carsten Bormann <cabo@tzi.org>, "core@ietf.org WG" <core@ietf.org>
References: <570A4583.2030100@tzi.org> <5718A09E.7040607@gmx.net> <BLUPR06MB1763F3B6BDE5240402576758FE6E0@BLUPR06MB1763.namprd06.prod.outlook.com> <20160421174806.GA8710@elstar.local> <571D1E63.9090003@tzi.org> <571DEF4A.50506@gmx.net> <20160425103338.GA17158@elstar.local> <571DF986.6000200@gmx.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <571DF986.6000200@gmx.net>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/I-6qnbkjv1oAhk2icDmGpI5kaLE>
Cc: "core@ietf.org WG" <core@ietf.org>
Subject: Re: [core] Using Yang to describe LWM2M ... was Re: ? WG adoption of draft-veillette-core-yang-cbor-mapping-00
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: Wed, 27 Apr 2016 07:07:53 -0000

On Mon, Apr 25, 2016 at 01:03:34PM +0200, Hannes Tschofenig wrote:
> Hi Juergen,
> 
> On 04/25/2016 12:33 PM, Juergen Schoenwaelder wrote:
> > Hannes,
> > 
> > whether this YANG fragment makes sense or not I simply do not know
> > without knowing LWM2M and since there are no open specs there is
> > little help you can expect. I have no clue about the interaction model
> > of OMA LWM2M nor do I know what LWM2M_Device is etc.
> 
> The specs are publically available for download at no cost.
> 
> Here is the link:
> http://technical.openmobilealliance.org/Technical/technical-information/release-program/current-releases/oma-lightweightm2m-v1-0
> 
> You want to look at the 'Technical Specification'.

They are not open, I have to accept certain legal terms to get
access. In particular:

  use all or any part of a Document as part of a specification or
  standard not emanating from the Licensor without the prior written
  consent of the Licensor

I might already need a written consent if I post an example here since
everything posted to an IETF list may be considered a contribution.
 
> The registry for the objects are also public and available in a nicely
> written page (similar to what IANA provides for the IETF):
> http://technical.openmobilealliance.org/Technical/technical-information/omna/lightweight-m2m-lwm2m-object-registry
>

Looking at examples to infer what the semantics of the schema are is
not what I am going to spend my time on.

> There is no permission that needs to be obtained IMHO, if I understand
> the OMA copyright policy correctly.

See above.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>