Re: [NGO] external module properties

"Randy Presuhn" <randy_presuhn@mindspring.com> Thu, 01 May 2008 22:09 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 C89633A6923; Thu, 1 May 2008 15:09:17 -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 959CE3A6801 for <ngo@core3.amsl.com>; Thu, 1 May 2008 15:09:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level:
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[AWL=0.149, BAYES_00=-2.599]
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 qxHBbjWXhZRX for <ngo@core3.amsl.com>; Thu, 1 May 2008 15:09:15 -0700 (PDT)
Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) by core3.amsl.com (Postfix) with ESMTP id CEF143A6923 for <ngo@ietf.org>; Thu, 1 May 2008 15:09:15 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=jOUDHXkYPjB8mkRCyNN0LeJVr3W/XvLI/9Rt+PZwajUJtczw6NFh0c6sEWMneBYe; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [64.105.137.170] (helo=oemcomputer) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Jrgxf-0006RV-3V for ngo@ietf.org; Thu, 01 May 2008 18:09:09 -0400
Message-ID: <000e01c8abcf$a158f200$6801a8c0@oemcomputer>
From: Randy Presuhn <randy_presuhn@mindspring.com>
To: ngo@ietf.org
References: <200804292243.m3TMhOIC091458@idle.juniper.net><20080430.082352.151372679.mbj@tail-f.com><001001c8aad2$7256bbc0$6801a8c0@oemcomputer> <20080501.223155.101151882.mbj@tail-f.com>
Date: Thu, 01 May 2008 15:09:17 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8885d2a9c731cc891174b25739f2e45ab6912bd19edc5f80784350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 64.105.137.170
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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: ngo-bounces@ietf.org
Errors-To: ngo-bounces@ietf.org

Hi -

> From: "Martin Bjorklund" <mbj@tail-f.com>
> To: <randy_presuhn@mindspring.com>
> Cc: <ngo@ietf.org>
> Sent: Thursday, May 01, 2008 2:31 PM
> Subject: Re: [NGO] external module properties
...
> 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.

Too complicated for what?   The only case I can think of would be if some
tool were blindly trying to re-use the same code for Arev1 and Arev2, or if some
tool failed to account for the possibility that the same identifier might show
up in different modules.  These are just two ways of describing the same
kind of broken-ness, and are easily handled by scoping (whether in one's
symbol table management or the way one generates labels for use in code).

> 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 an update to a module can't change behaviour (where behaviour includes
signatures / interface definitions), then why does it matter?

Randy

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