blob: 09b70f12d92633295cdc3d5ba07f0fff785fa894 [file] [log] [blame]
Nicolas Palpacuer0f19b1a2018-06-07 17:29:31 -04001#ifndef OPENOLT_STATS_COLLECTION_H_
2#define OPENOLT_STATS_COLLECTION_H_
3
4#include <openolt.grpc.pb.h>
5
6extern "C"
7{
8#include <bal_model_types.h>
9}
10
Shad Ansariedef2132018-08-10 22:14:50 +000011void init_stats();
Nicolas Palpacuer0f19b1a2018-06-07 17:29:31 -040012void stop_collecting_statistics();
13openolt::PortStatistics* get_default_port_statistics();
Nicolas Palpacuer6a63ea92018-09-05 17:21:37 -040014openolt::PortStatistics* collectPortStatistics(bcmbal_interface_key key);
Shad Ansaricb004c52018-05-30 18:07:23 +000015#if 0
Nicolas Palpacuer0f19b1a2018-06-07 17:29:31 -040016openolt::FlowStatistics* get_default_flow_statistics();
17openolt::FlowStatistics* collectFlowStatistics(bcmbal_flow_id flow_id, bcmbal_flow_type flow_type);
Nicolas Palpacuer0f19b1a2018-06-07 17:29:31 -040018void register_new_flow(bcmbal_flow_key key);
Nicolas Palpacuer6a63ea92018-09-05 17:21:37 -040019#endif
Nicolas Palpacuer0f19b1a2018-06-07 17:29:31 -040020
21
22#endif