Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


How to subscribe netconf devices' Notfication in ODL

asked 2015-04-02 00:36:12 -0700

freshunter gravatar image

updated 2015-04-02 20:37:35 -0700

We mounted the netconf device successfully, and we can GET/POST device's data by rest conf interface.

Now here's a question. We can not receive device's notification, untill we need to send this netconf message to device. How we could do this or any other points on it.

<nc:rpc nc:message-id="1" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> <ncn:create-subscription xmlns:ncn="urn:ietf:params:xml:ns:netconf:notification:1.0"> <ncn:stream>exa-events</ncn:stream> </ncn:create-subscription> </nc:rpc>

Using Helium-sr2

Thanks for advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-03 13:49:10 -0700

oaugizeau gravatar image

it seems it is the way notificatons should run according to RFC 5277.

1rst Step: capabilities exchange during hello pasae 2nd step: create-subscription pahse 3rd step: controller can recieve notifications from devices

edit flag offensive delete publish link more


Yeah, the above netconf message is a create-subscription message. So how I could trigger this message in a ODL.

freshunter ( 2015-04-09 21:52:24 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-04-02 00:36:12 -0700

Seen: 784 times

Last updated: Apr 03 '15