commit | 86160f548c983f550f3aa42fafc919fb8e869e69 | [log] [tgz] |
---|---|---|
author | Toshio Koide <t-koide@onlab.us> | Thu Oct 23 14:59:07 2014 -0700 |
committer | Toshio Koide <t-koide@onlab.us> | Thu Oct 23 14:59:26 2014 -0700 |
tree | 77d48d577e5bfc3d5777a2126780ceb8ea6a1cd2 | |
parent | 5296b328410fb1434f97b993fa9a9ce3efab60d6 [diff] |
Change method name of LinkResourceService
diff --git a/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java b/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java index e7988df..5ae5187 100644 --- a/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java +++ b/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java
@@ -36,7 +36,7 @@ * @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.
diff --git a/core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalPathIntentInstaller.java b/core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalPathIntentInstaller.java index 637ebeb..57ae6dd 100644 --- a/core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalPathIntentInstaller.java +++ b/core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalPathIntentInstaller.java
@@ -187,7 +187,7 @@ @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());
diff --git a/core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java b/core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java index 167f321..ad15f56 100644 --- a/core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java +++ b/core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java
@@ -85,7 +85,7 @@ } @Override - public LinkResourceAllocations getAllocation(IntentId intentId) { + public LinkResourceAllocations getAllocations(IntentId intentId) { // TODO Auto-generated method stub return null; }