* Implement method FlowManager::reconcileFlows()
Note: for simplicity, we don't compare the old and the new paths,
because it is error-prone.
Instead, we delete all old flow entries, and add the new flow entries,
even if some of those entries haven't changed.
In the future we should perform the appropriate comparison.
* Change addAndMaintainShortestPathFlow() to return the computed
(shortest) flow path.
diff --git a/src/main/java/net/onrc/onos/flow/IFlowManager.java b/src/main/java/net/onrc/onos/flow/IFlowManager.java
index d7ac371..8394046 100644
--- a/src/main/java/net/onrc/onos/flow/IFlowManager.java
+++ b/src/main/java/net/onrc/onos/flow/IFlowManager.java
@@ -41,14 +41,11 @@
public Iterable<FlowPath> getFlows(IPortObject port);
/**
- * Reconcile all flows on inactive port (src port of link which might be
- * broken).
+ * Reconcile all flows on inactive switch port.
*
- * TODO: We need it now: Pavlin
- *
- * @param src_port the port that has become inactive.
+ * @param portObject the port that has become inactive.
*/
- public void reconcileFlows(IPortObject src_port);
+ public void reconcileFlows(IPortObject portObject);
/**
* Reconcile all flows between a source and a destination port.