Modifier and Type | Method and Description |
---|---|
void |
addFlowReconcileListener(IFlowReconcileListener listener)
Add a flow reconcile listener
|
void |
clearFlowReconcileListeners()
Remove all flow reconcile listeners
|
void |
flowQueryGenericHandler(FlowCacheQueryResp flowResp)
Generic flow query handler to insert FlowMods into the reconcile pipeline.
|
void |
reconcileFlow(OFMatchReconcile ofmRcIn)
Reconcile flow.
|
void |
removeFlowReconcileListener(IFlowReconcileListener listener)
Remove a flow reconcile listener
|
void |
updateFlowForDestinationDevice(IDevice device,
IFlowQueryHandler handler,
IFlowCacheService.FCQueryEvType fcEvType)
Updates the flows to a device after the device moved to a new location
Queries the flow-cache to get all the flows destined to the given device.
|
void |
updateFlowForSourceDevice(IDevice device,
IFlowQueryHandler handler,
IFlowCacheService.FCQueryEvType fcEvType)
Updates the flows from a device
Queries the flow-cache to get all the flows source from the given device.
|
void addFlowReconcileListener(IFlowReconcileListener listener)
listener
- The module that can reconcile flowsvoid removeFlowReconcileListener(IFlowReconcileListener listener)
listener
- The module that no longer reconcile flowsvoid clearFlowReconcileListeners()
void reconcileFlow(OFMatchReconcile ofmRcIn)
ofmRcIn
- the ofm rc invoid updateFlowForDestinationDevice(IDevice device, IFlowQueryHandler handler, IFlowCacheService.FCQueryEvType fcEvType)
Queries the flow-cache to get all the flows destined to the given device. Reconciles each of these flows by potentially reprogramming them to its new attachment point
device
- device that has movedhandler
- handler to process the flowsfcEvType
- Event type that triggered the updatevoid updateFlowForSourceDevice(IDevice device, IFlowQueryHandler handler, IFlowCacheService.FCQueryEvType fcEvType)
Queries the flow-cache to get all the flows source from the given device. Reconciles each of these flows by potentially reprogramming them to its new attachment point
device
- device where the flow originateshandler
- handler to process the flowsfcEvType
- Event type that triggered the updatevoid flowQueryGenericHandler(FlowCacheQueryResp flowResp)
flowResp
-