RE: analysis of YANG vs. RELAX NG

"David Harrington" <ietfdbh@comcast.net> Mon, 03 December 2007 21:55 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 1IzJG7-0002UN-6e; Mon, 03 Dec 2007 16:55:23 -0500
Received: from discuss by megatron.ietf.org with local (Exim 4.43) id 1IzJG6-0002TX-7w for discuss-confirm+ok@megatron.ietf.org; Mon, 03 Dec 2007 16:55:22 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IzJG5-0002TK-UO for discuss@apps.ietf.org; Mon, 03 Dec 2007 16:55:21 -0500
Received: from qmta01.westchester.pa.mail.comcast.net ([76.96.62.16]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IzJG5-0006h3-Hf for discuss@apps.ietf.org; Mon, 03 Dec 2007 16:55:21 -0500
Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA01.westchester.pa.mail.comcast.net with comcast id LMTV1Y0050mv7h00506g00; Mon, 03 Dec 2007 21:55:21 +0000
Received: from Harrington73653 ([130.129.22.202]) by OMTA11.westchester.pa.mail.comcast.net with comcast id LMvG1Y0024McdwJ0300000; Mon, 03 Dec 2007 21:55:21 +0000
X-Authority-Analysis: v=1.0 c=1 a=21GWllOfCAAA:10 a=RUTEL2bYjdvxrp8r000A:9 a=LRp-JdXPf5q49S-GNIoA:7 a=TdZVwVmKYBrLs9sbAjvCr8ZuPfIA:4 a=si9q_4b84H0A:10 a=OS7PZEPQ3MUA:10 a=ucw2XimmUOMA:10 a=gi0PWCVxevcA:10
From: David Harrington <ietfdbh@comcast.net>
To: 'Randy Presuhn' <randy_presuhn@mindspring.com>, discuss@apps.ietf.org
References: <953beacc0711271504y7aea5f21jc301ccad886d3611@mail.gmail.com><474D9194.3060103@ericsson.com><953beacc0711281025w4d993dd7u77d729111074496c@mail.gmail.com><20071128.230244.254578150.mbj@tail-f.com><63F8A418-6AF0-4205-ACC7-53A8C7BC6A73@osafoundation.org><47512728.6040201@gmx.de><517bf110712021242v43c462f0v86267f591e5cdfbd@mail.gmail.com><1196690162.5874.13.camel@missotis><20071203140846.GB17536@elstar.local><47543B30.1060409@andybierman.com><1196704923.5569.14.camel@missotis> <003801c835e7$4fefeb20$6801a8c0@oemcomputer>
Subject: RE: analysis of YANG vs. RELAX NG
Date: Mon, 03 Dec 2007 13:55:10 -0800
Message-ID: <013101c835f7$2dbd15e0$ca168182@china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <003801c835e7$4fefeb20$6801a8c0@oemcomputer>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
Thread-Index: Acg15zJwfCjby+c6T8iKYm0sJYyN4QADUG0w
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f66b12316365a3fe519e75911daf28a8
Cc:
X-BeenThere: discuss@apps.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
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

I agree with Juergen, Andy, and Randy.

Our goal is interoperability between multiple managed devices and
multiple management applications - we need system-wide
interoperability for M:N relationships. 

Netconf has different requirements than SNMP, and a Netconf DML will
have different requirements than SMI, but NM requirements seem
relatively stable on this point.

A MIB module is a type of contract between the involved parties, and
it is unacceptable to modify the syntax or semantics in ways that
would break contract-compliance/interoperability between the parties.
The SMI does not allow changes to existing datatypes, with very few
exceptions. SMI does permit some extensibility, such as extending
enumerations or BITs, but the change controls for the exceptions are
clearly defined in the SMI. Those restrictions exist to ensure
interoperability among NM entities within the system. 

David Harrington
dbharrington@comcast.net
ietfdbh@comcast.net


> -----Original Message-----
> From: Randy Presuhn [mailto:randy_presuhn@mindspring.com] 
> Sent: Monday, December 03, 2007 12:02 PM
> To: discuss@apps.ietf.org
> Subject: Re: analysis of YANG vs. RELAX NG
> 
> Hi -
> 
> > From: "Ladislav Lhotka" <lhotka@cesnet.cz>
> > To: "Andy Bierman" <ietf@andybierman.com>
> > Cc: <discuss@apps.ietf.org>
> > Sent: Monday, December 03, 2007 10:02 AM
> > Subject: Re: analysis of YANG vs. RELAX NG
> >
> 
> >
> > Andy Bierman píše v Po 03. 12. 2007 v 09:21 -0800:
> >
> > > I strongly agree with Juergen.
> > > YANG is based (in part) on 18+ years experience
> > > with SNMP and SMI.
> >
> > And ignoring the additional flexibility XML can provide.
> 
> I strongly agree with Andy and Juergen.  "Mushy" definitions
> are disastrous for interoperability.
> 
> > > It s absolutely forbidden in NM to redefine the syntax 
> and semantics
> > > of a managed object in this way.
> 
> Agreed.
> 
> > Why? Even if I explicitly specify I am using another data model?
The
> > difference is that if the data model is easily extensible, 
> I can just
> > write
> >
> > import parent-model;
> >
> > and then 5 lines or so describing the differences, so that it is
> > immediately clear what I am doing (and hopefully why). If the
> > extensibility is weak, I have to take the parent model, 
> change few lines
> > and declare it as a new data model - but the differences 
> are not that
> > clear.
> 
> Re-use of definitions in the process of creating *new* definitions
is
> another matter.  The important point is that those new definitions
in
> no way affect the models on which they were based, and therefore
must
> not be understood as a redefinition of either the semantics or the
> syntax of a managed object.
> 
> Randy
> 
> 
> 
> 
>