public interface InitialFlowContributor
Note that flow classes must be pre-registered for the flows that will be provided by the contributor.
ControllerService.registerFlowClass(java.lang.String, java.lang.String, java.lang.String, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>, java.util.Set<com.hp.of.lib.match.OxmFieldType>, java.util.Set<com.hp.of.ctl.prio.FlowClass.ActionClass>)
Modifier and Type | Method and Description |
---|---|
List<OfmFlowMod> |
provideInitialFlows(DataPathInfo info,
boolean isHybrid)
Callback invoked when the controller is about to push initial flows
down to a newly connected datapath.
|
List<OfmFlowMod> provideInitialFlows(DataPathInfo info, boolean isHybrid)
info
- the info for the newly connected datapathisHybrid
- true if the controller is in hybrid modeCopyright © 2015. All Rights Reserved.