Brian O'Connor | b876bf1 | 2014-10-02 14:59:37 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.intent; |
| 2 | |
tom | 95329eb | 2014-10-06 08:40:06 -0700 | [diff] [blame] | 3 | import org.onlab.onos.net.Link; |
| 4 | |
| 5 | import java.util.Collection; |
| 6 | |
Brian O'Connor | b876bf1 | 2014-10-02 14:59:37 -0700 | [diff] [blame] | 7 | /** |
| 8 | * Abstraction of an intent that can be installed into |
| 9 | * the underlying system without additional compilation. |
| 10 | */ |
| 11 | public interface InstallableIntent extends Intent { |
tom | 95329eb | 2014-10-06 08:40:06 -0700 | [diff] [blame] | 12 | |
| 13 | /** |
| 14 | * Returns the collection of links that are required for this installable |
| 15 | * intent to exist. |
| 16 | * |
| 17 | * @return collection of links |
| 18 | */ |
| 19 | // FIXME: replace this with 'NetworkResource' |
| 20 | Collection<Link> requiredLinks(); |
| 21 | |
Brian O'Connor | b876bf1 | 2014-10-02 14:59:37 -0700 | [diff] [blame] | 22 | } |