public class PathIntentCompiler extends PathCompiler<org.onosproject.net.flow.FlowRule> implements org.onosproject.net.intent.IntentCompiler<org.onosproject.net.intent.PathIntent>, PathCompiler.PathCompilerCreateFlow<org.onosproject.net.flow.FlowRule>
PathCompiler.PathCompilerCreateFlow<T>| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.core.CoreService |
coreService |
protected IntentConfigurableRegistrator |
registrator |
protected org.onosproject.net.resource.ResourceService |
resourceService |
| Constructor and Description |
|---|
PathIntentCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
List<org.onosproject.net.intent.Intent> |
compile(org.onosproject.net.intent.PathIntent intent,
List<org.onosproject.net.intent.Intent> installable) |
void |
createFlow(org.onosproject.net.flow.TrafficSelector originalSelector,
org.onosproject.net.flow.TrafficTreatment originalTreatment,
org.onosproject.net.ConnectPoint ingress,
org.onosproject.net.ConnectPoint egress,
int priority,
boolean applyTreatment,
List<org.onosproject.net.flow.FlowRule> rules,
List<org.onosproject.net.DeviceId> devices) |
void |
deactivate() |
org.slf4j.Logger |
log() |
org.onosproject.net.resource.ResourceService |
resourceService() |
compile@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected IntentConfigurableRegistrator registrator
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.resource.ResourceService resourceService
@Activate public void activate()
@Deactivate public void deactivate()
public List<org.onosproject.net.intent.Intent> compile(org.onosproject.net.intent.PathIntent intent, List<org.onosproject.net.intent.Intent> installable)
compile in interface org.onosproject.net.intent.IntentCompiler<org.onosproject.net.intent.PathIntent>public org.slf4j.Logger log()
log in interface PathCompiler.PathCompilerCreateFlow<org.onosproject.net.flow.FlowRule>public org.onosproject.net.resource.ResourceService resourceService()
resourceService in interface PathCompiler.PathCompilerCreateFlow<org.onosproject.net.flow.FlowRule>public void createFlow(org.onosproject.net.flow.TrafficSelector originalSelector,
org.onosproject.net.flow.TrafficTreatment originalTreatment,
org.onosproject.net.ConnectPoint ingress,
org.onosproject.net.ConnectPoint egress,
int priority,
boolean applyTreatment,
List<org.onosproject.net.flow.FlowRule> rules,
List<org.onosproject.net.DeviceId> devices)
createFlow in interface PathCompiler.PathCompilerCreateFlow<org.onosproject.net.flow.FlowRule>