From 01cb1a90d68ca149488deebf2e2b8b61a852bccb Mon Sep 17 00:00:00 2001 From: Marc De Leenheer Date: Wed, 13 May 2015 09:23:44 -0700 Subject: [PATCH] Fix exception for optical port descriptions (ONOS-1908) Change-Id: I8868bf3c9c36bb731171cd64623d0f86a56f1299 --- .../org/onosproject/store/serializers/KryoNamespaces.java | 6 ++++++ 1 file changed, 6 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 ed1a498f79..01b66bdc4f 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 @@ -70,6 +70,9 @@ import org.onosproject.net.Port; import org.onosproject.net.PortNumber; import org.onosproject.net.device.DefaultDeviceDescription; import org.onosproject.net.device.DefaultPortDescription; +import org.onosproject.net.device.OchPortDescription; +import org.onosproject.net.device.OduCltPortDescription; +import org.onosproject.net.device.OmsPortDescription; import org.onosproject.net.flow.CompletedBatchOperation; import org.onosproject.net.flow.DefaultFlowEntry; import org.onosproject.net.flow.DefaultFlowRule; @@ -401,6 +404,9 @@ public final class KryoNamespaces { .register(OduCltPort.SignalType.class) .register(IndexedLambda.class) .register(OchSignal.class) + .register(OduCltPortDescription.class) + .register(OchPortDescription.class) + .register(OmsPortDescription.class) .register( MplsIntent.class, MplsPathIntent.class,