mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-22 12:51:09 +02:00
adding Get by IntentId to LinkResourceService
Change-Id: Ic27daef6e3e55a7d2301f8009432d6c216e1523d
This commit is contained in:
parent
8d9d38f3e9
commit
e7e4bd5825
@ -30,6 +30,8 @@ public interface LinkResourceService {
|
|||||||
*/
|
*/
|
||||||
Iterable<LinkResourceAllocations> getAllocations();
|
Iterable<LinkResourceAllocations> getAllocations();
|
||||||
|
|
||||||
|
LinkResourceAllocations getAllocation(IntentId intentId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all allocated resources to given link.
|
* Returns all allocated resources to given link.
|
||||||
*
|
*
|
||||||
|
@ -47,6 +47,12 @@ public class LinkResourceManager implements LinkResourceService {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public LinkResourceAllocations getAllocation(IntentId intentId) {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Iterable<LinkResourceAllocations> getAllocations(Link link) {
|
public Iterable<LinkResourceAllocations> getAllocations(Link link) {
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user