Re: [core] ? WG adoption of draft-veillette-core-yang-cbor-mapping-00

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 21 April 2016 20:46 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 A62C412E475 for <core@ietfa.amsl.com>; Thu, 21 Apr 2016 13:46:41 -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 CANX_SUJ8xXT for <core@ietfa.amsl.com>; Thu, 21 Apr 2016 13:46:40 -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 1864412E45D for <core@ietf.org>; Thu, 21 Apr 2016 13:46:40 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 55AAD9F5; Thu, 21 Apr 2016 22:46:38 +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 r9nYx5-HOW0i; Thu, 21 Apr 2016 22:46:18 +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; Thu, 21 Apr 2016 22:46:37 +0200 (CEST)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2E6CB20047; Thu, 21 Apr 2016 22:46:37 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id pv1a9c1WpyK2; Thu, 21 Apr 2016 22:46:36 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 78B8020046; Thu, 21 Apr 2016 22:46:33 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 183373AAD845; Thu, 21 Apr 2016 22:46:30 +0200 (CEST)
Date: Thu, 21 Apr 2016 22:46:30 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Michel Veillette <Michel.Veillette@trilliantinc.com>
Message-ID: <20160421204630.GA8993@elstar.local>
Mail-Followup-To: Michel Veillette <Michel.Veillette@trilliantinc.com>, Hannes Tschofenig <hannes.tschofenig@gmx.net>, "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> <BLUPR06MB1763C3A1543AAB909C95D20EFE6E0@BLUPR06MB1763.namprd06.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <BLUPR06MB1763C3A1543AAB909C95D20EFE6E0@BLUPR06MB1763.namprd06.prod.outlook.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/inKUvo3oohjmzUljqg7KPc_g5iY>
Cc: "core@ietf.org WG" <core@ietf.org>
Subject: Re: [core] ? 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: Thu, 21 Apr 2016 20:46:41 -0000

On Thu, Apr 21, 2016 at 07:47:53PM +0000, Michel Veillette wrote:
> Hi Juergen
> 
> I'm not sure I can share a LWM2M definition files since peoples need fill a form to get access to them, see the following link.
> 
> http://technical.openmobilealliance.org/Technical/technical-information/release-program/current-releases/oma-lightweightm2m-v1-0

Then I can't help.
 
> I didn't go through a formal mapping between these two modeling languages but following is what this mapping might look like:
> 
> LWM2M                | YANG
> ---------------------+---------------
> <Object>             | module
> <Name>               | module name
> <Description1>       | description
> <MultipleInstances>  | list if true, container if false
> <Mandatory>          | mandatory
> <Item>               | leaf if <MultipleInstances> is true, leaf-list if false
>  <Name>              | leaf name
>  <Operations>        | config
>  <MultipleInstances> | See <Item>
>  <Mandatory>         | mandatory
>  <Type>              | type
>  <RangeEnumeration>  | range or enum
>  <Units>             | units
>  <Description>       | description
>

The devil is usually in the details but since there is no public
specification I do not know. It sounds somewhat surprising that an
'<Object>' would equate a YANG module but then I simply do not know.
Only someone who has access to the specifications and who can get
clearance to write about a mapping according to IETF rules can work
on this.

/js

PS: You shall [...] not [...] 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 [...]

-- 
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/>