Netconf testtool and create-subscription

asked 2015-12-13 10:44:26 -0700

SR1976 gravatar image

All

Am working with netconf testtool ( https://wiki.opendaylight.org/view/Op...Controller:Netconf:Testtool#Notificationsupport) and i want to use restconf to do create-subscription rpc call to testtool .

Do you know the URL as well as the message content for create-subscription to do the post?

I tried a few options from other threads I got from search engines but not working:

Thanks SR

http://<odl>:8181/restconf/operations/opendaylight-inventory:nodes/node/<nodename>/yang-ext:mount/

<netconf:rpc message-id="101" xmlns:netconf="urn:ietf:params:xml:ns:netconf:base:1.0"> <create-subscription xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0"> </create-subscription> </netconf:rpc>

{ "errors": { "error": [ { "error-type": "protocol", "error-tag": "malformed-message", "error-message": "Error parsing input: Child \"rpc\" was not found in parent schema node \"(urn:ietf:params:xml:ns:netconf:base:1.0)data\"" } ] } }

edit retag flag offensive close merge delete