public class PointToPointIntentCompiler extends ConnectivityIntentCompiler<org.onosproject.net.intent.PointToPointIntent>
PointToPointIntent.ConnectivityIntentCompiler.ConstraintBasedLinkWeight| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_COST |
protected org.onosproject.net.device.DeviceService |
deviceService |
protected boolean |
eraseBackup |
protected boolean |
erasePrimary |
protected org.onosproject.net.group.GroupService |
groupService |
protected org.onosproject.net.link.LinkService |
linkService |
protected static int |
PRIORITY |
intentManager, pathService, resourceService| Constructor and Description |
|---|
PointToPointIntentCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
List<org.onosproject.net.intent.Intent> |
compile(org.onosproject.net.intent.PointToPointIntent intent,
List<org.onosproject.net.intent.Intent> installable) |
void |
deactivate() |
static org.onosproject.net.group.GroupKey |
makeGroupKey(org.onosproject.net.intent.IntentId intentId)
Creates group key unique to each intent.
|
checkPath, getDisjointPath, getPath, weightpublic static final int DEFAULT_COST
protected static final int PRIORITY
protected boolean erasePrimary
protected boolean eraseBackup
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.group.GroupService groupService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.link.LinkService linkService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceService deviceService
@Activate public void activate()
@Deactivate public void deactivate()
public List<org.onosproject.net.intent.Intent> compile(org.onosproject.net.intent.PointToPointIntent intent, List<org.onosproject.net.intent.Intent> installable)
public static org.onosproject.net.group.GroupKey makeGroupKey(org.onosproject.net.intent.IntentId intentId)