ID's are made in sync with openflow specification. Flow/Group/Table/Port/Queue/Meter...
[controller.git] / opendaylight / md-sal / compatibility / flow-management-compatibility / src / main / java / org / opendaylight / controller / md / frm / compatibility / SampleConsumer.java
index a82eedc3f95156c0980e7f5ce580faf6a16387c8..2fbe0a02025bbff6afc0eb020fa59fb6587dcc50 100644 (file)
@@ -31,7 +31,7 @@ public class SampleConsumer {
 
     Flow createSampleFlow(String name, NodeRef node) {
         FlowBuilder ret = new FlowBuilder();
-        FlowKey key = new FlowKey(name, node);
+        FlowKey key = new FlowKey(Long.parseLong(name), node);
         ret.setKey(key);
         return ret.build();
     }