Re: [YANG] how to signal revision?

Ladislav Lhotka <lhotka@cesnet.cz> Wed, 16 January 2008 12:08 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 1JF74l-0005B2-8e; Wed, 16 Jan 2008 07:08:59 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JF74k-00054e-0Q for yang-confirm+ok@megatron.ietf.org; Wed, 16 Jan 2008 07:08:58 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JF74j-00054W-Iq for yang@ietf.org; Wed, 16 Jan 2008 07:08:57 -0500
Received: from office2.cesnet.cz ([195.113.144.244]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JF74j-0003v4-8N for yang@ietf.org; Wed, 16 Jan 2008 07:08:57 -0500
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id F3F15D80098 for <yang@ietf.org>; Wed, 16 Jan 2008 13:08:56 +0100 (CET)
Subject: Re: [YANG] how to signal revision?
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: yang@ietf.org
In-Reply-To: <20080116.123549.140000433.mbj@tail-f.com>
References: <1200478981.7029.27.camel@missotis> <20080116.123549.140000433.mbj@tail-f.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Wed, 16 Jan 2008 13:08:57 +0100
Message-Id: <1200485337.7029.43.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: bb8f917bb6b8da28fc948aeffb74aa17
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

Hi Martin,

Martin Bjorklund píše v St 16. 01. 2008 v 12:35 +0100:
> 
> The idea is that we use the uri query argument to indicate the
> revision number (see 7.1.3):
> 
>    <capability>http://acme.example.com/system?2007-06-09</capability>

This makes sense, but is the query argument allowed also in URNs?

> 
> (I realize that the text should be clarified; probably move the
> discussion about the capability from 7.1.3 to 5.4).
> 
> > 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.
> 
> Yes, changing defaults is incompatible.  If you do that, you have to
> change the namespace.
> 
> But there are many common compatible changes you can do, the simplest
> is to add new optional data.

This means that a client that uses a new revision could send data that
the server doesn't know about. I don't think it's acceptable.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



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