Toshio Koide

Change method name of LinkResourceService

......@@ -36,7 +36,7 @@ public interface LinkResourceService {
* @param intentId the target Intent's id
* @return allocated resources for Intent
*/
LinkResourceAllocations getAllocation(IntentId intentId);
LinkResourceAllocations getAllocations(IntentId intentId);
/**
* Returns all allocated resources to given link.
......
......@@ -187,7 +187,7 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn
@Override
public List<FlowRuleBatchOperation> uninstall(OpticalPathIntent intent) {
LinkResourceAllocations allocations = resourceService.getAllocation(intent.id());
LinkResourceAllocations allocations = resourceService.getAllocations(intent.id());
TrafficSelector.Builder selectorBuilder = DefaultTrafficSelector.builder();
selectorBuilder.matchInport(intent.getSrcConnectPoint().port());
......
......@@ -85,7 +85,7 @@ public class LinkResourceManager implements LinkResourceService {
}
@Override
public LinkResourceAllocations getAllocation(IntentId intentId) {
public LinkResourceAllocations getAllocations(IntentId intentId) {
// TODO Auto-generated method stub
return null;
}
......