[dpdk-dev] [PATCH v2] usertools: fix telemetry python3 compatibility

Thomas Monjalon thomas at monjalon.net
Sun Feb 16 22:25:19 CET 2020


24/01/2020 11:11, Laatz, Kevin:
> > 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. Similarily, the received bytes need to be decoded into string
> > format.
> > 
> > Fixes: 53f293c9a783 ("usertools: replace unsafe input function")
> > Fixes: fe35622659ed ("usertools: fix telemetry client with python 3")
> > Fixes: d1b94da4a4e0 ("usertools: add client script for telemetry")
> > Fixes: 4080e46c8078 ("telemetry: support global metrics")
> > Cc: andrius.sirvys at intel.com
> > Cc: robin.jarry at 6wind.com
> > Cc: reshma.pattan at intel.com
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Ciara Power <ciara.power at intel.com>
> > Reviewed-by: Robin Jarry <robin.jarry at 6wind.com>
> > 
> <snip>
> 
> Acked-by: Kevin Laatz <kevin.laatz at intel.com>

Applied, thanks




More information about the dev mailing list