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]

Actually this does work as advertised. I Had previously made a mistake. I have to build the project from the root.

   mvn clean install

Does it. I would like to know why I get MULTIPLE notifications when mininet connects.

Actually this does work as advertised. I Had previously made a mistake. I have to build the project from the root.

   mvn clean install

Does it. I would like to know why I get MULTIPLE notifications when mininet connects.

To get rid of the MULTIPLE notifications issue :

     final InstanceIdentifier<Table> instanceIdentifier = InstanceIdentifier.builder(Nodes.class).child(Node.class)
            .augmentation(FlowCapableNode.class).child(Table.class).build();

    //final DataTreeIdentifier<Table> dataTreeIdentifier = new DataTreeIdentifier(LogicalDatastoreType.OPERATIONAL,
    //  instanceIdentifier);
    final DataTreeIdentifier<FlowCapableNode> dataTreeIdentifier = new DataTreeIdentifier(LogicalDatastoreType.OPERATIONAL, getWildcardPath());


    this.dataTreeChangeListenerRegistration = this.dataBroker.registerDataTreeChangeListener(dataTreeIdentifier,
            wakeupListener);