commit | 8abe717b14c8dc146d6cdff616bc0e87b5173d18 | [log] [tgz] |
---|---|---|
author | Nick Karanatsios <nick@onlab.us> | Wed Feb 19 20:31:48 2014 -0800 |
committer | Gerrit Code Review <gerrit2@onos-services> | Wed Feb 19 23:49:20 2014 -0800 |
tree | f9c8ba039155b282fcd32c36f4f440380c55dda9 | |
parent | 018d5332fe16d271af5d9dd86d7d23ab45289fae [diff] [blame] |
add persistance of intents to ramcloud Change-Id: I9a8b5886cf57da0621dc92e341d46c53d252528a
diff --git a/src/main/java/net/onrc/onos/registry/controller/IControllerRegistryService.java b/src/main/java/net/onrc/onos/registry/controller/IControllerRegistryService.java old mode 100644 new mode 100755 index 33ba272..576eed4 --- a/src/main/java/net/onrc/onos/registry/controller/IControllerRegistryService.java +++ b/src/main/java/net/onrc/onos/registry/controller/IControllerRegistryService.java
@@ -116,6 +116,15 @@ */ public Collection<Long> getSwitchesControlledByController(String controllerId); + /** + * Get + * @return + */ public IdBlock allocateUniqueIdBlock(); + + /** + * Get next unique id and retrieve a new range of ids if needed. + */ + public IdBlock allocateUniqueIdBlock(long range); }