[dpdk-dev] [PATCH 00/11] Python script updates
Stephen Hemminger
stephen at networkplumber.org
Sun Sep 6 03:31:22 CEST 2020
After writing the hugepages script, decided that the other python
scripts need a cleanup and refresh. These changes apply after
Louise Kilheeney's patch to change to full Python 3 only.
Stephen Hemminger (11):
cpu_layout: refactor to meet python standards
dpdk-pmdinfo: replace string.split with split
dpdk-pmdinfo: replace io.open with open
dpdk-pmdinfo: remove dead code
dpdk-pmdinfo: remove unnecessary paren and else
dpdk-pmdinfo: replace is False and is True
dpdk-pmdinfo: fix indentation
dpdk-pmdinfo: replace deprecated optionparse with argparse
dpdk-pmdinfo: do not use len(x) to test for empty
dpdk-telemetry-client: fix some pylint warnings
dpdk-devbind: use argparse instead of getopt
usertools/cpu_layout.py | 145 ++++++++++++---------
usertools/dpdk-devbind.py | 196 +++++++++++++----------------
usertools/dpdk-pmdinfo.py | 140 +++++++++------------
usertools/dpdk-telemetry-client.py | 28 +++--
4 files changed, 249 insertions(+), 260 deletions(-)
--
2.27.0
More information about the dev
mailing list