Toshio Koide | 485b478 | 2014-10-20 19:34:21 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.resource; |
2 | |||||
3 | import org.onlab.onos.net.Link; | ||||
4 | |||||
5 | /** | ||||
6 | * Representation of allocated link resources. | ||||
7 | */ | ||||
8 | public interface LinkResourceAllocations extends LinkResourceRequest { | ||||
9 | /** | ||||
10 | * Returns allocated resource for the given link. | ||||
11 | * | ||||
12 | * @param link the target link | ||||
13 | * @return allocated resource for the link | ||||
14 | */ | ||||
15 | ResourceAllocation getResourceAllocation(Link link); | ||||
16 | } |