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

Hi , Its not YangUI Problem. It is because either you dont implement the RPC or dont Register the RPC . Follow this Link to know more about how to develop RPC, Hello RPC .

In that link you could see the below code

helloService = session.addRpcImplementation(HelloService.class, new HelloWorldImpl());

I guess you may missed it . Make sure you followed all the steps in your application. (Link which you given is not working).

Which ODL version are you using? In latest (Master/Boron) you cant see the OnSessionInitiate method, So have to follow blue print approach to register your RPC or implement BindingAwareProvider interface. Plz let me know if you face any problem.

Thx

Hi , Its not YangUI Problem. It is because either you dont implement the RPC or dont Register the RPC . Follow this Link to know more about how to develop RPC, Hello RPC .

In that link you could see the below code


helloService = session.addRpcImplementation(HelloService.class, new HelloWorldImpl());

Updated

I guess think you may missed it . are following the Lithium/beryllium version wiki page to master version(Latest ODL branch-pre boron). In latest version they changed many things.They Follow the blue-print model. Plz refer the attached blue print C:\fakepath\bluePrint.png Make sure you followed all the steps in your application. (Link which you given is not working).

Which ODL version are Provider class : C:\fakepath\Provider.png

Here I implemented the RPC in Provider class itself. If you using? In latest (Master/Boron) you cant see want to implement in HelloWorldImpl , then replace the OnSessionInitiate method, So have to follow blue print approach to register your RPC or implement BindingAwareProvider interface. Plz let me know if you face any "this" keyword with new HelloWorldImpl() .

Hope It solves the problem.

Thx