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

Revision history [back]

click to hide/show revision 1
initial version

Not getting Node change or deleted notification in Beryllium Snapshot version

I am following SDNHUB tutorial and implementing TAPapp application with Beryllium latest Snapshot version.

The problem is whenever I am adding switch or adding ports or removing ports , the OnNodeUpdated method implemented from OPenDayLightInventoryListener interface is not getting called in my impl class.

I have added following things in my blueprint.xml : <reference id="dataBroker" interface="" odl:type="default"/>

  <reference id="NotificationProviderService"
interface="org.opendaylight.controller.sal.binding.api.NotificationProviderService" odl:type="default" />

  <reference id="RpcProviderRegistry"
odl:type="default" />

<service id="OpendaylightInventoryListener" interface="org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.OpendaylightInventoryListener" ref="provider"/> <service id="DataChangeListener" interface="" ref="provider"/>

<bean id="provider" class="org.sdnhub.odl.tutorial.tapapp.impl.TutorialTapProvider" init-method="init" destroy-method="close"> <argument ref="dataBroker"/> <argument ref="NotificationProviderService"/> <argument ref="RpcProviderRegistry"/>

</bean> <odl:notification-listener ref="provider"/>

Can someone let me know If I am missing something or if there is any mistake while doing that. Waiting for positive response.