Bug-835 - Reserve Ports should be logical ports
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / ModelDrivenSwitch.java
index 6afef5a729252be479c3a12523ef573bd704612a..06350308b4de6155d356c02204179c2dc55bc012 100644 (file)
@@ -8,6 +8,7 @@
 package org.opendaylight.openflowplugin.openflow.md;
 
 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
+import org.opendaylight.openflowplugin.openflow.md.core.session.SessionContext;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.statistics.rev130819.OpendaylightFlowStatisticsService;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.table.statistics.rev131215.OpendaylightFlowTableStatisticsService;
@@ -54,4 +55,10 @@ public interface ModelDrivenSwitch extends //
      * @return id of encapsulated node (served by this impl)
      */
     NodeId getNodeId();
+
+    /**
+     * returnes the session context associated with this model-driven switch
+     * @return session context object
+     */
+    SessionContext getSessionContext();
 }