Re: ODL yang models

Robert Varga

On 22/10/2019 21:08, Luis Gomez wrote:
Hi everyone,

You may know already, we have an ODL intern, Rohan Julka, working on
yang model pushing to Yang github (

As part of this exercise, we added a test in the distribution merge job
to collect and verify ODL generated yang models using pyang, see the
results here:

The test shows we have issues in many models (see error file under each
project). Some of them like "import" not used, are easy to fix and have
no impact, but other may require further analysis and the fix may impact
the API.

So how do we want to go about this? should we open bugs to every project
to fix this? any other idea to get the models repaired?
Well, we need attribution to where the model is packaged -- the current
approach of matching namespace is nice (in that it points out wrong
namespaces), but really those 'external' models need to be charged to
the project packaging them (most of which is mdsal, as designed).

As for the individual failures ... yeah, they need to be classified and
analyzed, as for example we are more liberal around keyless lists in
config (because they are not a problem for our internal workings).


Join { to automatically receive all group messages.