HA cache sync for switch manager
[controller.git] / opendaylight / switchmanager / api / src / main / java / org / opendaylight / controller / switchmanager / SwitchConfig.java
index 778310e07ff6a4d7879ed8e26e33cf7e9976901b..c595c43e5bc48cf05d5f8b26e38d6289c915a092 100644 (file)
@@ -47,9 +47,9 @@ public class SwitchConfig implements Serializable {
     }
 
     public boolean isProactive() {
-       return Integer.parseInt(mode) != 0;
+        return Integer.parseInt(mode) != 0;
     }
-    
+
     public static long getSerialversionuid() {
         return serialVersionUID;
     }
@@ -97,4 +97,10 @@ public class SwitchConfig implements Serializable {
             return false;
         return true;
     }
+
+    @Override
+    public String toString() {
+        return ("SwitchConfig [Node=" + nodeId + ", Description=" + description +
+                ", Tier=" + tier + ", Mode=" + mode + "]");
+    }
 }