Marc De Leenheer

Merge branch 'optical-integration' of ssh://gerrit.onlab.us:29418/onos-next into optical-integration

......@@ -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
......
......@@ -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;
......