Re: [YANG] import statement

Ladislav Lhotka <lhotka@cesnet.cz> Mon, 05 May 2008 19:22 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 55F053A6D4A; Mon, 5 May 2008 12:22:59 -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 68CD03A6D4A for <yang@core3.amsl.com>; Mon, 5 May 2008 12:22:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.25
X-Spam-Level:
X-Spam-Status: No, score=-1.25 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
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 sQ14lPGiMPZJ for <yang@core3.amsl.com>; Mon, 5 May 2008 12:22:57 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 7FCE33A6C62 for <yang@ietf.org>; Mon, 5 May 2008 12:22:57 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 023A2D800CA for <yang@ietf.org>; Mon, 5 May 2008 21:22:55 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: yang@ietf.org
In-Reply-To: <021601c8aee4$53c19070$0600a8c0@china.huawei.com>
References: <1209812833.14759.12.camel@missotis> <021601c8aee4$53c19070$0600a8c0@china.huawei.com>
Organization: CESNET
Date: Mon, 05 May 2008 21:22:57 +0200
Message-Id: <1210015377.6928.28.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.1
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="utf-8"
Content-Transfer-Encoding: base64
Sender: yang-bounces@ietf.org
Errors-To: yang-bounces@ietf.org

Hi Dave,

I consider that thread finished - should I send a summary to the netmod
list?

Lada

David Harrington píše v Po 05. 05. 2008 v 15:15 -0400:
> 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
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C

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