mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-15 17:31:31 +02:00
Fix: resolve nicira extension serialization issue
Change-Id: I65e71abb957f12f34c168fa102e9d9d512bcf907
This commit is contained in:
parent
ed7340c7c2
commit
ba1e75ac74
@ -24,6 +24,7 @@ import org.onosproject.net.flow.instructions.ExtensionTreatment;
|
||||
import org.onosproject.net.flow.instructions.ExtensionTreatmentType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
@ -39,7 +40,11 @@ public class NiciraCt extends AbstractExtension implements ExtensionTreatment {
|
||||
private short recircTable;
|
||||
private int alg;
|
||||
private List<ExtensionTreatment> nestedActions;
|
||||
private final KryoNamespace appKryo = new KryoNamespace.Builder().build();
|
||||
private final KryoNamespace appKryo = new KryoNamespace.Builder()
|
||||
.register(HashMap.class)
|
||||
.register(ArrayList.class)
|
||||
.register(ExtensionTreatment.class)
|
||||
.build();
|
||||
|
||||
/**
|
||||
* Creates a new nicicra ct instruction.
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
package org.onosproject.driver.extensions;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
@ -35,7 +36,9 @@ public class NiciraMatchCtMark extends AbstractExtension implements ExtensionSel
|
||||
private long ctMark;
|
||||
private long ctMarkMask;
|
||||
|
||||
private final KryoNamespace appKryo = new KryoNamespace.Builder().build();
|
||||
private final KryoNamespace appKryo = new KryoNamespace.Builder()
|
||||
.register(HashMap.class)
|
||||
.build();
|
||||
|
||||
/**
|
||||
* Creates a new conntrack mark selector.
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
package org.onosproject.driver.extensions;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
@ -34,7 +35,9 @@ public class NiciraMatchCtState extends AbstractExtension implements ExtensionSe
|
||||
private long ctState;
|
||||
private long ctStateMask;
|
||||
|
||||
private final KryoNamespace appKryo = new KryoNamespace.Builder().build();
|
||||
private final KryoNamespace appKryo = new KryoNamespace.Builder()
|
||||
.register(HashMap.class)
|
||||
.build();
|
||||
|
||||
/**
|
||||
* Creates a new conntrack state selector.
|
||||
|
Loading…
x
Reference in New Issue
Block a user