Committed by
Gerrit Code Review
Fix exception for optical port descriptions (ONOS-1908)
Change-Id: I8868bf3c9c36bb731171cd64623d0f86a56f1299
Showing
1 changed file
with
6 additions
and
0 deletions
| ... | @@ -70,6 +70,9 @@ import org.onosproject.net.Port; | ... | @@ -70,6 +70,9 @@ import org.onosproject.net.Port; |
| 70 | import org.onosproject.net.PortNumber; | 70 | import org.onosproject.net.PortNumber; |
| 71 | import org.onosproject.net.device.DefaultDeviceDescription; | 71 | import org.onosproject.net.device.DefaultDeviceDescription; |
| 72 | import org.onosproject.net.device.DefaultPortDescription; | 72 | import org.onosproject.net.device.DefaultPortDescription; |
| 73 | +import org.onosproject.net.device.OchPortDescription; | ||
| 74 | +import org.onosproject.net.device.OduCltPortDescription; | ||
| 75 | +import org.onosproject.net.device.OmsPortDescription; | ||
| 73 | import org.onosproject.net.flow.CompletedBatchOperation; | 76 | import org.onosproject.net.flow.CompletedBatchOperation; |
| 74 | import org.onosproject.net.flow.DefaultFlowEntry; | 77 | import org.onosproject.net.flow.DefaultFlowEntry; |
| 75 | import org.onosproject.net.flow.DefaultFlowRule; | 78 | import org.onosproject.net.flow.DefaultFlowRule; |
| ... | @@ -401,6 +404,9 @@ public final class KryoNamespaces { | ... | @@ -401,6 +404,9 @@ public final class KryoNamespaces { |
| 401 | .register(OduCltPort.SignalType.class) | 404 | .register(OduCltPort.SignalType.class) |
| 402 | .register(IndexedLambda.class) | 405 | .register(IndexedLambda.class) |
| 403 | .register(OchSignal.class) | 406 | .register(OchSignal.class) |
| 407 | + .register(OduCltPortDescription.class) | ||
| 408 | + .register(OchPortDescription.class) | ||
| 409 | + .register(OmsPortDescription.class) | ||
| 404 | .register( | 410 | .register( |
| 405 | MplsIntent.class, | 411 | MplsIntent.class, |
| 406 | MplsPathIntent.class, | 412 | MplsPathIntent.class, | ... | ... |
-
Please register or login to post a comment