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


New Rpc implementation

asked 2015-04-09 23:34:45 -0700

faizan gravatar image

updated 2015-04-10 00:34:40 -0700

Hi, I am trying to register a new RPC call via restconf for my application.

For that i have made changes in yang files and dependencies in pom.

My classes are generated fine and RPC is listed in OpenDaylight RestConf API Documentation too.

But when I tried to use that RPC gives me an error :

{ "error-type": "rpc", "error-tag": "operation-not-supported", "error-message": "No implementation for this operation is available." }

In createInstance() method i have register rpc via

BindingAwareBroker.RpcRegistration<pgnapplicationservice> rpcRegistration</pgnapplicationservice>

Any pointers for solution??



edit retag flag offensive close merge delete


Is your feature installed? feature:list -i | grep yfeature are there errors in karaf log? are (all) the bundles of your feature "active" bundle:list -s | grep yfeature if not try to start them with start bundleid. log messages from the createInstance() in karaf log? perhaps only the model is loaded?

mawil ( 2015-04-10 02:18:25 -0700 )edit

Hi Mawil, I am running it with and i have only one application.jar which is active.

faizan ( 2015-04-10 04:04:45 -0700 )edit

Ok, if you start the controller with ./ i think you are using the hydrogen version. I got no idea how to debug this... sry!

mawil ( 2015-04-10 09:30:01 -0700 )edit

No Issue :) I guess i found out the possible reason.. will look into it. And no i m using stable helium release but not using karaf to run it. debug is same for it i.e. -debug. Thanks for ur time

faizan ( 2015-04-11 06:30:54 -0700 )edit

@faizan what was the issue? I had this issue in Stable branch. Then i moved to master branch for my work. If you found a solution, let us know.

gyanesh ( 2015-04-14 07:45:36 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-14 04:39:56 -0700

GG gravatar image

You may start the ODL controller and then take advantage of the MD-SAL Restconf API explorer to verify your RPC is registered as expected. See details at:

Also double ckeck your code by following the tutorial:

about the appropriate steps to register RPCs.

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

Question Tools

1 follower


Asked: 2015-04-09 23:34:45 -0700

Seen: 331 times

Last updated: Feb 14 '16