Committed by
Gerrit Code Review
Fix serializer exception while using optical intent on distributed store
Change-Id: If19a0c12eb0d88d2daa57c16fb1b626b7c0f428f
Showing
2 changed files
with
5 additions
and
1 deletions
... | @@ -225,6 +225,9 @@ public final class KryoNamespaces { | ... | @@ -225,6 +225,9 @@ public final class KryoNamespaces { |
225 | Criteria.VlanIdCriterion.class, | 225 | Criteria.VlanIdCriterion.class, |
226 | Criteria.VlanPcpCriterion.class, | 226 | Criteria.VlanPcpCriterion.class, |
227 | Criteria.TcpPortCriterion.class, | 227 | Criteria.TcpPortCriterion.class, |
228 | + Criteria.OpticalSignalTypeCriterion.class, | ||
229 | + Criteria.LambdaCriterion.class, | ||
230 | + Criteria.MplsCriterion.class, | ||
228 | Criterion.class, | 231 | Criterion.class, |
229 | Criterion.Type.class, | 232 | Criterion.Type.class, |
230 | DefaultTrafficTreatment.class, | 233 | DefaultTrafficTreatment.class, | ... | ... |
... | @@ -177,7 +177,8 @@ public class FlowEntryBuilder { | ... | @@ -177,7 +177,8 @@ public class FlowEntryBuilder { |
177 | break; | 177 | break; |
178 | case EXPERIMENTER: | 178 | case EXPERIMENTER: |
179 | OFActionExperimenter exp = (OFActionExperimenter) act; | 179 | OFActionExperimenter exp = (OFActionExperimenter) act; |
180 | - if (exp.getExperimenter() == 0x80005A06) { | 180 | + if (exp.getExperimenter() == 0x80005A06 || |
181 | + exp.getExperimenter() == 0x748771) { | ||
181 | OFActionCircuit ct = (OFActionCircuit) exp; | 182 | OFActionCircuit ct = (OFActionCircuit) exp; |
182 | builder.setLambda(((OFOxmOchSigidBasic) ct.getField()).getValue().getChannelNumber()); | 183 | builder.setLambda(((OFOxmOchSigidBasic) ct.getField()).getValue().getChannelNumber()); |
183 | } else { | 184 | } else { | ... | ... |
-
Please register or login to post a comment