Added Match type to KryoNamespaces.MISC
Change-Id: I0ed11bd33f21aa4a955f32c22c68041589c1b912
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -19,6 +19,7 @@ import com.google.common.collect.ImmutableList; | ... | @@ -19,6 +19,7 @@ import com.google.common.collect.ImmutableList; |
19 | import com.google.common.collect.ImmutableMap; | 19 | import com.google.common.collect.ImmutableMap; |
20 | import com.google.common.collect.ImmutableSet; | 20 | import com.google.common.collect.ImmutableSet; |
21 | import com.google.common.collect.Maps; | 21 | import com.google.common.collect.Maps; |
22 | + | ||
22 | import org.onlab.packet.ChassisId; | 23 | import org.onlab.packet.ChassisId; |
23 | import org.onlab.packet.EthType; | 24 | import org.onlab.packet.EthType; |
24 | import org.onlab.packet.Ip4Address; | 25 | import org.onlab.packet.Ip4Address; |
... | @@ -33,6 +34,7 @@ import org.onlab.packet.VlanId; | ... | @@ -33,6 +34,7 @@ import org.onlab.packet.VlanId; |
33 | import org.onlab.util.Bandwidth; | 34 | import org.onlab.util.Bandwidth; |
34 | import org.onlab.util.Frequency; | 35 | import org.onlab.util.Frequency; |
35 | import org.onlab.util.KryoNamespace; | 36 | import org.onlab.util.KryoNamespace; |
37 | +import org.onlab.util.Match; | ||
36 | import org.onosproject.app.ApplicationState; | 38 | import org.onosproject.app.ApplicationState; |
37 | import org.onosproject.cluster.ControllerNode; | 39 | import org.onosproject.cluster.ControllerNode; |
38 | import org.onosproject.cluster.DefaultControllerNode; | 40 | import org.onosproject.cluster.DefaultControllerNode; |
... | @@ -270,6 +272,7 @@ public final class KryoNamespaces { | ... | @@ -270,6 +272,7 @@ public final class KryoNamespaces { |
270 | .register(new Ip4AddressSerializer(), Ip4Address.class) | 272 | .register(new Ip4AddressSerializer(), Ip4Address.class) |
271 | .register(new Ip6AddressSerializer(), Ip6Address.class) | 273 | .register(new Ip6AddressSerializer(), Ip6Address.class) |
272 | .register(new MacAddressSerializer(), MacAddress.class) | 274 | .register(new MacAddressSerializer(), MacAddress.class) |
275 | + .register(Match.class) | ||
273 | .register(VlanId.class) | 276 | .register(VlanId.class) |
274 | .register(Frequency.class) | 277 | .register(Frequency.class) |
275 | .register(Bandwidth.class) | 278 | .register(Bandwidth.class) | ... | ... |
-
Please register or login to post a comment