commit | 9f7d189d061cb05524d759fbda3f9fe022b71ace | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@onlab.us> | Sat May 30 13:22:24 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Jun 01 01:25:52 2015 +0000 |
tree | 76849661acc88ebb0d49d6a966ec88c03edff599 | |
parent | 0ccde6d20cbb4c5e63159a59b417d4343eedb285 [diff] [blame] |
Release resources when intent is withdrawn (ONOS-2048). Create optical circuits using CLI (ONOS-2049). Change-Id: I8e52e698a897b869147afffdc0294956df76aa0c
diff --git a/core/api/src/main/java/org/onosproject/net/resource/device/DeviceResourceStore.java b/core/api/src/main/java/org/onosproject/net/resource/device/DeviceResourceStore.java index c73cab7..31cab02 100644 --- a/core/api/src/main/java/org/onosproject/net/resource/device/DeviceResourceStore.java +++ b/core/api/src/main/java/org/onosproject/net/resource/device/DeviceResourceStore.java
@@ -66,12 +66,11 @@ Set<IntentId> getMapping(IntentId intentId); /** - * Releases the mapping between the given intents. + * Releases the mapping of the given intent. * - * @param keyIntentId key intent ID - * @param valIntentId value intent ID + * @param intentId intent ID */ - void releaseMapping(IntentId keyIntentId, IntentId valIntentId); + void releaseMapping(IntentId intentId); /** * Releases the ports allocated to the given intent.