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

Revision history [back]

click to hide/show revision 1
initial version

If you can add more to your question to clarify your desired use of the yang etc I can try an be more specific. Given that here is the best I can suggest.

Technically speaking you can place a .yang file in any bundle, most typically under src/main/yang folder. From there with a few configurations to the pom.xml file for that bundle you can get your code auto generated.

I would suggest taking a look at the toaster step-by-step where we go through the process of creating a "custom" yang and exposing it to the users.

See Toaster Step-By-Step - Part 1