Bug 905576

Summary: "pifconfig <device>" lists all devices
Product: Red Hat Enterprise Linux 7 Reporter: Branislav Náter <bnater>
Component: python-ethtoolAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED CURRENTRELEASE QA Contact: Branislav Náter <bnater>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: bnater, bugproxy, davids, hannsj_uhl, psplicha
Target Milestone: rc   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ethtool-0.8-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 714753 Environment:
Last Closed: 2014-06-13 09:48:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 714753    
Bug Blocks:    

Comment 3 Dave Malcolm 2013-02-19 22:10:37 UTC
Should be fixed as of python-ethtool-0.8-1.el7

Comment 4 Branislav Náter 2013-11-07 09:19:19 UTC
Bug has been fixed in python-ethtool-0.8-1.el7. piconfig is able to display info only for particular network device.

Test output:
eth0      HWaddr 52:54:01:3c:e1:2b 
          inet addr:10.16.41.16 Bcast:0.0.0.0   Mask:255.255.248.0
          inet6 addr: fe80::5054:1ff:fe3c:e12b/64 Scope: link
          inet6 addr: 2620:52:0:102f:5054:1ff:fe3c:e12b/64 Scope: universe
          UP BROADCAST RUNNING MULTICAST

:: [   PASS   ] :: Running 'pifconfig eth0' (Expected 0, got 0)
:: [   PASS   ] :: File 'output' should contain '^eth0' 
:: [   PASS   ] :: File 'output' should not contain '^lo' 
lo        
          inet addr:127.0.0.1   Mask:255.0.0.0
          inet6 addr: ::1/128 Scope: host
          UP LOOPBACK RUNNING

:: [   PASS   ] :: Running 'pifconfig lo' (Expected 0, got 0)
:: [   PASS   ] :: File 'output' should contain '^lo' 
:: [   PASS   ] :: File 'output' should not contain '^eth0'

Comment 5 Ludek Smid 2014-06-13 09:48:03 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.