commit | e97ede9548353f75343599cbef70bd325256249c | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Thu Nov 20 10:43:12 2014 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Nov 25 21:52:58 2014 +0000 |
tree | 9b4b541111550f978fa3f0ebd6832c74fff853ec | |
parent | 2f1583342cca4707382d626d26273aa7826639d1 [diff] [blame] |
ONOS-239 Retrigger compilation when new resources are available When an intent is withdrawn and frees up resources, trigger recompilation of any failed intents to allow the ones waiting for resources to be installed. Change-Id: Ic15678378ce41516a7eab890b4b4898aeb901f78
diff --git a/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceStore.java b/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceStore.java index 59d1e19..85ee89c 100644 --- a/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceStore.java +++ b/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceStore.java
@@ -44,7 +44,7 @@ * * @param allocations resources to be released */ - void releaseResources(LinkResourceAllocations allocations); + LinkResourceEvent releaseResources(LinkResourceAllocations allocations); /** * Returns resources allocated for an Intent.