commit | ec07ffd40383049867d05c6f410c9d820f090d5e | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Mon Feb 22 20:45:21 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Mar 24 22:54:08 2016 +0000 |
tree | a32c5d4958132e693637eb182d30a1468a160549 | |
parent | 990688b8933b63b618b6cd6d3340e9b3d68cde02 [diff] [blame] |
Remove dependency on LinkResourceAllocaations from IntentCompiler This change breaks backward compatibility of IntentCompier API Change-Id: I471d0e28d97c2379f66d980d3176f89022c3a470
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/SinglePointToMultiPointIntentCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/SinglePointToMultiPointIntentCompiler.java index 5656590..10449be 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/SinglePointToMultiPointIntentCompiler.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/SinglePointToMultiPointIntentCompiler.java
@@ -26,7 +26,6 @@ import org.onosproject.net.intent.LinkCollectionIntent; import org.onosproject.net.intent.SinglePointToMultiPointIntent; import org.onosproject.net.provider.ProviderId; -import org.onosproject.net.resource.link.LinkResourceAllocations; import java.util.Collections; import java.util.HashSet; @@ -55,8 +54,7 @@ @Override public List<Intent> compile(SinglePointToMultiPointIntent intent, - List<Intent> installable, - Set<LinkResourceAllocations> resources) { + List<Intent> installable) { Set<Link> links = new HashSet<>(); for (ConnectPoint egressPoint : intent.egressPoints()) {