Bug-2827: role switch proposal
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / session / OFSessionUtil.java
index 763804ee033961688d44af7f804a35789a19e52a..d7d0e6761effc9f8d59e0613f634264d24208500 100644 (file)
@@ -182,4 +182,11 @@ public abstract class OFSessionUtil {
         return getSessionManager().getExtensionConverterProvider();
     }
 
+    /**
+     * @return collection of all sessions
+     */
+    public static Collection<SessionContext> getAllSessions() {
+        return getSessionManager().getAllSessions();
+    }
+
 }