|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
b5685e39 |
| 04-Nov-2020 |
Stephen Hemminger <[email protected]> |
usertools: remove unnecessary parens and else
Python lint complains: Unnecessary parens after 'if' keyword Unnecessary parens after 'not' keyword Unnecessary "else" after "return"
Signed-off-by: St
usertools: remove unnecessary parens and else
Python lint complains: Unnecessary parens after 'if' keyword Unnecessary parens after 'not' keyword Unnecessary "else" after "return"
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
3f6f8362 |
| 30-Sep-2020 |
Louise Kilheeney <[email protected]> |
support python 3 only
Changed scripts to explicitly use Python 3 only, to avoid maintaining Python 2. Removed deprecation notices.
Signed-off-by: Louise Kilheeney <[email protected]> Signe
support python 3 only
Changed scripts to explicitly use Python 3 only, to avoid maintaining Python 2. Removed deprecation notices.
Signed-off-by: Louise Kilheeney <[email protected]> Signed-off-by: Kevin Laatz <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Robin Jarry <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1 |
|
| #
ea0dceba |
| 10-Jul-2020 |
Louise Kilheeney <[email protected]> |
add python2 deprecation notice
Prepare for python2 removal in 20.11.
Signed-off-by: Louise Kilheeney <[email protected]> Acked-by: Neil Horman <[email protected]> Acked-by: Nicolas Cha
add python2 deprecation notice
Prepare for python2 removal in 20.11.
Signed-off-by: Louise Kilheeney <[email protected]> Acked-by: Neil Horman <[email protected]> Acked-by: Nicolas Chautru <[email protected]>
show more ...
|
|
Revision tags: v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2 |
|
| #
af927da4 |
| 21-Jan-2020 |
Ciara Power <[email protected]> |
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 requi
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: 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: [email protected]
Signed-off-by: Ciara Power <[email protected]> Reviewed-by: Robin Jarry <[email protected]> Acked-by: Kevin Laatz <[email protected]>
show more ...
|
|
Revision tags: v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2 |
|
| #
564f295d |
| 08-Nov-2019 |
Bruce Richardson <[email protected]> |
usertools: fix typo in SPDX tag of telemetry script
There is a typo in the SPDX tag, which is down as an "SPDK" tag. One-character change should be all that is needed.
Fixes: d1b94da4a4e0 ("usertoo
usertools: fix typo in SPDX tag of telemetry script
There is a typo in the SPDX tag, which is down as an "SPDK" tag. One-character change should be all that is needed.
Fixes: d1b94da4a4e0 ("usertools: add client script for telemetry") Cc: [email protected]
Reported-by: Stephen Hemminger <[email protected]> Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Kevin Traynor <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc1 |
|
| #
fe356226 |
| 17-Oct-2019 |
Robin Jarry <[email protected]> |
usertools: fix telemetry client with python 3
When running the dpdk-telemetry-client.py with python 3, we get the following syntax errors:
File "usertools/dpdk-telemetry-client.py", line 70
usertools: fix telemetry client with python 3
When running the dpdk-telemetry-client.py with python 3, we get the following syntax errors:
File "usertools/dpdk-telemetry-client.py", line 70 print "\nResponse: \n", str(data) ^ SyntaxError: invalid syntax
File "usertools/dpdk-telemetry-client.py", line 93 print "\nResponse: \n", str(data) ^ SyntaxError: invalid syntax
File "usertools/dpdk-telemetry-client.py", line 111 file_path = sys.argv[1] ^ TabError: inconsistent use of tabs and spaces in indentation
Import print_function from __future__ and add parentheses where missing. Also, use spaces for indentation everywhere.
Fixes: d1b94da4a4e0 ("usertools: add client script for telemetry") Fixes: 53f293c9a783 ("usertools: replace unsafe input function") Fixes: 4080e46c8078 ("telemetry: support global metrics") Cc: [email protected]
Signed-off-by: Robin Jarry <[email protected]> Acked-by: Stephen Hemminger <[email protected]>
show more ...
|
|
Revision tags: v19.08 |
|
| #
a667070b |
| 08-Aug-2019 |
Andrius Sirvys <[email protected]> |
usertools: fix input handling in telemetry script
This commit removes the unnecesarry ast.literal_eval() function call from the input handling, which now relies just on raw_input() to get its input.
usertools: fix input handling in telemetry script
This commit removes the unnecesarry ast.literal_eval() function call from the input handling, which now relies just on raw_input() to get its input.
Fixes: 53f293c9a783 ("usertools: replace unsafe input function") Cc: [email protected]
Signed-off-by: Andrius Sirvys <[email protected]> Acked-by: Harry van Haaren <[email protected]>
show more ...
|
|
Revision tags: v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2 |
|
| #
53f293c9 |
| 08-Apr-2019 |
Andrius Sirvys <[email protected]> |
usertools: replace unsafe input function
LGTM static code analysis tool reports that the function 'input' is unsafe. Changed to use raw_input which then converts it using ast.literal_eval() which is
usertools: replace unsafe input function
LGTM static code analysis tool reports that the function 'input' is unsafe. Changed to use raw_input which then converts it using ast.literal_eval() which is safe.
Fixes: d1b94da4a4e0 ("usertools: add client script for telemetry") Cc: [email protected]
Signed-off-by: Andrius Sirvys <[email protected]> Acked-by: Kevin Laatz <[email protected]>
show more ...
|
| #
4080e46c |
| 18-Jun-2019 |
Reshma Pattan <[email protected]> |
telemetry: support global metrics
telemetry has support for fetching port based stats from metrics library.
Metrics library also has global stats which are not fetched by telemetry, so extend telem
telemetry: support global metrics
telemetry has support for fetching port based stats from metrics library.
Metrics library also has global stats which are not fetched by telemetry, so extend telemetry to fetch the global metrics.
Signed-off-by: Reshma Pattan <[email protected]> Acked-by: Kevin Laatz <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc1, v19.02, v19.02-rc4 |
|
| #
8a9a4eaf |
| 22-Jan-2019 |
Bruce Richardson <[email protected]> |
usertools: make telemetry script executable
Add #! line to the top of the script and mark it as executable so it can be run directly rather than having to pass it to python interpreter.
Signed-off-
usertools: make telemetry script executable
Add #! line to the top of the script and mark it as executable so it can be run directly rather than having to pass it to python interpreter.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1 |
|
| #
d1b94da4 |
| 27-Oct-2018 |
Ciara Power <[email protected]> |
usertools: add client script for telemetry
This patch adds a python script which can be used as a demo client. The script is interactive and will allow the user to register, request statistics, and
usertools: add client script for telemetry
This patch adds a python script which can be used as a demo client. The script is interactive and will allow the user to register, request statistics, and unregister.
To run the script, an argument for the client file path must be passed in: "python telemetry_client.py <file_path>".
This script is useful to see how the Telemetry API for DPDK is used, and how to make the initial connection.
Signed-off-by: Ciara Power <[email protected]> Signed-off-by: Brian Archbold <[email protected]> Signed-off-by: Kevin Laatz <[email protected]> Acked-by: Harry van Haaren <[email protected]>
show more ...
|