[T2TRG] Schema conversion opportunity: OMA LWM2M objects to YANG?

Carsten Bormann <cabo@tzi.org> Thu, 21 April 2016 19:35 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: t2trg@ietfa.amsl.com
Delivered-To: t2trg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 830AE12E2D6 for <t2trg@ietfa.amsl.com>; Thu, 21 Apr 2016 12:35:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] 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 TMMVtMca3XQp for <t2trg@ietfa.amsl.com>; Thu, 21 Apr 2016 12:35:39 -0700 (PDT)
Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:c:538::197]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D42912E351 for <t2trg@irtf.org>; Thu, 21 Apr 2016 12:35:39 -0700 (PDT)
Received: from mfilter29-d.gandi.net (mfilter29-d.gandi.net [217.70.178.160]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id D9FFC41C07D; Thu, 21 Apr 2016 21:35:37 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter29-d.gandi.net
Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter29-d.gandi.net (mfilter29-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id EMD7Xz6X2rcZ; Thu, 21 Apr 2016 21:35:36 +0200 (CEST)
X-Originating-IP: 93.199.242.26
Received: from nar-3.local (p5DC7F21A.dip0.t-ipconnect.de [93.199.242.26]) (Authenticated sender: cabo@cabo.im) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id D0DA541C097; Thu, 21 Apr 2016 21:35:35 +0200 (CEST)
Message-ID: <57192B84.902@tzi.org>
Date: Thu, 21 Apr 2016 21:35:32 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: "t2trg@irtf.org" <t2trg@irtf.org>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/t2trg/JW1y-NZD2Ezf4XsfW5JcGxzSnro>
Subject: [T2TRG] Schema conversion opportunity: OMA LWM2M objects to YANG?
X-BeenThere: t2trg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "IRTF Thing-to-Thing \(T2T\) Research-Group-in-creation" <t2trg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/t2trg>, <mailto:t2trg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/t2trg/>
List-Post: <mailto:t2trg@irtf.org>
List-Help: <mailto:t2trg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/t2trg>, <mailto:t2trg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2016 19:35:41 -0000

Around the IOTSI workshop, we had a discussion about modeling/schema
languages and the opportunities for conversion in order to create
semantic interoperability.

In CoRE, we are having this discussion about device management right
now, and one interesting question is whether the little XML DSL that OMA
LWM2M has here is a candidate for automatic conversion to another
management modeling language, e.g., YANG.

Anybody up to hacking together a prototype?  See
https://www.iab.org/wp-content/IAB-uploads/2016/03/Noise-in-specifications-hurts.pdf
for an example of such a conversion prototype.

Grüße, Carsten


-------- Original Message --------
Subject: Re: [core] ? WG adoption of
draft-veillette-core-yang-cbor-mapping-00
Date: Thu, 21 Apr 2016 19:48:06 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Michel Veillette <Michel.Veillette@trilliantinc.com>
CC: core@ietf.org WG <core@ietf.org>

On Thu, Apr 21, 2016 at 05:34:50PM +0000, Michel Veillette wrote:
> 
> First, LWM2M have its own modeling language encoded in xml.
> A file like "OMA-SUP-XML_LWM2M_Security-V1_0-20131210-C" is not fundamentally different than something than can be named security.yang.
> A simple xml transform can probably do the conversion between the two without any lost.
> LWM2M just have a simpler (subset) modeling language.
>

These are pretty bold statements. Claiming something is simple and
knowing something is simple are sometimes different things. Have you
worked throught the details? Is there a decent public definition of
the 'simpler (subset) modeling language'? And with public I mean
public, not hidden behind all sorts of registration walls.

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

_______________________________________________
core mailing list
core@ietf.org
https://www.ietf.org/mailman/listinfo/core