Re: [NGO] external module properties

Phil Shafer <phil@juniper.net> Thu, 01 May 2008 20:47 UTC

Return-Path: <ngo-bounces@ietf.org>
X-Original-To: ngo-archive@optimus.ietf.org
Delivered-To: ietfarch-ngo-archive@core3.amsl.com
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5AADB3A6A8D; Thu, 1 May 2008 13:47:46 -0700 (PDT)
X-Original-To: ngo@core3.amsl.com
Delivered-To: ngo@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A8AB43A69F0 for <ngo@core3.amsl.com>; Thu, 1 May 2008 13:47:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.556
X-Spam-Level:
X-Spam-Status: No, score=-6.556 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dIKtcODrvu03 for <ngo@core3.amsl.com>; Thu, 1 May 2008 13:47:44 -0700 (PDT)
Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163]) by core3.amsl.com (Postfix) with ESMTP id C3B213A6A32 for <ngo@ietf.org>; Thu, 1 May 2008 13:47:41 -0700 (PDT)
Received: from source ([66.129.224.36]) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP; Thu, 01 May 2008 13:47:06 PDT
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Thu, 1 May 2008 13:47:28 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id m41KlRx93303; Thu, 1 May 2008 13:47:27 -0700 (PDT) (envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1]) by idle.juniper.net (8.13.8/8.13.8) with ESMTP id m41KjmAp009395; Thu, 1 May 2008 20:45:48 GMT (envelope-from phil@idle.juniper.net)
Message-Id: <200805012045.m41KjmAp009395@idle.juniper.net>
To: Martin Bjorklund <mbj@tail-f.com>
In-reply-to: <20080501.223155.101151882.mbj@tail-f.com>
Date: Thu, 01 May 2008 16:45:48 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 May 2008 20:47:28.0301 (UTC) FILETIME=[9182DDD0:01C8ABCC]
Cc: ngo@ietf.org
Subject: Re: [NGO] external module properties
X-BeenThere: ngo@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETCONF Goes On - discussions on future work and extensions to NETCONF <ngo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ngo>, <mailto:ngo-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/ngo>
List-Post: <mailto:ngo@ietf.org>
List-Help: <mailto:ngo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ngo>, <mailto:ngo-request@ietf.org?subject=subscribe>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: ngo-bounces@ietf.org
Errors-To: ngo-bounces@ietf.org

Martin Bjorklund writes:
>The problem is when a vendor needs to implement A rev 2 in a device,
>and also B.  B imports A rev 1.  So the device needs to implement A
>rev 1 *and* A rev 2.   This is something that we have talked about
>before, and dismissed as being too complicated in general.

I'm hoping (having not implemented it yet ;^) that this won't be that
bad.  If I have a hierarchy in my C module that uses a grouping
from B that uses the original revision of A, and another place in
my C that wants to use the new A with a new leaf that has the content
I want, I just need to track the module inclusion and imports to
know which revision of A I am getting the grouping from.

>But you talk about behavioural changes.  In the current design of
>YANG, the idea has been that a module cannot be updated in a way that
>changes the behaviour for importers and includers.  Thus you don't
>have to rev B just b/c A is updated.

If I add a new leaf to a grouping in A that B doesn't know about,
B will break if I use the new A.  If I can't say which A I want,
then the grouping in A cannot be allowed to change.  This means
that the contents of groupings, types, etc are locked for all time,
which is a pretty strong limitation.

Thanks,
 Phil
_______________________________________________
NGO mailing list
NGO@ietf.org
https://www.ietf.org/mailman/listinfo/ngo