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

How do I get OpenDaylight to call a NETCONF RPC from RESTCONF?

I'm having issues getting RESTCONF to call a NETCONF RPC.

The URL I post to is something like:

http://localhost:8080/restconf/operations/opendaylight-inventory:nodes/node/freenetconfd/yang-ext:mount/foo:bar

(where freenetconfd is a mounted NETCONF server, foo is a yang module, and bar is the RPC).

But the response I get is:

"Identifier opendaylight-inventory:nodes/node/freenetconfd/yang-ext:mount/foo:bar can't contain slash character (/). If slash is part of identifier name then use %2F placeholder."

But of course in this instance the slashes aren't part of the identifier name but rather the path to the module.

Anyone able to help?

How do I get OpenDaylight to call a NETCONF RPC from RESTCONF?

I'm having issues getting RESTCONF to call a NETCONF RPC.

The URL I post to is something like:

http://localhost:8080/restconf/operations/opendaylight-inventory:nodes/node/freenetconfd/yang-ext:mount/foo:bar

(where freenetconfd is a mounted NETCONF server, foo is a yang module, and bar is the RPC).

But the response I get is:

"Identifier opendaylight-inventory:nodes/node/freenetconfd/yang-ext:mount/foo:bar can't contain slash character (/). If slash is part of identifier name then use %2F placeholder."

But of course in this instance the slashes aren't part of the identifier name but rather the path to the module.

Anyone able to help?