From 8a908569f4e8e19e7f03f08f97d0704f9ca46cc9 Mon Sep 17 00:00:00 2001 From: Anil Vishnoi Date: Tue, 22 Sep 2015 01:52:42 +0530 Subject: [PATCH] Enable remote notification for southbound plugin (cherry picked from commit 01f0737be6abacaf56721731f6a19dcb13e291f0) Change-Id: Ida036244f3861e4d07437b49179bbf2851a212a5 Signed-off-by: Anil Vishnoi --- .../opendaylight/ovsdb/southbound/OvsdbDataChangeListener.java | 3 ++- .../org/opendaylight/ovsdb/southbound/SouthboundProvider.java | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbDataChangeListener.java b/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbDataChangeListener.java index 434ef04aa..4db986d96 100644 --- a/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbDataChangeListener.java +++ b/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbDataChangeListener.java @@ -15,6 +15,7 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import org.opendaylight.controller.md.sal.binding.api.ClusteredDataChangeListener; import org.opendaylight.controller.md.sal.binding.api.DataBroker; import org.opendaylight.controller.md.sal.binding.api.DataChangeListener; import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker.DataChangeScope; @@ -42,7 +43,7 @@ import com.google.common.base.Preconditions; import com.google.common.base.Predicates; import com.google.common.collect.Maps; -public class OvsdbDataChangeListener implements DataChangeListener, AutoCloseable { +public class OvsdbDataChangeListener implements ClusteredDataChangeListener, AutoCloseable { private ListenerRegistration registration; private OvsdbConnectionManager cm; diff --git a/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java b/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java index abb9a627a..4729102b0 100644 --- a/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java +++ b/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java @@ -9,7 +9,6 @@ package org.opendaylight.ovsdb.southbound; import org.opendaylight.controller.md.sal.binding.api.DataBroker; import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction; -import org.opendaylight.controller.md.sal.common.api.clustering.CandidateAlreadyRegisteredException; import org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService; import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType; import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException; -- 2.36.6