Re: [YANG] Questions about submodule
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 18 January 2008 15:48 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 1JFtSU-0006Kw-Fe; Fri, 18 Jan 2008 10:48:42 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JFtST-0006KL-8v
for yang-confirm+ok@megatron.ietf.org; Fri, 18 Jan 2008 10:48:41 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JFtSS-0006KD-Tb
for yang@ietf.org; Fri, 18 Jan 2008 10:48:40 -0500
Received: from hermes.jacobs-university.de ([212.201.44.23])
by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1JFtSS-0006qc-10
for yang@ietf.org; Fri, 18 Jan 2008 10:48:40 -0500
Received: from localhost (demetrius.jacobs-university.de [212.201.44.32])
by hermes.jacobs-university.de (Postfix) with ESMTP id 464568A432;
Fri, 18 Jan 2008 16:48:38 +0100 (CET)
Received: from hermes.jacobs-university.de ([212.201.44.23])
by localhost (demetrius.jacobs-university.de [212.201.44.32])
(amavisd-new, port 10024)
with ESMTP id 04109-03-13; Fri, 18 Jan 2008 16:48:33 +0100 (CET)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133])
by hermes.jacobs-university.de (Postfix) with ESMTP id 5241C8A445;
Fri, 18 Jan 2008 16:46:20 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501)
id DF1E846971D; Fri, 18 Jan 2008 16:46:19 +0100 (CET)
Date: Fri, 18 Jan 2008 16:46:19 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
Subject: Re: [YANG] Questions about submodule
Message-ID: <20080118154619.GA29852@elstar.local>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>,
liyan_77@huawei.com, yang@ietf.org
References: <000001c859b6$b0626ee0$ec0c6f0a@china.huawei.com>
<20080118.111505.89141499.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20080118.111505.89141499.mbj@tail-f.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
X-Virus-Scanned: amavisd-new 2.3.3 (20050822) at jacobs-university.de
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9466e0365fc95844abaf7c3f15a05c7d
Cc: yang@ietf.org
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
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
On Fri, Jan 18, 2008 at 11:15:05AM +0100, Martin Bjorklund wrote: > In larger projects, this might actually be useful. Instead of having > one big centralized module, we allow people to split the task into > submodules. If the submodule becomes big enough, it might be useful > to split it into other submodules. Even though I cannot see that 100 > levels are ever used, I don't think we should add a rule which says > that you cannot nest more than 99 levels. I am not a big fan of introducing such arbitrary limits. A yang compiler is not something that you need at NETCONF run time so memory constraints etc. are not a big deal. We also have no limits for the number of identifiers a module may define, the max. nesting of containers and many other things. And I think this is goodness and we should stick to this. If people really want limits (I hope not), we should define minimums that must be supported to be compliant, but leave the maximum open. (Note that libsmi allocates everything dynamically so the limits are actually the available memory at run time; I would not like to move to a different implementation model just to be compliant to some rather arbitrarily choosen limits.) /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany Fax: +49 421 200 3103 <http://www.jacobs-university.de/> _______________________________________________ YANG mailing list YANG@ietf.org https://www1.ietf.org/mailman/listinfo/yang
- [YANG] Questions about submodule Li Yan
- Re: [YANG] Questions about submodule Martin Bjorklund
- Re: [YANG] Questions about submodule Balazs Lengyel
- Re: [YANG] Questions about submodule Juergen Schoenwaelder