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


Custom yang file

asked 2014-05-16 08:39:23 -0700

csadi gravatar image

Hello Team,

How/Where do I include custom yang file on the system?



edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-16 11:42:01 -0700

Devin Avery gravatar image

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

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

Question Tools



Asked: 2014-05-16 08:39:23 -0700

Seen: 1,150 times

Last updated: May 16 '14