ISSUE
[controller.git] / opendaylight / switchmanager / src / main / java / org / opendaylight / controller / switchmanager / SwitchConfig.java
index 550ca69e7dd0fc21465e025c22678a5fea149bb2..758a99b8b083c9ded59ebe7457d3337b81a2f72d 100644 (file)
@@ -49,6 +49,10 @@ public class SwitchConfig implements Serializable {
         return mode;
     }
 
+    public boolean isProactive() {
+       return Integer.parseInt(mode) != 0;
+    }
+    
     public static long getSerialversionuid() {
         return serialVersionUID;
     }