Interface PathComputationService

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

    @Generated("mdsal-binding-generator")
    public interface PathComputationService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module path-computation
     rpc get-constrained-path {
       input input {
         leaf graph-name {
           type string;
         }
         leaf source {
           type uint64;
         }
         leaf destination {
           type uint64;
         }
         container constraints {
           uses path-constraints;
         }
         leaf algorithm {
           type algorithm-type;
         }
       }
       output output {
         uses path-descriptions;
         leaf status {
           type computation-status;
         }
         leaf computed-metric {
           type uint32;
         }
         leaf computed-te-metric {
           type uint32;
         }
         leaf computed-delay {
           type gr:delay;
         }
       }
     }
     
    • Method Detail

      • getConstrainedPath

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetConstrainedPathOutput>> getConstrainedPath​(GetConstrainedPathInput input)
        Invoke get-constrained-path RPC.
        Parameters:
        input - of get-constrained-path
        Returns:
        output of get-constrained-path