numam-dpdk/usertools
Bruce Richardson 6a2967c112 usertools: add new telemetry script
This patch adds a python script that can be used with the new telemetry
socket. It connects as a client to the socket, and allows the user send
a command and see the JSON response.

The example usage below shows the script connecting to the new telemetry
socket, and sending three default telemetry commands entered by the user.
The response for each command is shown below the user input.

Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2
{"version": "DPDK 20.05.0-rc0", "pid": 32794, "max_output_len": 16384}
--> /
{"/": ["/", "/help", "/info"]}
--> /info
{"/info": {"version": "DPDK 20.05.0-rc0", "pid": 32794, \
    "max_output_len": 16384}}
--> /help,/info
{"/help": {"/info": "Returns DPDK Telemetry information. \
    Takes no parameters"}}

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Ciara Power <ciara.power@intel.com>
Reviewed-by: Keith Wiles <keith.wiles@intel.com>
2020-05-10 23:56:47 +02:00
..
cpu_layout.py usertools: change to SPDX license identifier 2018-04-11 01:48:12 +02:00
dpdk-devbind.py usertools: fix device binding module detection 2019-11-27 00:00:24 +01:00
dpdk-pmdinfo.py usertools: check for pci.ids in /usr/share/misc 2020-04-25 21:59:10 +02:00
dpdk-setup.sh usertools: add baseband device binding 2019-07-04 23:44:58 +02:00
dpdk-telemetry-client.py usertools: fix telemetry client with python 3 2020-02-16 22:23:20 +01:00
dpdk-telemetry.py usertools: add new telemetry script 2020-05-10 23:56:47 +02:00
meson.build usertools: add new telemetry script 2020-05-10 23:56:47 +02:00