Yuta HIGUCHI

register some Intent related classes

Change-Id: I71ec0c7db930ffb9a1f2bc3da7c3de2f598ee5ee
...@@ -31,7 +31,9 @@ import org.onlab.onos.mastership.MastershipTerm; ...@@ -31,7 +31,9 @@ import org.onlab.onos.mastership.MastershipTerm;
31 import org.onlab.onos.net.ConnectPoint; 31 import org.onlab.onos.net.ConnectPoint;
32 import org.onlab.onos.net.DefaultAnnotations; 32 import org.onlab.onos.net.DefaultAnnotations;
33 import org.onlab.onos.net.DefaultDevice; 33 import org.onlab.onos.net.DefaultDevice;
34 +import org.onlab.onos.net.DefaultEdgeLink;
34 import org.onlab.onos.net.DefaultLink; 35 import org.onlab.onos.net.DefaultLink;
36 +import org.onlab.onos.net.DefaultPath;
35 import org.onlab.onos.net.DefaultPort; 37 import org.onlab.onos.net.DefaultPort;
36 import org.onlab.onos.net.Device; 38 import org.onlab.onos.net.Device;
37 import org.onlab.onos.net.DeviceId; 39 import org.onlab.onos.net.DeviceId;
...@@ -59,6 +61,14 @@ import org.onlab.onos.net.flow.criteria.Criterion; ...@@ -59,6 +61,14 @@ import org.onlab.onos.net.flow.criteria.Criterion;
59 import org.onlab.onos.net.flow.instructions.Instructions; 61 import org.onlab.onos.net.flow.instructions.Instructions;
60 import org.onlab.onos.net.host.DefaultHostDescription; 62 import org.onlab.onos.net.host.DefaultHostDescription;
61 import org.onlab.onos.net.host.HostDescription; 63 import org.onlab.onos.net.host.HostDescription;
64 +import org.onlab.onos.net.intent.ConnectivityIntent;
65 +import org.onlab.onos.net.intent.HostToHostIntent;
66 +import org.onlab.onos.net.intent.Intent;
67 +import org.onlab.onos.net.intent.IntentId;
68 +import org.onlab.onos.net.intent.IntentState;
69 +import org.onlab.onos.net.intent.MultiPointToSinglePointIntent;
70 +import org.onlab.onos.net.intent.PathIntent;
71 +import org.onlab.onos.net.intent.PointToPointIntent;
62 import org.onlab.onos.net.link.DefaultLinkDescription; 72 import org.onlab.onos.net.link.DefaultLinkDescription;
63 import org.onlab.onos.net.provider.ProviderId; 73 import org.onlab.onos.net.provider.ProviderId;
64 import org.onlab.onos.store.Timestamp; 74 import org.onlab.onos.store.Timestamp;
...@@ -143,7 +153,17 @@ public final class KryoNamespaces { ...@@ -143,7 +153,17 @@ public final class KryoNamespaces {
143 FlowRuleBatchOperation.class, 153 FlowRuleBatchOperation.class,
144 CompletedBatchOperation.class, 154 CompletedBatchOperation.class,
145 FlowRuleBatchEntry.class, 155 FlowRuleBatchEntry.class,
146 - FlowRuleBatchEntry.FlowRuleOperation.class 156 + FlowRuleBatchEntry.FlowRuleOperation.class,
157 + IntentId.class,
158 + IntentState.class,
159 + Intent.class,
160 + ConnectivityIntent.class,
161 + PathIntent.class,
162 + DefaultPath.class,
163 + DefaultEdgeLink.class,
164 + HostToHostIntent.class,
165 + PointToPointIntent.class,
166 + MultiPointToSinglePointIntent.class
147 ) 167 )
148 .register(DefaultApplicationId.class, new DefaultApplicationIdSerializer()) 168 .register(DefaultApplicationId.class, new DefaultApplicationIdSerializer())
149 .register(URI.class, new URISerializer()) 169 .register(URI.class, new URISerializer())
......