use of org.onosproject.net.resource.impl.LabelAllocator in project onos by opennetworkinglab.
the class PathIntentCompiler method activate.
@Activate
public void activate() {
appId = coreService.registerApplication("org.onosproject.net.intent");
registrator.registerCompiler(PathIntent.class, this, false);
labelAllocator = new LabelAllocator(resourceService);
}
use of org.onosproject.net.resource.impl.LabelAllocator in project onos by opennetworkinglab.
the class LinkCollectionIntentFlowObjectiveCompiler method activate.
@Activate
public void activate() {
appId = coreService.registerApplication("org.onosproject.net.intent");
registrator.registerCompiler(LinkCollectionIntent.class, this, true);
if (labelAllocator == null) {
labelAllocator = new LabelAllocator(resourceService);
}
}
use of org.onosproject.net.resource.impl.LabelAllocator in project onos by opennetworkinglab.
the class PathIntentFlowObjectiveCompiler method activate.
@Activate
public void activate() {
appId = coreService.registerApplication("org.onosproject.net.intent");
registrator.registerCompiler(PathIntent.class, this, true);
labelAllocator = new LabelAllocator(resourceService);
}
use of org.onosproject.net.resource.impl.LabelAllocator in project onos by opennetworkinglab.
the class LinkCollectionIntentCompiler method activate.
@Activate
public void activate() {
appId = coreService.registerApplication("org.onosproject.net.intent");
registrator.registerCompiler(LinkCollectionIntent.class, this, false);
if (labelAllocator == null) {
labelAllocator = new LabelAllocator(resourceService);
}
}
Aggregations