Interface PcepTopologyStatsRpcService

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

    public interface PcepTopologyStatsRpcService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module pcep-topology-stats-rpc
     rpc get-stats {
       input input {
         list topology {
           key topology-id;
           leaf topology-id {
             type nt:topology-id;
           }
           list node {
             key node-id;
             leaf node-id {
               type nt:node-id;
             }
           }
         }
       }
       output output {
         list topology {
           key topology-id;
           leaf topology-id {
             type nt:topology-id;
           }
           list node {
             key node-id;
             leaf node-id {
               type nt:node-id;
             }
             uses pss:pcep-session-state-grouping;
           }
         }
       }
     }
     
    • Method Detail

      • getStats

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatsOutput>> getStats​(GetStatsInput input)
        Fetch PCEP session statistics for given PCEP topology and node. If topology and/or node details are absent, statistics for all nodes under the context are returned.