Toshio Koide | 485b478 | 2014-10-20 19:34:21 -0700 | [diff] [blame^] | 1 | package org.onlab.onos.net.resource; |
| 2 | |
| 3 | import java.util.Collection; |
| 4 | import java.util.Set; |
| 5 | |
| 6 | import org.onlab.onos.net.Link; |
| 7 | import org.onlab.onos.net.intent.IntentId; |
| 8 | |
| 9 | /** |
| 10 | * Representation of a request for link resource. |
| 11 | */ |
| 12 | public interface LinkResourceRequest extends ResourceRequest { |
| 13 | |
| 14 | /** |
| 15 | * Returns the {@link IntentId} associated with the request. |
| 16 | * |
| 17 | * @return the {@link IntentId} associated with the request |
| 18 | */ |
| 19 | IntentId intendId(); |
| 20 | |
| 21 | /** |
| 22 | * Returns the set of target links. |
| 23 | * |
| 24 | * @return the set of target links |
| 25 | */ |
| 26 | Collection<Link> links(); |
| 27 | |
| 28 | /** |
| 29 | * Returns the set of resource requests. |
| 30 | * |
| 31 | * @return the set of resource requests |
| 32 | */ |
| 33 | Set<ResourceRequest> resources(); |
| 34 | } |