commit | f3931708f0990cae1522b4769078f6b271c6789f | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Fri Feb 28 01:53:19 2014 -0800 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Fri Feb 28 01:53:19 2014 -0800 |
tree | a63b3e04b296bfa21a4302816bfeb2ed9da32496 | |
parent | 93797dcdaf4dc1987a417125713e13bb0dba6d3b [diff] |
Add a hack to remove 'F' from the Flow ID when the Flows are not routable. Change-Id: I47eca8af403b7a848158455268a9c56fb7c6fadd
diff --git a/src/main/java/net/onrc/onos/datagrid/web/GetNGFlowsSummaryResource.java b/src/main/java/net/onrc/onos/datagrid/web/GetNGFlowsSummaryResource.java index 5879f3b..0eed16c 100644 --- a/src/main/java/net/onrc/onos/datagrid/web/GetNGFlowsSummaryResource.java +++ b/src/main/java/net/onrc/onos/datagrid/web/GetNGFlowsSummaryResource.java
@@ -69,6 +69,8 @@ // Decode the Shortest Path ID String applnIntentId = parentIntent.getId(); String intentId = applnIntentId.split(":")[1]; + // A hack for Flow IDs that are not routable + intentId.replace("F", ""); // Create the Flow Path FlowId flowId = new FlowId(intentId);