Ask Your Question
0

rpc call via restconf on remote netconf device

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

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 -0700

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
2 followers

Stats

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

Seen: 709 times

Last updated: Nov 03 '14