numam-dpdk/usertools
Ciara Power af927da4d7 usertools: fix telemetry client with python 3
The client script for use with the telemetry library did not support
Python3, as the data being sent over the socket was in string format.
Python3 requires the data be explicitly converted to bytes before being
sent. Similarly, the received bytes need to be decoded into string
format.

Fixes: 53f293c9a7 ("usertools: replace unsafe input function")
Fixes: fe35622659 ("usertools: fix telemetry client with python 3")
Fixes: d1b94da4a4 ("usertools: add client script for telemetry")
Fixes: 4080e46c80 ("telemetry: support global metrics")
Cc: stable@dpdk.org

Signed-off-by: Ciara Power <ciara.power@intel.com>
Reviewed-by: Robin Jarry <robin.jarry@6wind.com>
Acked-by: Kevin Laatz <kevin.laatz@intel.com>
2020-02-16 22:23:20 +01: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: fix syntax warning in python 3.8 2020-02-16 21:59:24 +01: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
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00