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

rpc call via restconf on remote netconf device

asked 2014-08-06 23:10:58 -0800

ankit21a gravatar image

Trying to make a rpc call to mounted device with below url and POST method on restclient

http://localhost:8080/restconf/operations/opendaylight-inventory:nodes/node/node-id/yang-ext:mount/moduleName:nodeName

in my case the rpc node does not require a input so i am keeping content empty and clicking send Getting RPCdefinition as NULL and showing error message as rpc does not exist. But for this URL(http://localhost:8080/restconf/operations/opendaylight-inventory:nodes/node/node-id/yang-ext:mount) with GET method ODL is getting the rpc definitions properly and showing the result.

so it seems error is there only in case of POST methods Please let me know your suggestion/query on this.

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-03 13:32:15 -0800

anu.nair gravatar image

There was a bug with rpc's I noticed, if the rpc's doesnt have any input. Does your yang have more rpc's, if not define a dummy input and test it out. For mounted rpc's you need atleast one input.. Not sure when this will be fixed.

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

Question Tools

Follow
2 followers

Stats

Asked: 2014-08-06 23:10:58 -0800

Seen: 750 times

Last updated: Nov 03 '14