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 | */ |
Toshio Koide | fa0dff6 | 2014-10-23 11:46:44 -0700 | [diff] [blame^] | 8 | public interface LinkResourceAllocations { |
Toshio Koide | 485b478 | 2014-10-20 19:34:21 -0700 | [diff] [blame] | 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 | } |