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

We're doing something similar in mdsalutil module of vpnservice project. Take a look at mdsalutil-api and it's usage in other impl bundles in vpnservice:

https://github.com/opendaylight/vpnservice/blob/master/mdsalutil/mdsalutil-api/src/main/yang/odl-mdsalutil.yang

This yang files shows how to expose your interfaces class file for others to consume as service. If you want step by step instructions, I could provide, but it would take some time. Try follow this example and see if it works.

This one shows how it is used [for starters]: https://github.com/opendaylight/vpnservice/blob/master/nexthopmgr/nexthopmgr-impl/src/main/yang/nexthopmgr-impl.yang

I believe with these you should be able to get what you want.