rpc input/output extensions are not printed #2280
Labels
is:bug
Bug description.
status:completed
From the developer perspective, the issue was solved (bug fixed, question answered,...)
When using a lys_print_*() function on a yang model that contains extensions on rpc input or output nodes, these ones are not displayed.
The problem can be reproduced with the following example:
The output of the program is:
The extensions from rpc input and output disappeared on the printed yang.
Note that sysrepo uses a yang print function when installing a module with sr_install_module(), so the generated yang files in /etc/sysrepo/yang won't have any extensions on rpc input or output nodes.
The patch looks quite easy:
I'm submitting a PR for this.
The text was updated successfully, but these errors were encountered: