yangtool search path

asked 2017-09-17 18:33:19 -0700


I am developing some code for Opendaylight Carbon where I need a more recent version of a yang data model than one that is included with the distribution. For example, I want to use ietf-packet-fields@2017-06-16.yang . How can I make the build pick up that version of the yang file instead of the one that is in my .m2 repository?



edit retag flag offensive close merge delete


Shouldn't Maven be able to handle dependencies correctly? Which maven imports are you using and what are your expectations vs the results?

VincentJahjah ( 2017-09-29 06:12:47 -0700 )edit

I solved the problem by simply including the necessary packet-fields in the api/src/main/yang directory. Being a maven newbie, I just create the artifact and go from there.

mranga ( 2017-09-29 10:59:47 -0700 )edit