Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Yang model and APIs

asked 2014-08-20 07:04:36 -0700

anonymous user


updated 2014-08-20 07:08:52 -0700

Hi, I am new to OpenDaylight, yang tools, and java programming.

I was going through the Ping tutorial ( ). At the beginning, the yang definition for ping and a pom.xml file are given. Then the API (OSGI??) bundle is generated with the Maven build tool. My question is where is the Yang Tool being used or called to create the 'generated API definition' before being fed into Maven build tool (as specified in process.png)? It seems like it is missing the Yang Tools step (The url above should read 'underscore' design 'underscore' process.png. The underscores are missing).

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-20 21:08:16 -0700

Madhu gravatar image

YangTools is executed via yang-maven-plugin which automates the Yang related build process and streamlines the build procedure when you execute mvn clean install on the project. For this model-ping project, please refer to the Parent project which points to model-parent project in controller repository. Please refer to the Yang-tools plugin defined here.


The tutorial covers rest of the details I believe.

edit flag offensive delete publish link more
Login/Signup to Answer


Asked: 2014-08-20 07:04:36 -0700

Seen: 204 times

Last updated: Aug 20 '14