Ask Your Question
1

how to create custom application and Rest API in ODL helium?

asked 2015-04-06 00:17:11 -0700

heena gravatar image

updated 2015-04-10 14:20:06 -0700

mawil gravatar image

how to create custom application and Rest API in ODL helium?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2015-04-10 02:12:53 -0700

mawil gravatar image

updated 2015-04-10 02:13:16 -0700

If you want to build a plugin which could be used in the OpenDaylight container that provides a custom Rest API you have to do the following steps:

  1. Define a Karaf feature which describes the dependencies to other features/bundles
  2. Define a Yang model which basically defines your applications REST/Java APIs (operational and configurational Data/RPC/Notifications)
  3. Implement by the Yang model generated interfaces to support the APIs functionality
  4. Define a Yang configuration for your application to fit it into the controller
  5. Deploy the feature in the OpenDaylight container

There are some awesome and simple tutorials in the wiki, i would start with these two items to get familiar with how things work in OpenDaylight:

MD-SAL:Startup-Project-Archtype

The Toaster Tutorial

edit flag offensive delete publish link more
0

answered 2016-05-24 01:55:41 -0700

medox gravatar image

Hi you can use REST api using java for adding flows in ODL

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

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-06 00:17:11 -0700

Seen: 1,290 times

Last updated: May 24 '16