Re: analysis of YANG vs. RELAX NG

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 27 November 2007 16:37 UTC

Return-path: <discuss-bounces@apps.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Ix3RX-0006DW-QA; Tue, 27 Nov 2007 11:37:51 -0500
Received: from discuss by megatron.ietf.org with local (Exim 4.43) id 1Ix3RW-0006D5-MT for discuss-confirm+ok@megatron.ietf.org; Tue, 27 Nov 2007 11:37:50 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Ix3RW-0006Cp-3S for discuss@apps.ietf.org; Tue, 27 Nov 2007 11:37:50 -0500
Received: from hermes.jacobs-university.de ([212.201.44.23]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Ix3RT-0003mN-Oy for discuss@apps.ietf.org; Tue, 27 Nov 2007 11:37:50 -0500
Received: from localhost (demetrius.jacobs-university.de [212.201.44.32]) by hermes.jacobs-university.de (Postfix) with ESMTP id A6EF58A14E; Tue, 27 Nov 2007 17:37:46 +0100 (CET)
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 25947-01-10; Tue, 27 Nov 2007 17:37:42 +0100 (CET)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 5D2FA8A17B; Tue, 27 Nov 2007 17:37:28 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id ED11C3F730D; Tue, 27 Nov 2007 17:37:27 +0100 (CET)
Date: Tue, 27 Nov 2007 17:37:27 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Leif Johansson <leifj@it.su.se>
Subject: Re: analysis of YANG vs. RELAX NG
Message-ID: <20071127163727.GA27816@elstar.local>
References: <20071127.130355.18118495.mbj@tail-f.com> <474C116A.1080001@it.su.se>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <474C116A.1080001@it.su.se>
User-Agent: Mutt/1.5.16 (2007-06-09)
X-Virus-Scanned: amavisd-new 2.3.3 (20050822) at jacobs-university.de
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
Cc: discuss@apps.ietf.org
X-BeenThere: discuss@apps.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: general discussion of application-layer protocols <discuss.apps.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=unsubscribe>
List-Post: <mailto:discuss@apps.ietf.org>
List-Help: <mailto:discuss-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=subscribe>
Errors-To: discuss-bounces@apps.ietf.org

On Tue, Nov 27, 2007 at 01:45:30PM +0100, Leif Johansson wrote:
   
> I don't know about RelaxNG, but it is pretty close to OWL. Apart from
> the C-like syntax (which might be important to some) the example
> suggests a modeling language which supports classes, packages,
> properties (possibly associations?) and a form of multiple inheritance.
>
> While I am as happy as the next guy that we won't be seeing RFCs
> with XMI in them anytime soon I am curious as to why something like
> OWL isn't a strong candidate for something like this. Is it just "anti-XML"
> or is there something more substantial to it?

NETCONF uses XML for data encoding and is this is just fine.

YANG is a domain specific data modeling language designed to support
NETCONF (no more, no less). The YANG language reflects many years of
experience with other network management data modeling languages in
the IETF and proprietary languages created by NETCONF implementors to
support their implementations (after figuring out that creating
adapted subset languages did not work well in their companies or for
their customers).

While YANG clearly lacks features such as multiple inheritance or
support for semantic web reasoning engines, we feel that it helps a
lot in writing understandable and extensible NETCONF data models and
in addition it can enjoy long-term predictability and stability.

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