Question: ability to export final config-data
Using the yanglint-tool we can do nice things in interactive mode such as:
add a.yang data -t config a.xml add b.yang data -t edit b.xml
This will validate that:
- a.yang is valid - and a.xml is valid
- b.yang is valid - and b.xml is valid
- b.yang depends correctly on a.yang ( assuming some leafrefs etc ).
However I was looking for an "export" function - to merge a.xml + b.xml - creating the final "config.xml".
Is something like this planned? This would be great for testing purposes in Makefiles for validation.
Kind regards,
Fabian
Already supported, try data a.xml b.xml -m -f xml.
That is great! I missed that. Thanks for the example. I will need to check the documentation with more attention.
Best to just run data -h, there the parameter is mentioned.