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

0

Should I develop an "app" as OSGi-plugin or use the REST-API?

asked 2014-07-30 01:15:55 -0800

mario gravatar image

Hi,

I'm trying to get started with "app"-development for Opendaylight, but I have some trouble figuring out whether/in which cases to develop the app as an OSGi-plugin or to use the REST-API. I assume there definitely is an performance impact related to the REST-API.

In addition, I got the impression that MD-SAL is only available with the REST-API, is that correct?

Speaking of which, I'm confused with AD-SAL and MD-SAL.. Since MD-SAL is newer, I wonder if AD-SAL is deprecated. Or are these just two complementary concepts, with different pros and cons? In the latter case, what are the pros and cons, from an app-developer point of view?

As a last question I would like to clarify terminology. As an app-developer, in the context of Opendaylight, am I a "user", a "developer", something in between? Since there are resources for users and developers in the Opdendaylight wiki, but neither seems to really fit for app-developers.

Best regards, Mario

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-30 03:26:15 -0800

Robert Varga gravatar image

MD-SAL interaction is available at both Java and REST(CONF) level, with Java being the primary one at this point.

The choice of which level to integrate in depends largely on the language of your choice and the interaction pattern you expect to use. If you are an end-user kind of application, which uses ODL to talk to the network, REST should be fine. If you end up providing programmatic interfaces on your northbound, a Java plugin would be better, as you can model your NB using the same means as MD-SAL and automatically have them consistent with the rest of ODL.

I cannot really comment on the terminology question. As for deprecation ... no AD-SAL is not officially deprecated, but it seems that more of the community's projects are centered around MD-SAL concepts and infrastructure.

edit flag offensive delete publish link more

Comments

Thank you very much, that helped a lot. :-)

mario ( 2014-07-30 05:10:36 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-07-30 01:15:55 -0800

Seen: 85 times

Last updated: Jul 30 '14