Project

General

Profile

Bug #4882

Updated by Nicolas CHARLES over 10 years ago

We may have duplicate Network entries in the Inventory: 
 <pre> 
     <NETWORKS> 
       <DESCRIPTION>en1</DESCRIPTION> 
       <IPADDRESS>126.126.112.93</IPADDRESS> <IPADDRESS>126.246.112.93</IPADDRESS> 
       <IPDHCP>No</IPDHCP> 
       <IPMASK>255.255.255.0</IPMASK> 
       <IPSUBNET>126.246.112.0</IPSUBNET> 
       <MACADDR>A6:85:84:CF:CA:2C</MACADDR> 
       <STATUS>up</STATUS> 
       <TYPE>ethernet</TYPE> 
     </NETWORKS> 
     <NETWORKS> 
       <DESCRIPTION>en1</DESCRIPTION> 
       <IPADDRESS>126.126.112.93</IPADDRESS> <IPADDRESS>126.246.112.93</IPADDRESS> 
       <IPDHCP>No</IPDHCP> 
       <IPMASK>255.255.255.0</IPMASK> 
       <IPSUBNET>126.246.112.0</IPSUBNET> 
       <STATUS>up</STATUS> 
     </NETWORKS> 
 </pre> 

 From what I gather, first one is returned by command 
 <pre> 
 lscfg -v -l en* 
 </pre> 
 second by: 
 <pre> 
 ifconfig -l 
 lsattr -E -l $interface->{DESCRIPTION} 
 </pre>

Back