Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Toshio Koide
2014-10-23 14:59:07 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
86160f548c983f550f3aa42fafc919fb8e869e69
86160f54
1 parent
5296b328
Change method name of LinkResourceService
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java
core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalPathIntentInstaller.java
core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java
core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java
View file @
86160f5
...
...
@@ -36,7 +36,7 @@ public interface LinkResourceService {
* @param intentId the target Intent's id
* @return allocated resources for Intent
*/
LinkResourceAllocations
getAllocation
(
IntentId
intentId
);
LinkResourceAllocations
getAllocation
s
(
IntentId
intentId
);
/**
* Returns all allocated resources to given link.
...
...
core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalPathIntentInstaller.java
View file @
86160f5
...
...
@@ -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
.
getAllocation
s
(
intent
.
id
());
TrafficSelector
.
Builder
selectorBuilder
=
DefaultTrafficSelector
.
builder
();
selectorBuilder
.
matchInport
(
intent
.
getSrcConnectPoint
().
port
());
...
...
core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java
View file @
86160f5
...
...
@@ -85,7 +85,7 @@ public class LinkResourceManager implements LinkResourceService {
}
@Override
public
LinkResourceAllocations
getAllocation
(
IntentId
intentId
)
{
public
LinkResourceAllocations
getAllocation
s
(
IntentId
intentId
)
{
// TODO Auto-generated method stub
return
null
;
}
...
...
Please
register
or
login
to post a comment