Interface IdManagerService
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
- All Known Implementing Classes:
IdManager
@Generated("mdsal-binding-generator") public interface IdManagerService extends org.opendaylight.yangtools.yang.binding.RpcService
Interface for implementing the following YANG RPCs defined in module id-managerrpc createIdPool { input input { leaf pool-name { type string; } leaf low { type uint32; } leaf high { type uint32; } } } rpc deleteIdPool { input input { leaf pool-name { type string; } } } rpc allocateId { input input { leaf pool-name { type string; } leaf id-key { type string; } } output output { leaf id-value { type uint32; } } } rpc releaseId { input input { leaf pool-name { type string; } leaf id-key { type string; } } output output { leaf-list id-values { type uint32; ordered-by user; } } } rpc allocateIdRange { input input { leaf pool-name { type string; } leaf id-key { type string; } leaf size { type uint32; } } output output { leaf-list id-values { type uint32; ordered-by user; } } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AllocateIdOutput>>
allocateId(AllocateIdInput input)
InvokeallocateId
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AllocateIdRangeOutput>>
allocateIdRange(AllocateIdRangeInput input)
InvokeallocateIdRange
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateIdPoolOutput>>
createIdPool(CreateIdPoolInput input)
InvokecreateIdPool
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteIdPoolOutput>>
deleteIdPool(DeleteIdPoolInput input)
InvokedeleteIdPool
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReleaseIdOutput>>
releaseId(ReleaseIdInput input)
InvokereleaseId
RPC.
-
-
-
Method Detail
-
createIdPool
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateIdPoolOutput>> createIdPool(CreateIdPoolInput input)
InvokecreateIdPool
RPC.- Parameters:
input
- ofcreateIdPool
- Returns:
- output of
createIdPool
-
deleteIdPool
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteIdPoolOutput>> deleteIdPool(DeleteIdPoolInput input)
InvokedeleteIdPool
RPC.- Parameters:
input
- ofdeleteIdPool
- Returns:
- output of
deleteIdPool
-
allocateId
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AllocateIdOutput>> allocateId(AllocateIdInput input)
InvokeallocateId
RPC.- Parameters:
input
- ofallocateId
- Returns:
- output of
allocateId
-
releaseId
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReleaseIdOutput>> releaseId(ReleaseIdInput input)
InvokereleaseId
RPC.- Parameters:
input
- ofreleaseId
- Returns:
- output of
releaseId
-
allocateIdRange
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AllocateIdRangeOutput>> allocateIdRange(AllocateIdRangeInput input)
InvokeallocateIdRange
RPC.- Parameters:
input
- ofallocateIdRange
- Returns:
- output of
allocateIdRange
-
-