Brian O'Connor
Committed by Ray Milkey

Adding FlowRuleIntent to kryo (ONOS-1384)

Change-Id: Ica6cb24d95d7bcd3cce8d18074c96cb1c25b2f21
......@@ -61,6 +61,14 @@ public class FlowRuleIntent extends Intent {
}
/**
* Constructor for serializer.
*/
protected FlowRuleIntent() {
super();
this.flowRules = null;
}
/**
* Returns a collection of flow rules to be set.
*
* @return a collection of flow rules
......
......@@ -80,6 +80,7 @@ import org.onosproject.net.flow.instructions.L3ModificationInstruction;
import org.onosproject.net.host.DefaultHostDescription;
import org.onosproject.net.host.HostDescription;
import org.onosproject.net.intent.ConnectivityIntent;
import org.onosproject.net.intent.FlowRuleIntent;
import org.onosproject.net.intent.HostToHostIntent;
import org.onosproject.net.intent.Intent;
import org.onosproject.net.intent.IntentId;
......@@ -295,6 +296,7 @@ public final class KryoNamespaces {
PointToPointIntent.class,
MultiPointToSinglePointIntent.class,
SinglePointToMultiPointIntent.class,
FlowRuleIntent.class,
LinkCollectionIntent.class,
OpticalConnectivityIntent.class,
OpticalPathIntent.class,
......