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-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)
        Invoke createIdPool RPC.
        Parameters:
        input - of createIdPool
        Returns:
        output of createIdPool
      • deleteIdPool

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteIdPoolOutput>> deleteIdPool​(DeleteIdPoolInput input)
        Invoke deleteIdPool RPC.
        Parameters:
        input - of deleteIdPool
        Returns:
        output of deleteIdPool
      • allocateId

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AllocateIdOutput>> allocateId​(AllocateIdInput input)
        Invoke allocateId RPC.
        Parameters:
        input - of allocateId
        Returns:
        output of allocateId
      • releaseId

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReleaseIdOutput>> releaseId​(ReleaseIdInput input)
        Invoke releaseId RPC.
        Parameters:
        input - of releaseId
        Returns:
        output of releaseId
      • allocateIdRange

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AllocateIdRangeOutput>> allocateIdRange​(AllocateIdRangeInput input)
        Invoke allocateIdRange RPC.
        Parameters:
        input - of allocateIdRange
        Returns:
        output of allocateIdRange