Martin Bjorklund

Results 94 comments of Martin Bjorklund

Hi, This seems useful. I suggest you rename the option to "--ignore-default-path", and update the documentation pyang.1.dbk with this new option (and update the text re. --path)

I marked this as help wanted. I am not very familiar with virtualenv and what can be done. So if you have an idea for how it can be solved,...

Thank you for this fix! Can you add a test case for this issue please?

There is no built-in support for this.

This is b/c OpenConfig uses illegal YANG; they use POSIX regexp instead of XSD regexp in 'pattern', as required by the YANG RFC.

If you pass ietf-isis and ietf-ospf as well this works.

There is no special code in pyang for this extension. It should be trivial to add code that checks the grammar and the few validation rules that are necessary though.

This happens when the file is given on the command line AND imported by some other module AND doesn't have a revision statement. It is a bit tricky to fix...

The revision must also be in the filename: ``` $ pyang --verbose --format=sample-xml-skeleton [email protected] main.yang > /dev/null # module search path: .:/home/mbj/src/pyang/modules:/home/mbj/yang/modules:/usr/local/share/yang/modules # read [email protected] (CL) # read main.yang (CL)...