Interface OpendaylightDirectStatisticsService

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

    public interface OpendaylightDirectStatisticsService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module opendaylight-direct-statistics
     rpc get-flow-statistics {
       input input {
         uses stats-input-common-grouping;
         uses flow-types:flow;
       }
       output output {
         uses flowstat:flow-and-statistics-map-list;
       }
     }
     rpc get-group-statistics {
       input input {
         uses stats-input-common-grouping;
         leaf group-id {
           type group-types:group-id;
         }
       }
       output output {
         uses group-types:group-statistics-reply;
       }
     }
     rpc get-meter-statistics {
       input input {
         uses stats-input-common-grouping;
         leaf meter-id {
           type meter-types:meter-id;
         }
       }
       output output {
         uses meter-types:meter-statistics-reply;
       }
     }
     rpc get-node-connector-statistics {
       input input {
         uses stats-input-common-grouping;
         leaf node-connector-id {
           type inv:node-connector-id;
         }
       }
       output output {
         uses portstat:node-connector-statistics-and-port-number-map;
       }
     }
     rpc get-queue-statistics {
       input input {
         uses stats-input-common-grouping;
         leaf node-connector-id {
           type inv:node-connector-id;
         }
         leaf queue-id {
           type queue-types:queue-id;
         }
       }
       output output {
         uses queuestat:queue-id-and-statistics-map;
       }
     }
     
    • Method Detail

      • getFlowStatistics

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFlowStatisticsOutput>> getFlowStatistics​(GetFlowStatisticsInput input)
        Get statistics for given flow
      • getGroupStatistics

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetGroupStatisticsOutput>> getGroupStatistics​(GetGroupStatisticsInput input)
        Get statistics for given group
      • getMeterStatistics

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMeterStatisticsOutput>> getMeterStatistics​(GetMeterStatisticsInput input)
        Get statistics for given meter
      • getQueueStatistics

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetQueueStatisticsOutput>> getQueueStatistics​(GetQueueStatisticsInput input)
        Get statistics for given queues from given port of the node