register more flow related classes
Change-Id: I812285c26ab12ca84458492c929b2fd48ca97480
Showing
1 changed file
with
18 additions
and
1 deletions
... | @@ -27,7 +27,11 @@ import org.onlab.onos.net.device.DefaultDeviceDescription; | ... | @@ -27,7 +27,11 @@ import org.onlab.onos.net.device.DefaultDeviceDescription; |
27 | import org.onlab.onos.net.device.DefaultPortDescription; | 27 | import org.onlab.onos.net.device.DefaultPortDescription; |
28 | import org.onlab.onos.net.flow.DefaultFlowRule; | 28 | import org.onlab.onos.net.flow.DefaultFlowRule; |
29 | import org.onlab.onos.net.flow.DefaultTrafficSelector; | 29 | import org.onlab.onos.net.flow.DefaultTrafficSelector; |
30 | +import org.onlab.onos.net.flow.DefaultTrafficTreatment; | ||
30 | import org.onlab.onos.net.flow.FlowId; | 31 | import org.onlab.onos.net.flow.FlowId; |
32 | +import org.onlab.onos.net.flow.criteria.Criteria; | ||
33 | +import org.onlab.onos.net.flow.criteria.Criterion; | ||
34 | +import org.onlab.onos.net.flow.instructions.Instructions; | ||
31 | import org.onlab.onos.net.host.DefaultHostDescription; | 35 | import org.onlab.onos.net.host.DefaultHostDescription; |
32 | import org.onlab.onos.net.host.HostDescription; | 36 | import org.onlab.onos.net.host.HostDescription; |
33 | import org.onlab.onos.net.link.DefaultLinkDescription; | 37 | import org.onlab.onos.net.link.DefaultLinkDescription; |
... | @@ -90,7 +94,20 @@ public final class KryoNamespaces { | ... | @@ -90,7 +94,20 @@ public final class KryoNamespaces { |
90 | DefaultHostDescription.class, | 94 | DefaultHostDescription.class, |
91 | DefaultFlowRule.class, | 95 | DefaultFlowRule.class, |
92 | FlowId.class, | 96 | FlowId.class, |
93 | - DefaultTrafficSelector.class | 97 | + DefaultTrafficSelector.class, |
98 | + Criteria.PortCriterion.class, | ||
99 | + Criteria.EthCriterion.class, | ||
100 | + Criteria.EthTypeCriterion.class, | ||
101 | + Criteria.IPCriterion.class, | ||
102 | + Criteria.IPProtocolCriterion.class, | ||
103 | + Criteria.VlanIdCriterion.class, | ||
104 | + Criteria.VlanPcpCriterion.class, | ||
105 | + Criteria.TcpPortCriterion.class, | ||
106 | + Criterion.class, | ||
107 | + Criterion.Type.class, | ||
108 | + DefaultTrafficTreatment.class, | ||
109 | + Instructions.DropInstruction.class, | ||
110 | + Instructions.OutputInstruction.class | ||
94 | ) | 111 | ) |
95 | .register(URI.class, new URISerializer()) | 112 | .register(URI.class, new URISerializer()) |
96 | .register(NodeId.class, new NodeIdSerializer()) | 113 | .register(NodeId.class, new NodeIdSerializer()) | ... | ... |
-
Please register or login to post a comment