Re: [YANG] import statement

"David Harrington" <ietfdbh@comcast.net> Mon, 05 May 2008 19:15 UTC

Return-Path: <yang-bounces@ietf.org>
X-Original-To: yang-archive@optimus.ietf.org
Delivered-To: ietfarch-yang-archive@core3.amsl.com
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0D97B3A6CA2; Mon, 5 May 2008 12:15:13 -0700 (PDT)
X-Original-To: yang@core3.amsl.com
Delivered-To: yang@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 27C4F3A6C62 for <yang@core3.amsl.com>; Mon, 5 May 2008 12:15:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.556
X-Spam-Level:
X-Spam-Status: No, score=-2.556 tagged_above=-999 required=5 tests=[AWL=0.043, 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 KPCwWXY8oqoM for <yang@core3.amsl.com>; Mon, 5 May 2008 12:15:10 -0700 (PDT)
Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by core3.amsl.com (Postfix) with ESMTP id 1FBC03A6D42 for <yang@ietf.org>; Mon, 5 May 2008 12:15:10 -0700 (PDT)
Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA01.westchester.pa.mail.comcast.net with comcast id MmVS1Z0060xGWP8510Zr00; Mon, 05 May 2008 19:15:08 +0000
Received: from Harrington73653 ([24.128.66.199]) by OMTA12.westchester.pa.mail.comcast.net with comcast id MvF41Z00Z4HwxpC3Y00000; Mon, 05 May 2008 19:15:06 +0000
X-Authority-Analysis: v=1.0 c=1 a=48vgC7mUAAAA:8 a=51bWM1jbu9bR2lC3OiEA:9 a=0Ccs1n0Xe0Dl5Giz9kkA:7 a=d-DFfG5QQNufRJqLw7Mwww7IUZgA:4 a=lZB815dzVvQA:10 a=50e4U0PicR4A:10
From: David Harrington <ietfdbh@comcast.net>
To: 'Ladislav Lhotka' <lhotka@cesnet.cz>, 'yang' <yang@ietf.org>
References: <1209812833.14759.12.camel@missotis>
Date: Mon, 05 May 2008 15:15:04 -0400
Message-ID: <021601c8aee4$53c19070$0600a8c0@china.huawei.com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <1209812833.14759.12.camel@missotis>
Thread-Index: AcitDduRQcbmvRz7SqSNijd4bx6qMAB1kTsQ
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Subject: Re: [YANG] import statement
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: yang-bounces@ietf.org
Errors-To: yang-bounces@ietf.org

Hi,

Can we please move all discussion of YANG to the netmod ML, so the
whole community can see these discussions and understand the issues?
It would also be easier to follow all the threads related to such
discussions, compared to having to correlate different threads on
different mailing lists.

Thanks,
dbh 

> -----Original Message-----
> From: yang-bounces@ietf.org [mailto:yang-bounces@ietf.org] On 
> Behalf Of Ladislav Lhotka
> Sent: Saturday, May 03, 2008 7:07 AM
> To: yang
> Subject: [YANG] import statement
> 
> Hi,
> 
> I have difficulties in understanding what happens when a 
> module imports
> another and the latter contains "real" data tree, not just 
> groupings and
> typedefs. For example:
> 
> module foo {
>   namespace "urn:foo";
>   prefix foo;
>   container foo-cont {
>     leaf foo-leaf {
>       ...
>     }
>   }
> }
> 
> module bar {
>   namespace "urn:bar";
>   prefix bar;
>   import foo {
>     prefix foo;
>   }
>   container bar-cont {
>     leaf bar-leaf {
>       ...
>     }
>   }
> }  
> 
> Is now the data model expressed by bar affected in any way by the
fact
> that it imports foo?
> 
> Thanks, Lada
> 
> -- 
> Ladislav Lhotka, CESNET
> PGP Key ID: E74E8C0C
> 
> _______________________________________________
> YANG mailing list
> YANG@ietf.org
> https://www.ietf.org/mailman/listinfo/yang
> 

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