Re: [NGO] external module properties

Balazs Lengyel <balazs.lengyel@ericsson.com> Mon, 28 April 2008 16:06 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 DCA103A6EC4; Mon, 28 Apr 2008 09:06:51 -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 BDE513A6CA3 for <ngo@core3.amsl.com>; Mon, 28 Apr 2008 09:06:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, 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 gRwYX6Q3Seay for <ngo@core3.amsl.com>; Mon, 28 Apr 2008 09:06:47 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 48E6C3A6EC6 for <ngo@ietf.org>; Mon, 28 Apr 2008 09:06:18 -0700 (PDT)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 12991210C5; Mon, 28 Apr 2008 18:06:20 +0200 (CEST)
X-AuditID: c1b4fb3e-b019cbb000004ec0-f2-4815f5fb5b1c
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.254.123]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id EFB4C212E0; Mon, 28 Apr 2008 18:06:19 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 28 Apr 2008 18:06:20 +0200
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 28 Apr 2008 18:06:19 +0200
Message-ID: <4815F5FA.2000605@ericsson.com>
Date: Mon, 28 Apr 2008 18:06:18 +0200
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: Andy Bierman <ietf@andybierman.com>
References: <48137444.6070802@andybierman.com>
In-Reply-To: <48137444.6070802@andybierman.com>
X-OriginalArrivalTime: 28 Apr 2008 16:06:19.0867 (UTC) FILETIME=[CBE6DAB0:01C8A949]
X-Brightmail-Tracker: AAAAAA==
Cc: NETCONF Goes On <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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: ngo-bounces@ietf.org
Errors-To: ngo-bounces@ietf.org

Hello,
mandatory versioning was the most frequent request I got from potential users of YANG, so I 
agree with Andy it is needed.
Balazs

Andy Bierman wrote:
> Hi,
> 
> There is so much focus on the contents of a NETCONF data module,
> that little attention has been paid to the 'external' properties.
> I have already brought up module/submodule name uniqueness.
> 
> YANG does not have a concept of a module version, which is a mistake.
> SMIv2 has LAST-UPDATED.  IMO, all YANG modules should have at
> least 3 standard external properties:
> 
>    - name (matches import or include directive)
>    - version (derived from most recent 'revision')
>    - authoritative online module repository location
> 
> This implies that at least one revision-stmt MUST be present.
> IMO, especially thinking for the long-term, it is not acceptable
> to use ad-hoc non-standard mechanisms to identify the actual
> module version.  LAST-UPDATED and REVISION are optional in SMIv2.
> This is a mistake that should be fixed in YANG.
> 
> Another controversial external module property is 'schemaLocation' ;-)
> 
_______________________________________________
NGO mailing list
NGO@ietf.org
https://www.ietf.org/mailman/listinfo/ngo