Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-595

Plugins that register for DataChangeListener get notifications for all nodes and not just the nodes they registered for.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: Linux
      Platform: PC

    • 1284

    Description

      When I register a datachangelistener on a specific node (for example node1 that is defined in the sample-pingDiscovery module), the onDataChanged gets called for all types of nodes (Netconf, flowCapableNode).

      It should get called only for the type of node that I registered for.

      I have attached a sample module to this bug report. Un-tar the attached file in the controller/opendaylight directory, compile and copy the jar to the plugins folder and run the pingDiscovery command from https://git.opendaylight.org/gerrit/#/c/7249/16.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tony.tkacik@gmail.com Tony Tkacik
            ramkumar.gowrishankar@gmail.com Ramkumar Gowrishankar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: