net.floodlightcontroller.flowcache
Interface IFlowReconcileListener
- All Superinterfaces:
- IListener<OFType>
- All Known Implementing Classes:
- DeviceManagerImpl, PortDownReconciliation
public interface IFlowReconcileListener
- extends IListener<OFType>
The Interface IFlowReconciler.
- Author:
- subrata
reconcileFlows
IListener.Command reconcileFlows(java.util.ArrayList<OFMatchReconcile> ofmRcList)
- Given an input OFMatch, this method applies the policy of the reconciler
and returns a the same input OFMatch structure modified. Additional
OFMatches, if needed, are returned in OFMatch-list. All the OFMatches
are assumed to have "PERMIT" action.
- Parameters:
ofmRcList
- input flow matches, to be updated to be consistent with
the policies of this reconciler
Additional OFMatch-es can be added to the "list" as
needed.
For example after a new ACL application, one flow-match
may result in multiple flow-matches
The method must also update the ReconcileAction
member in ofmRcList entries to indicate if the
flow needs to be modified, deleted or left unchanged
OR of a new entry is to be added after flow
reconciliation
- Returns:
- Command.CONTINUE if the OFMatch should be sent to the
next flow reconciler.
Command.STOP if the OFMatch shouldn't be processed
further. In this case the no reconciled flow-mods would
be programmed