package org.opendaylight.openflowplugin.api.openflow.device;
import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.api.NotificationService;
import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceConnectedHandler;
import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceDisconnectedHandler;
import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceInitializationPhaseHandler;
import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceLifecycleSupervisor;
import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceTerminationPhaseHandler;
import org.opendaylight.openflowplugin.api.openflow.translator.TranslatorLibrarian;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId;
/**
* This interface is responsible for instantiating DeviceContext and
* Returning device context from map maintained in device manager
* This prevent to send whole device context to another context
* If device context not exists for nodeId it will return null
- * @param nodeId
- * @return device context or null
+ *
+ * @param deviceInfo@return device context or null
*/
- DeviceContext getDeviceContextFromNodeId(NodeId nodeId);
+ DeviceContext getDeviceContextFromNodeId(DeviceInfo deviceInfo);
void setStatisticsRpcEnabled(boolean isStatisticsRpcEnabled);
}