Skip to content

Conversation

@vaishnavibhat
Copy link
Contributor

"net-tools-deprecated" pkg is required for command like netstat "net-tools" provides other utilities. Hence keeping both the packages.

@vaishnavibhat
Copy link
Contributor Author

avocado run net_tools.py -m net_tools.py.data/net_tools.yaml --max-parallel-tasks=1
JOB ID : 8b4a07c4b7e663ca29dd38ef88ca8edea920d748
JOB LOG : /home/OpTest/avocado-fvt-wrapper/results/job-2025-10-13T07.28-8b4a07c/job.log
(1/8) net_tools.py:Hostname.test_hostname;run-test_hostname-test_netstat-e46b: STARTED
(1/8) net_tools.py:Hostname.test_hostname;run-test_hostname-test_netstat-e46b: PASS (3.46 s)
(2/8) net_tools.py:Ifconfig.test_ifconfig;run-test_hostname-test_netstat-e46b: STARTED
(2/8) net_tools.py:Ifconfig.test_ifconfig;run-test_hostname-test_netstat-e46b: PASS (13.40 s)
(3/8) net_tools.py:Arp.test_arp;run-test_hostname-test_netstat-e46b: STARTED
(3/8) net_tools.py:Arp.test_arp;run-test_hostname-test_netstat-e46b: PASS (1.06 s)
(4/8) net_tools.py:NetworkUtilities.test_traceroute;run-test_hostname-test_netstat-e46b: STARTED
(4/8) net_tools.py:NetworkUtilities.test_traceroute;run-test_hostname-test_netstat-e46b: PASS (0.05 s)
(5/8) net_tools.py:NetworkUtilities.test_netstat;run-test_hostname-test_netstat-e46b: STARTED
(5/8) net_tools.py:NetworkUtilities.test_netstat;run-test_hostname-test_netstat-e46b: PASS (0.06 s)
(6/8) net_tools.py:NetworkUtilities.test_route;run-test_hostname-test_netstat-e46b: STARTED
(6/8) net_tools.py:NetworkUtilities.test_route;run-test_hostname-test_netstat-e46b: PASS (0.05 s)
(7/8) net_tools.py:NetworkUtilities.test_ipmaddr;run-test_hostname-test_netstat-e46b: STARTED
(7/8) net_tools.py:NetworkUtilities.test_ipmaddr;run-test_hostname-test_netstat-e46b: PASS (0.05 s)
(8/8) net_tools.py:Iptunnel.test_loopback_sit;run-test_hostname-test_netstat-e46b: STARTED
(8/8) net_tools.py:Iptunnel.test_loopback_sit;run-test_hostname-test_netstat-e46b: PASS (0.23 s)
RESULTS : PASS 8 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /home/OpTest/avocado-fvt-wrapper/results/job-2025-10-13T07.28-8b4a07c/results.html
JOB TIME : 55.90 s

"net-tools-deprecated" pkg is required for command like netstat
"net-tools" provides other utilities. Hence keeping both the packages.

Signed-off-by: Vaishnavi Bhat <[email protected]>
sm = SoftwareManager()
if detected_distro.name == "SuSE":
net_tools = ("net-tools", "traceroute")
net_tools = ("net-tools", "traceroute", "net-tools-deprecated")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vaishnavibhat is there any new tool available which can replace net-tools? or we are just dropping this and not going to use anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vaishnavibhat is there any new tool available which can replace net-tools? or we are just dropping this and not going to use anymore?

Hi Naresh,

Few of the commands like netstat is being replaced by ss. Package wise, we have iproute2 which provides few utilities to collect the statistics. for the older commands to work, we need net-tools-deprecated

Thank you.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

net-tools is also deprecated.. should we remove that too ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants