Re: [YANG] how to signal revision?

Ladislav Lhotka <lhotka@cesnet.cz> Wed, 16 January 2008 14:14 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 1JF924-0005eN-IM; Wed, 16 Jan 2008 09:14:20 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JF923-0005eH-QQ for yang-confirm+ok@megatron.ietf.org; Wed, 16 Jan 2008 09:14:19 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JF923-0005e7-Gn for yang@ietf.org; Wed, 16 Jan 2008 09:14:19 -0500
Received: from office2.cesnet.cz ([195.113.144.244]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JF922-0007KM-SK for yang@ietf.org; Wed, 16 Jan 2008 09:14:19 -0500
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 8D622D800C7 for <yang@ietf.org>; Wed, 16 Jan 2008 15:14:14 +0100 (CET)
Subject: Re: [YANG] how to signal revision?
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: yang@ietf.org
In-Reply-To: <20080116.144410.247903053.mbj@tail-f.com>
References: <1200485337.7029.43.camel@missotis> <20080116.133615.104403392.mbj@tail-f.com> <1200488713.7029.87.camel@missotis> <20080116.144410.247903053.mbj@tail-f.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Wed, 16 Jan 2008 15:14:14 +0100
Message-Id: <1200492855.7029.121.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: 39bd8f8cbb76cae18b7e23f7cf6b2b9f
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

Martin Bjorklund píše v St 16. 01. 2008 v 14:44 +0100:
> Ladislav Lhotka <lhotka@cesnet.cz> wrote:
> > In other words, the client has to understand that the schema it uses is
> > not compatible with the one used by the server. Would it be a problem to
> > require that e.g., with every change in the data model proper the major
> > revision number must be increased and also the namespace URI changed?
> 
> The problem is that it is unnecessarily restrictive - it means that an
> old client cannot do its job even though the new revision of a module
> just added one optional leaf (for example).  Extrapolating from this,
> we can define a set of rules which must be followed in order for a
> module to be compatible.

Exactly, and this can also be (partly) inferred from the URIs. Depending
on that definition, different URIs (as well as revisions) on the client
and server side may or may not be a problem - some operations can be
safe while other aren't. It's a tricky area though.

Lada

> 
> 
> /martin
> 
> 
> _______________________________________________
> YANG mailing list
> YANG@ietf.org
> https://www1.ietf.org/mailman/listinfo/yang
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



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