[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [YANG] import statement
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 at ietf.org [mailto:yang-bounces at 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 at ietf.org
> https://www.ietf.org/mailman/listinfo/yang
>
_______________________________________________
YANG mailing list
YANG at ietf.org
https://www.ietf.org/mailman/listinfo/yang