Committed by
Gerrit Code Review
Add flow objective related classes into KryoNamespaces
Change-Id: Ide9e6ab3108c1ad1d6701f1308ed72c282c20693
Showing
1 changed file
with
16 additions
and
1 deletions
... | @@ -147,6 +147,13 @@ import org.onosproject.net.flow.instructions.L1ModificationInstruction; | ... | @@ -147,6 +147,13 @@ import org.onosproject.net.flow.instructions.L1ModificationInstruction; |
147 | import org.onosproject.net.flow.instructions.L2ModificationInstruction; | 147 | import org.onosproject.net.flow.instructions.L2ModificationInstruction; |
148 | import org.onosproject.net.flow.instructions.L3ModificationInstruction; | 148 | import org.onosproject.net.flow.instructions.L3ModificationInstruction; |
149 | import org.onosproject.net.flow.instructions.L4ModificationInstruction; | 149 | import org.onosproject.net.flow.instructions.L4ModificationInstruction; |
150 | +import org.onosproject.net.flowobjective.DefaultFilteringObjective; | ||
151 | +import org.onosproject.net.flowobjective.DefaultForwardingObjective; | ||
152 | +import org.onosproject.net.flowobjective.DefaultNextObjective; | ||
153 | +import org.onosproject.net.flowobjective.FilteringObjective; | ||
154 | +import org.onosproject.net.flowobjective.ForwardingObjective; | ||
155 | +import org.onosproject.net.flowobjective.NextObjective; | ||
156 | +import org.onosproject.net.flowobjective.Objective; | ||
150 | import org.onosproject.net.host.DefaultHostDescription; | 157 | import org.onosproject.net.host.DefaultHostDescription; |
151 | import org.onosproject.net.host.HostDescription; | 158 | import org.onosproject.net.host.HostDescription; |
152 | import org.onosproject.net.intent.ConnectivityIntent; | 159 | import org.onosproject.net.intent.ConnectivityIntent; |
... | @@ -446,7 +453,15 @@ public final class KryoNamespaces { | ... | @@ -446,7 +453,15 @@ public final class KryoNamespaces { |
446 | DefaultPortStatistics.class, | 453 | DefaultPortStatistics.class, |
447 | IntentDomainId.class, | 454 | IntentDomainId.class, |
448 | TableStatisticsEntry.class, | 455 | TableStatisticsEntry.class, |
449 | - DefaultTableStatisticsEntry.class | 456 | + DefaultTableStatisticsEntry.class, |
457 | + // Flow Objectives | ||
458 | + DefaultForwardingObjective.class, | ||
459 | + ForwardingObjective.Flag.class, | ||
460 | + DefaultFilteringObjective.class, | ||
461 | + FilteringObjective.Type.class, | ||
462 | + DefaultNextObjective.class, | ||
463 | + NextObjective.Type.class, | ||
464 | + Objective.Operation.class | ||
450 | ) | 465 | ) |
451 | .register(new DefaultApplicationIdSerializer(), DefaultApplicationId.class) | 466 | .register(new DefaultApplicationIdSerializer(), DefaultApplicationId.class) |
452 | .register(new UriSerializer(), URI.class) | 467 | .register(new UriSerializer(), URI.class) | ... | ... |
-
Please register or login to post a comment