Merge "Report (TCP) port number for switches"
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / DeviceContext.java
index 1e7e15b7ebbeeaa8d60aa98da7f7cfe5af6f36c9..e0c936a4408fbada7e660b663234545329c321e8 100644 (file)
@@ -10,7 +10,6 @@ package org.opendaylight.openflowplugin.api.openflow.device;
 
 import com.google.common.util.concurrent.ListenableFuture;
 import io.netty.util.Timeout;
-import java.math.BigInteger;
 import java.util.List;
 import javax.annotation.Nonnull;
 import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
@@ -48,23 +47,6 @@ public interface DeviceContext extends
         RequestContextStack,
         ContextChainStateListener {
 
-    /**
-     * Method close all auxiliary connections and primary connection.
-     */
-    void shutdownConnection();
-
-    /**
-     * Method add auxiliary connection contexts to this context representing single device connection.
-     * @param connectionContext new connection context
-     */
-    void addAuxiliaryConnectionContext(ConnectionContext connectionContext);
-
-    /**
-     * Method removes auxiliary connection context from this context representing single device connection.
-     * @param connectionContext connection which need to be removed
-     */
-    void removeAuxiliaryConnectionContext(ConnectionContext connectionContext);
-
     /**
      * Method provides state of device represented by this device context.
      *
@@ -72,25 +54,12 @@ public interface DeviceContext extends
      */
     DeviceState getDeviceState();
 
-    /**
-     * Method has to close TxManager ASAP we are notified about Closed Connection.
-     * @return sync. future for Slave and MD-SAL completition for Master
-     */
-    ListenableFuture<Void> shuttingDownDataStoreTransactions();
-
     /**
      * Getter.
      * @return current devices connection context
      */
     ConnectionContext getPrimaryConnectionContext();
 
-    /**
-     * Getter.
-     * @return current devices auxiliary connection contexts
-     */
-    ConnectionContext getAuxiliaryConnectionContexts(BigInteger cookie);
-
-
     /**
      * Getter.
      * @return translator library
@@ -133,8 +102,6 @@ public interface DeviceContext extends
 
     void setSwitchFeaturesMandatory(boolean switchFeaturesMandatory);
 
-    boolean isSkipTableFeatures();
-
     /**
      * Setter for sal role service.
      * @param salRoleService Role Service