Martin Bjorklund

Results 86 comments of Martin Bjorklund

Where can we find the YANG modules you use?

Not sure what you mean with "pulls in the file in the local directory". pyang searches the current directory for imported modules.

Yes this looks like a bug. I agree it should be pruned in both cases, so please open a PR with the fix (and the test)!

Good point! As you can see in https://github.com/mbj4668/pyang/blob/master/.github/workflows/tests.yml, you have found the required dependencies. But as you note there might be other dependencies like `grep`, `diff` etc that are typically...

The statement tree is not modified after an augment; instead we update the `i_children` property of a statement.

I understand what this option does, but what is the use case?

Ok, I'll wait with this PR until you've had a chance to look at this. I think your idea of adding only modules from the explicit path and others that...

The "yang" plugin formats a module statement (tree) as yang. This is invoked with "pyang -f yang" on the command line. You can write your code that modifies some statements...

Now that OTP has implemented the compile server, is this behavior something you plan to change?

We spent some more time on the compile server, and managed to get it to work, so I created a PR with the code we came up with. The biggest...