* Update the Flow Entry Switch State in the Network MAP to
"FE_SWITCH_UPDATED" for flow entries that are successfully
installed to "local" switches.
* Minor API refactoring to accomodate some of the changes:
Now the caller explicitly calls installFlowEntry()
or installRemoteFlowEntry() for Flow Entries that are to
be installed on "local" or "remote" switch.
diff --git a/src/main/java/net/onrc/onos/flow/IFlowManager.java b/src/main/java/net/onrc/onos/flow/IFlowManager.java
index 8394046..cd9cd3c 100644
--- a/src/main/java/net/onrc/onos/flow/IFlowManager.java
+++ b/src/main/java/net/onrc/onos/flow/IFlowManager.java
@@ -83,24 +83,20 @@
/**
* Install a Flow Entry on a switch.
*
- * @param mySwitches the DPID-to-Switch mapping for the switches
- * controlled by this controller.
+ * @param mySwitch the switch to install the Flow Entry into.
* @param flowEntry the flow entry to install.
* @return true on success, otherwise false.
*/
- public boolean installFlowEntry(Map<Long, IOFSwitch> mySwitches,
- FlowEntry flowEntry);
+ public boolean installFlowEntry(IOFSwitch mySwitch, FlowEntry flowEntry);
/**
* Remove a Flow Entry from a switch.
*
- * @param mySwitches the DPID-to-Switch mapping for the switches
- * controlled by this controller.
+ * @param mySwitch the switch to remove the Flow Entry from.
* @param flowEntry the flow entry to remove.
* @return true on success, otherwise false.
*/
- public boolean removeFlowEntry(Map<Long, IOFSwitch> mySwitches,
- FlowEntry flowEntry);
+ public boolean removeFlowEntry(IOFSwitch mySwitch, FlowEntry flowEntry);
/**
* Install a Flow Entry on a remote controller.