Registry module is disabled by default so we can still run ONOS without it trying to connect to zookeeper.
Added a config option to enable it. The option is (currently)
net.floodlightcontroller.mastership.MastershipManager.enableZookeeper = true
diff --git a/src/main/java/net/floodlightcontroller/mastership/RegistryException.java b/src/main/java/net/floodlightcontroller/mastership/RegistryException.java
index 134117c..fcc14a6 100644
--- a/src/main/java/net/floodlightcontroller/mastership/RegistryException.java
+++ b/src/main/java/net/floodlightcontroller/mastership/RegistryException.java
@@ -3,12 +3,13 @@
public class RegistryException extends Exception {
private static final long serialVersionUID = -8276300722010217913L;
-
+
/*
public RegistryException() {
// TODO Auto-generated constructor stub
}
+
public RegistryException(String message) {
super(message);
// TODO Auto-generated constructor stub
@@ -18,17 +19,10 @@
super(cause);
// TODO Auto-generated constructor stub
}
-
+ */
+
public RegistryException(String message, Throwable cause) {
super(message, cause);
- // TODO Auto-generated constructor stub
}
- public RegistryException(String message, Throwable cause,
- boolean enableSuppression, boolean writableStackTrace) {
- super(message, cause, enableSuppression, writableStackTrace);
- // TODO Auto-generated constructor stub
- }
- */
-
}