Re: [RFC PATCH] rteval: Replace python-ethtool with inline code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 10, 2022 at 9:07 AM John Kacur <jkacur@xxxxxxxxxx> wrote:
>
> This patch adds the file newnet.py which to replace the use of python-ethtool
> The information it generates will appear in the summary.xml
> You can also test the functionality by running
> python rteval/sysinfo/newnet.py
>
> Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>
> ---
>  rteval/sysinfo/__init__.py |   3 +-
>  rteval/sysinfo/network.py  | 117 -------------------
>  rteval/sysinfo/newnet.py   | 224 +++++++++++++++++++++++++++++++++++++
>  3 files changed, 226 insertions(+), 118 deletions(-)
>  delete mode 100644 rteval/sysinfo/network.py
>  create mode 100644 rteval/sysinfo/newnet.py

> +++ b/rteval/sysinfo/newnet.py
> @@ -0,0 +1,224 @@
> +''' Module to obtain network information for the rteval report '''
> +#
> +#   Copyright 2022 John Kacur <jkacur@xxxxxxxxxx
> +#
> +

Please add SPDX license identifier to be explicit about the file's licensing.

Reviewed-by: Kate Stewart <kstewart@xxxxxxxxxxxxxxxxxxx>



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux