1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
5 #ifndef _RTE_TELEMETRY_PARSER_TEST_H_
6 #define _RTE_TELEMETRY_PARSER_TEST_H_
9 rte_telemetry_parser_test(struct telemetry_impl *telemetry);
12 rte_telemetry_format_port_stat_ids(int *port_ids, int num_port_ids,
13 const char * const stat_names, int num_stat_names, json_t **data);
16 rte_telemetry_create_json_request(int action, char *command,
17 const char *client_path, int *port_ids, int num_port_ids,
18 const char * const stat_names, int num_stat_names, char **request,
22 rte_telemetry_send_get_ports_and_stats_request(struct telemetry_impl *telemetry,
23 int action_choice, char *command_choice, int inv_choice);
26 rte_telemetry_send_get_ports_details_request(struct telemetry_impl *telemetry,
27 int action_choice, int *port_ids, int num_port_ids, int inv_choice);
30 rte_telemetry_send_stats_values_by_name_request(struct telemetry_impl
31 *telemetry, int action_choice, int *port_ids, int num_port_ids,
32 const char * const stat_names, int num_stat_names,
36 rte_telemetry_send_unreg_request(int action_choice, const char *client_path,