package org.opendaylight.openflowplugin.api.openflow.device;
import com.google.common.util.concurrent.CheckedFuture;
+import com.google.common.util.concurrent.ListenableFuture;
import javax.annotation.Nonnull;
import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
import org.opendaylight.openflowplugin.api.openflow.OFPManager;
*/
void initialize();
- void setFlowRemovedNotificationOn(boolean value);
+ ListenableFuture<Void> removeDeviceFromOperationalDS(
+ @Nonnull KeyedInstanceIdentifier<Node, NodeKey> ii);
- boolean isFlowRemovedNotificationOn();
+ DeviceContext createContext(@Nonnull ConnectionContext connectionContext);
- void setGlobalNotificationQuota(long globalNotificationQuota);
- void setSwitchFeaturesMandatory(boolean switchFeaturesMandatory);
+ void sendNodeAddedNotification(
+ @Nonnull KeyedInstanceIdentifier<Node, NodeKey> instanceIdentifier);
- void setSkipTableFeatures(boolean skipTableFeatures);
-
- void setBarrierCountLimit(int barrierCountLimit);
-
- void setBarrierInterval(long barrierTimeoutLimit);
-
- CheckedFuture<Void, TransactionCommitFailedException> removeDeviceFromOperationalDS(DeviceInfo deviceInfo);
-
- CheckedFuture<Void, TransactionCommitFailedException> removeDeviceFromOperationalDS(final KeyedInstanceIdentifier<Node, NodeKey> ii);
-
- DeviceContext createContext(@Nonnull final ConnectionContext connectionContext);
-
- long getBarrierIntervalNanos();
-
- int getBarrierCountLimit();
-
- void sendNodeAddedNotification(@Nonnull final DeviceInfo deviceInfo);
+ void sendNodeRemovedNotification(
+ @Nonnull KeyedInstanceIdentifier<Node, NodeKey> instanceIdentifier);
}