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
......@@ -113,7 +113,7 @@ public class FlowsWebResource extends AbstractWebResource {
rules.forEach(flowRule -> {
ObjectNode flowNode = mapper().createObjectNode();
flowNode.put(DEVICE_ID, flowRule.deviceId().toString())
.put(FLOW_ID, flowRule.id().value());
.put(FLOW_ID, Long.toString(flowRule.id().value()));
flowsNode.add(flowNode);
});
} catch (IOException ex) {
......