Interface IdManagerService

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.RpcService
    All Known Implementing Classes:
    IdManager

    public interface IdManagerService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module id-manager
     rpc 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 Detail

      • createIdPool

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateIdPoolOutput>> createIdPool​(CreateIdPoolInput input)
      • deleteIdPool

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteIdPoolOutput>> deleteIdPool​(DeleteIdPoolInput input)
      • allocateId

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AllocateIdOutput>> allocateId​(AllocateIdInput input)
      • releaseId

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReleaseIdOutput>> releaseId​(ReleaseIdInput input)
      • allocateIdRange

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AllocateIdRangeOutput>> allocateIdRange​(AllocateIdRangeInput input)