Jayasree Ghosh
Committed by Gerrit Code Review

Fix for ONOS-4675: FLOW ID is not matching with the one added in the ONOS

Change-Id: I1730ec5ae0692651cb774c2b546c31773115676c
...@@ -126,7 +126,7 @@ public class FlowsWebResource extends AbstractWebResource { ...@@ -126,7 +126,7 @@ public class FlowsWebResource extends AbstractWebResource {
126 rules.forEach(flowRule -> { 126 rules.forEach(flowRule -> {
127 ObjectNode flowNode = mapper().createObjectNode(); 127 ObjectNode flowNode = mapper().createObjectNode();
128 flowNode.put(DEVICE_ID, flowRule.deviceId().toString()) 128 flowNode.put(DEVICE_ID, flowRule.deviceId().toString())
129 - .put(FLOW_ID, flowRule.id().value()); 129 + .put(FLOW_ID, Long.toString(flowRule.id().value()));
130 flowsNode.add(flowNode); 130 flowsNode.add(flowNode);
131 }); 131 });
132 } catch (IOException ex) { 132 } catch (IOException ex) {
......