Re: [YANG] how to signal revision?

Ladislav Lhotka <lhotka@cesnet.cz> Wed, 16 January 2008 10:42 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 1JF5jI-0005dC-Tp; Wed, 16 Jan 2008 05:42:44 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JF5jH-0005cr-Tn for yang-confirm+ok@megatron.ietf.org; Wed, 16 Jan 2008 05:42:43 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JF5jH-0005cj-Ix for yang@ietf.org; Wed, 16 Jan 2008 05:42:43 -0500
Received: from office2.cesnet.cz ([195.113.144.244]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JF5jH-0002E4-7o for yang@ietf.org; Wed, 16 Jan 2008 05:42:43 -0500
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id DC145D800C1 for <yang@ietf.org>; Wed, 16 Jan 2008 11:42:42 +0100 (CET)
Subject: Re: [YANG] how to signal revision?
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: yang <yang@ietf.org>
In-Reply-To: <478DDD1D.2060605@ericsson.com>
References: <1200478981.7029.27.camel@missotis> <478DDD1D.2060605@ericsson.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Wed, 16 Jan 2008 11:42:42 +0100
Message-Id: <1200480162.7029.32.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: 7baded97d9887f7a0c7e8a33c2e3ea1b
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

Balazs Lengyel píše v St 16. 01. 2008 v 11:31 +0100:
> Hello Lada,
> As I understand it, the basic idea is that you have compatible and incompatible changes. 
> Chapter 5.4 speaks about compatible changes. Even for these there could be a subversion 
> indicator somewhere in the module.
> 
> For incompatible changes, really anything major, the module will have a new name and URI. There 
> is currently an empty chapter "9.  Updating a Module" in the current draft that will describe this.

Hmm, what could be the compatible changes, apart from correcting typos
in descriptions etc.? I guess even changing a single default value
renders the data model incompatible.

Lada 

> 
> Balazs
> 
> Ladislav Lhotka wrote:
> > Hi,
> > 
> > how can the server and client make sure they are both using the same
> > revision of a given data model? Capabilities in NETCONF hello messages
> > use URIs but YANG draft says in sec. 5.4 that different revisions of the
> > same module should have the same namespace.
> > 
> > Lada
> > 
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



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