commit | 2d7c65f39c87d3701de5eed58baf6d9af2610f05 | [log] [tgz] |
---|---|---|
author | tom <tom@onlab.us> | Tue Sep 23 01:09:35 2014 -0700 |
committer | tom <tom@onlab.us> | Tue Sep 23 01:09:35 2014 -0700 |
tree | d626a765511fa4838d6476254738ff3c2681f64f | |
parent | e4729875d72c977a001f6b5eb43453c28800230a [diff] |
Added an initial sketch of a distributed cluster store.
diff --git a/core/api/src/main/java/org/onlab/onos/cluster/DefaultControllerNode.java b/core/api/src/main/java/org/onlab/onos/cluster/DefaultControllerNode.java index 9735fdb..86ea14c 100644 --- a/core/api/src/main/java/org/onlab/onos/cluster/DefaultControllerNode.java +++ b/core/api/src/main/java/org/onlab/onos/cluster/DefaultControllerNode.java
@@ -14,6 +14,12 @@ private final NodeId id; private final IpPrefix ip; + // For serialization + private DefaultControllerNode() { + this.id = null; + this.ip = null; + } + /** * Creates a new instance with the specified id and IP address. *