On Thu, Dec 19, 2019 at 08:23:27AM +0100, Ladislav Lhotka wrote: > > I don't see how YANG syntax defines this. If a module imports > ietf-netconf-acm, it could be because > > - it just uses a typedef, such as "node-instance-identifier", and then > ietf-netconf-acm needn't be implemented (but can be), > > or > > - it augments ietf-netconf-acm, which makes sense only if the latter > module is implemented. > > It it the YANG library that specifies whether a module is implemented or not, > but the "import" statement itself doesn't tell you anything. >
Can we not assume that an implementor will figure out the difference? Or someone writes a pyang plugin to determine from the schema tree the kind of imports there are (for a given set of features). /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <https://www.jacobs-university.de/> _______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod