Toshio Koide

Change method name of LinkResourceService

...@@ -36,7 +36,7 @@ public interface LinkResourceService { ...@@ -36,7 +36,7 @@ public interface LinkResourceService {
36 * @param intentId the target Intent's id 36 * @param intentId the target Intent's id
37 * @return allocated resources for Intent 37 * @return allocated resources for Intent
38 */ 38 */
39 - LinkResourceAllocations getAllocation(IntentId intentId); 39 + LinkResourceAllocations getAllocations(IntentId intentId);
40 40
41 /** 41 /**
42 * Returns all allocated resources to given link. 42 * Returns all allocated resources to given link.
......
...@@ -187,7 +187,7 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn ...@@ -187,7 +187,7 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn
187 187
188 @Override 188 @Override
189 public List<FlowRuleBatchOperation> uninstall(OpticalPathIntent intent) { 189 public List<FlowRuleBatchOperation> uninstall(OpticalPathIntent intent) {
190 - LinkResourceAllocations allocations = resourceService.getAllocation(intent.id()); 190 + LinkResourceAllocations allocations = resourceService.getAllocations(intent.id());
191 191
192 TrafficSelector.Builder selectorBuilder = DefaultTrafficSelector.builder(); 192 TrafficSelector.Builder selectorBuilder = DefaultTrafficSelector.builder();
193 selectorBuilder.matchInport(intent.getSrcConnectPoint().port()); 193 selectorBuilder.matchInport(intent.getSrcConnectPoint().port());
......
...@@ -85,7 +85,7 @@ public class LinkResourceManager implements LinkResourceService { ...@@ -85,7 +85,7 @@ public class LinkResourceManager implements LinkResourceService {
85 } 85 }
86 86
87 @Override 87 @Override
88 - public LinkResourceAllocations getAllocation(IntentId intentId) { 88 + public LinkResourceAllocations getAllocations(IntentId intentId) {
89 // TODO Auto-generated method stub 89 // TODO Auto-generated method stub
90 return null; 90 return null;
91 } 91 }
......