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);
-
- boolean isFlowRemovedNotificationOn();
-
- void setGlobalNotificationQuota(long globalNotificationQuota);
-
- void setSwitchFeaturesMandatory(boolean switchFeaturesMandatory);
-
- void setSkipTableFeatures(boolean skipTableFeatures);
-
- void setBarrierCountLimit(int barrierCountLimit);
-
- void setBarrierInterval(long barrierTimeoutLimit);
-
- CheckedFuture<Void, TransactionCommitFailedException> removeDeviceFromOperationalDS(
- DeviceInfo deviceInfo);
-
- CheckedFuture<Void, TransactionCommitFailedException> removeDeviceFromOperationalDS(
- KeyedInstanceIdentifier<Node, NodeKey> ii);
+ ListenableFuture<Void> removeDeviceFromOperationalDS(
+ @Nonnull KeyedInstanceIdentifier<Node, NodeKey> ii);
DeviceContext createContext(@Nonnull ConnectionContext connectionContext);
- long getBarrierIntervalNanos();
- int getBarrierCountLimit();
+ void sendNodeAddedNotification(
+ @Nonnull KeyedInstanceIdentifier<Node, NodeKey> instanceIdentifier);
- void sendNodeAddedNotification(@Nonnull DeviceInfo deviceInfo);
+ void sendNodeRemovedNotification(
+ @Nonnull KeyedInstanceIdentifier<Node, NodeKey> instanceIdentifier);
}