Re: [YANG] default values

Ladislav Lhotka <lhotka@cesnet.cz> Thu, 17 January 2008 12:07 UTC

Return-path: <yang-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1JFTWo-0005n9-Gu; Thu, 17 Jan 2008 07:07:26 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JFTWn-0005iE-Gt for yang-confirm+ok@megatron.ietf.org; Thu, 17 Jan 2008 07:07:25 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JFTWn-0005i6-3w for yang@ietf.org; Thu, 17 Jan 2008 07:07:25 -0500
Received: from office2.cesnet.cz ([195.113.144.244]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1JFTWm-0003X3-Nm for yang@ietf.org; Thu, 17 Jan 2008 07:07:25 -0500
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 48817D800CB for <yang@ietf.org>; Thu, 17 Jan 2008 13:07:24 +0100 (CET)
Subject: Re: [YANG] default values
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: yang@ietf.org
In-Reply-To: <20080117112702.GA29235@elstar.local>
References: <1200487153.7029.71.camel@missotis> <478E0FCD.6080908@andybierman.com> <1200493871.7029.137.camel@missotis> <478E1EF4.4050002@andybierman.com> <DCABA351-3933-4AED-A6E6-80C5F85E3F9C@jdscons.com> <1200501131.7029.151.camel@missotis> <49B89097-B9C1-44FE-A59E-FA12B2D546F2@jdscons.com> <1200556619.10666.16.camel@missotis> <478F17B4.7060500@ericsson.com> <1200565743.10666.64.camel@missotis> <20080117112702.GA29235@elstar.local>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Thu, 17 Jan 2008 13:07:24 +0100
Message-Id: <1200571644.10666.91.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 52e1467c2184c31006318542db5614d5
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org

Juergen Schoenwaelder píše v Čt 17. 01. 2008 v 12:27 +0100:
> On Thu, Jan 17, 2008 at 11:29:03AM +0100, Ladislav Lhotka wrote:
>  
> > Do we want to use (YANG or other) data models
> > (i) for validating XML documents in the NETCONF context, or
> > (ii) for specifying behaviour of network devices and/or management
> > software?
> 
> I have no clue what you mean with "validating XML documents in the
> NETCONF context".

The NETCONF messages exchanged between the server and client are
serialised XML and validation means that the other side is able to tell
whether the received data are legal. It's not so important whether you
perform this check on the serialised XML, DOM tree or otherwise. YANG
draft always speaks about XML representations and nothing else.

> 
> I believe the real meat is in validating configurations, not so much
> the XML serialization of (fragments of) configurations exchanged in
> NETCONF messages.

I agree, yet even in this case the distinction between (i) and (ii)
holds, after changing "XML documents" to "configuration data".

Lada

> 
> /js
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



_______________________________________________
YANG mailing list
YANG@ietf.org
https://www1.ietf.org/mailman/listinfo/yang