Signed-off-by: Dimple Jain <dimple.jain@ericsson.com>
Change-Id: Id6b80c7ec1fbc148a6fa3baa2acdc0f799506a5f
description "ID generator and manager Service module";
}
description "ID generator and manager Service module";
}
-
- list id-pool {
- key "pool-name";
- leaf id-start { type uint32; }
- leaf pool-size { type uint64; }
- leaf pool-name { type string; }
- list generated-ids {
- key "id-key";
- leaf id-key { type string; }
- leaf id-value { type uint32; }
- }
+ container pools {
+ description
+ "id pool instances";
+ config false;
+ list id-pool {
+ key "pool-name";
+ leaf id-start { type uint32;}
+ leaf pool-size { type uint64;}
+ leaf pool-name { type string;}
+ list generated-ids {
+ key "id-key";
+ leaf id-key { type string;}
+ leaf id-value { type uint32;}
+ }
+ }
-
- rpc createIdPool {
- input {
- leaf pool-name { type string; }
- leaf id-start { type uint32; }
- leaf pool-size { type uint64; }
- }
- }
-
- rpc getUniqueId {
- input {
- leaf pool-name { type string; }
- leaf id-key {type string; }
- }
- output {
- leaf id-value { type uint32; }
- }
- }
-
+
+ rpc createIdPool {
+ input {
+ leaf pool-name { type string; }
+ leaf id-start { type uint32; }
+ leaf pool-size { type uint64; }
+ }
+ }
+
+ rpc getUniqueId {
+ input {
+ leaf pool-name { type string; }
+ leaf id-key {type string; }
+ }
+ output {
+ leaf id-value { type uint32; }
+ }
+ }
+
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.vpnservice</groupId>
+ <artifactId>idmanager-api</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </dependency>
</dependencies>
<build>
<plugins>
</dependencies>
<build>
<plugins>