Use the FlowPath Type to decide which Flow should be maintained by
ONOS (i.e., for shortest path re-computation), and remove the
overloading of the DataPathSummary string for the purpose
of deciding whether the path should be maintained by ONOS.
diff --git a/src/test/java/net/onrc/onos/ofcontroller/flowmanager/FlowManagerTest.java b/src/test/java/net/onrc/onos/ofcontroller/flowmanager/FlowManagerTest.java
index 820ad05..3e61119 100644
--- a/src/test/java/net/onrc/onos/ofcontroller/flowmanager/FlowManagerTest.java
+++ b/src/test/java/net/onrc/onos/ofcontroller/flowmanager/FlowManagerTest.java
@@ -159,7 +159,7 @@
replayAll();
fm.init(context);
- Boolean result = fm.addFlow(flowPath, flowId, "");
+ Boolean result = fm.addFlow(flowPath, flowId);
// verify the test
verifyAll();
@@ -167,7 +167,7 @@
}
/**
- * Test method for {@link FlowManager#addFlow(FlowPath, FlowId, String)}.
+ * Test method for {@link FlowManager#addFlow(FlowPath, FlowId)}.
* @throws Exception
*/
@Test
@@ -228,7 +228,7 @@
replayAll();
fm.init(context);
- Boolean result = fm.addFlow(flowPath, new FlowId(0x100), "data path summary");
+ Boolean result = fm.addFlow(flowPath, new FlowId(0x100));
// verify the test
verifyAll();