X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=vpnservice.git;a=blobdiff_plain;f=idmanager%2Fidmanager-api%2Fsrc%2Fmain%2Fyang%2Fid-manager.yang;h=79bd2ffa5ec3c78438f42b2f5ab82c1fba1a8e9f;hp=45bdcf2028a2c6bcfdc4e63efa0e492890cea9a2;hb=d0a26533fa70b9c50ba3d374ab4f32d522a5234d;hpb=2a851a36e61acb26eb0b72a9103e823d86f66a47 diff --git a/idmanager/idmanager-api/src/main/yang/id-manager.yang b/idmanager/idmanager-api/src/main/yang/id-manager.yang index 45bdcf20..79bd2ffa 100644 --- a/idmanager/idmanager-api/src/main/yang/id-manager.yang +++ b/idmanager/idmanager-api/src/main/yang/id-manager.yang @@ -1,4 +1,4 @@ -module odl-id-manager { +module id-manager { namespace "urn:opendaylight:vpnservice:idmanager"; prefix idmgr; @@ -6,39 +6,38 @@ module odl-id-manager { description "ID generator and manager Service module"; } - 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; } - } - } + 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 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; } + } + } }