From 960bd8ce4800f41d547ea01a2c7a7fdf995656cc Mon Sep 17 00:00:00 2001 From: Sho SHIMIZU Date: Wed, 22 Jul 2015 13:04:32 -0700 Subject: [PATCH] Register DefaultResource/DefaultResourceAllocation to Kryo Change-Id: I5065c414089d1ad5ab843e8ec59614dd1e91c6d5 --- .../org/onosproject/store/serializers/KryoNamespaces.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java b/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java index 6784ab36c8..874b23f41e 100644 --- a/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java +++ b/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java @@ -158,6 +158,8 @@ import org.onosproject.net.intent.constraint.LinkTypeConstraint; import org.onosproject.net.intent.constraint.ObstacleConstraint; import org.onosproject.net.intent.constraint.WaypointConstraint; import org.onosproject.net.link.DefaultLinkDescription; +import org.onosproject.net.newresource.DefaultResource; +import org.onosproject.net.newresource.DefaultResourceAllocation; import org.onosproject.net.packet.DefaultOutboundPacket; import org.onosproject.net.packet.DefaultPacketRequest; import org.onosproject.net.packet.PacketPriority; @@ -398,6 +400,8 @@ public final class KryoNamespaces { DefaultLinkResourceAllocations.class, BandwidthResourceAllocation.class, LambdaResourceAllocation.class, + DefaultResource.class, + DefaultResourceAllocation.class, // Constraints LambdaConstraint.class, BandwidthConstraint.class,