Move stats caching to FM StatisticsManager
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / reader / FlowOnNode.java
index 6466177ecdce792d245d59b467f4af980e768662..163d04b3ffc253ed028d25b8a8d70686c82b325e 100644 (file)
@@ -9,6 +9,8 @@
 
 package org.opendaylight.controller.sal.reader;
 
+import java.io.Serializable;
+
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
@@ -23,7 +25,9 @@ import org.opendaylight.controller.sal.flowprogrammer.Flow;
 
 @XmlRootElement (name="FlowStat")
 @XmlAccessorType(XmlAccessType.NONE)
-public class FlowOnNode {
+public class FlowOnNode implements Serializable{
+    private static final long serialVersionUID = 1L;
+
     @XmlElement
     private Flow flow; // Flow descriptor
     @XmlElement