Committed by
Gerrit Code Review
Fix for ONOS-4675: FLOW ID is not matching with the one added in the ONOS
Change-Id: I1730ec5ae0692651cb774c2b546c31773115676c
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -113,7 +113,7 @@ public class FlowsWebResource extends AbstractWebResource { | ... | @@ -113,7 +113,7 @@ public class FlowsWebResource extends AbstractWebResource { |
113 | rules.forEach(flowRule -> { | 113 | rules.forEach(flowRule -> { |
114 | ObjectNode flowNode = mapper().createObjectNode(); | 114 | ObjectNode flowNode = mapper().createObjectNode(); |
115 | flowNode.put(DEVICE_ID, flowRule.deviceId().toString()) | 115 | flowNode.put(DEVICE_ID, flowRule.deviceId().toString()) |
116 | - .put(FLOW_ID, flowRule.id().value()); | 116 | + .put(FLOW_ID, Long.toString(flowRule.id().value())); |
117 | flowsNode.add(flowNode); | 117 | flowsNode.add(flowNode); |
118 | }); | 118 | }); |
119 | } catch (IOException ex) { | 119 | } catch (IOException ex) { | ... | ... |
-
Please register or login to post a comment