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
Marc De Leenheer
2014-10-23 13:54:26 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
09e5f64886859f7b49ed15525bc004a351ab45a9
09e5f648
2 parents
4908775b
55153ce8
Merge branch 'optical-integration' of
ssh://gerrit.onlab.us:29418/onos-next
into optical-integration
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java
core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java
View file @
09e5f64
...
...
@@ -31,6 +31,14 @@ public interface LinkResourceService {
Iterable
<
LinkResourceAllocations
>
getAllocations
();
/**
* Returns the resources allocated for an Intent.
*
* @param intentId the target Intent's id
* @return allocated resources for Intent
*/
LinkResourceAllocations
getAllocation
(
IntentId
intentId
);
/**
* Returns all allocated resources to given link.
*
* @param link a target link
...
...
core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
View file @
09e5f64
...
...
@@ -48,6 +48,12 @@ public class LinkResourceManager implements LinkResourceService {
}
@Override
public
LinkResourceAllocations
getAllocation
(
IntentId
intentId
)
{
// TODO Auto-generated method stub
return
null
;
}
@Override
public
Iterable
<
LinkResourceAllocations
>
getAllocations
(
Link
link
)
{
// TODO Auto-generated method stub
return
null
;
...
...
Please
register
or
login
to post a comment