> On 01 Mar 2016, at 10:38, Anton Tkáčik <anton.tka...@pantheon.tech> wrote: > > Hi, > Noticed other issue with example set, > In https://github.com/mbj4668/pyang/issues/194 Lada stated that in YANG 1.0 > submodule can not augment nodes > defined in parent model. > > Is that correct that submodule can not augment definition defined in parent > module?
This isn't possible in YANG 1.0 but will be possible in 1.1. However, in the present case the definition being augmented from the submodule is arguably in a different module. Lada > Is such definition also augmentation. > > > > ________________________________________ > Od: Ladislav Lhotka <lho...@nic.cz> > Odoslané: 29. februára 2016 17:36 > Komu: Peter Verthez > Kópia: netmod@ietf.org > Predmet: Re: [netmod] Augment issue > > Hi Peter, > > I agree it should be OK. I tried to reproduce the situation and test it with > pyang and it led to a Python exception. So I filed an issue: > > https://github.com/mbj4668/pyang/issues/206 > > Lada > >> On 29 Feb 2016, at 10:09, Peter Verthez <peter.vert...@nokia.com> wrote: >> >> Hi all, >> >> A few weeks ago I reported a bug on the OpenDaylight YANG parser, regarding >> a error that was generated on a particular augment construction. The bug >> report is the following: >> https://bugs.opendaylight.org/show_bug.cgi?id=5335 >> >> We are disagreeing on the interpretation of the YANG RFC regarding to this >> bug, so could we get the opinion of the people on this mailing list on it? >> >> The problem originated from a proposed Broadband Forum model, but there's a >> dummy model that reproduces the problem attached to that bug report. >> >> Thanks, >> Peter. >> >> _______________________________________________ >> netmod mailing list >> netmod@ietf.org >> https://www.ietf.org/mailman/listinfo/netmod > > -- > Ladislav Lhotka, CZ.NIC Labs > PGP Key ID: E74E8C0C > > > > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod > AntonTkáčik > Chief Software Architect > > Mlynské Nivy 56 / 821 05 Bratislava / Slovakia > +421 911 309 249 / anton.tka...@pantheon.tech > reception: +421 2 206 65 111 / www.pantheon.sk > [logo] -- Ladislav Lhotka, CZ.NIC Labs PGP Key ID: E74E8C0C _______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod