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

In MD-SAL, you create a YANG model with the data you want to expose and it will be available for REST calls, then set up your features plugin to install the feature through karaf.

Check this example on how to generate a simple set of modules, including a model and a provider:

https://wiki.opendaylight.org/view/OpenDaylightToolkit:MD-SAL-SimpleArchetype#WhatdoestheMD-SALArchetypeProvidefor_us.3F

Hope I've helped.