Project

General

Profile

Bug #13803

Updated by François ARMAND about 6 years ago

We have an inventory with for ex these values (one interface with one ipv4, one ipv6 address) 

 <pre> 
 <NETWORKS> 
      <DESCRIPTION>ens3</DESCRIPTION> 
      <DRIVER>virtio_net</DRIVER> 
      <IPADDRESS>192.168.180.104</IPADDRESS> 
      <IPGATEWAY>192.168.180.1</IPGATEWAY> 
      <IPMASK>255.255.255.128</IPMASK> 
      <IPSUBNET>192.168.180.0</IPSUBNET> 
      <MACADDR>52:54:00:e4:05:47</MACADDR> 
      <SPEED>-1</SPEED> 
      <STATUS>Up</STATUS> 
      <TYPE>ethernet</TYPE> 
      <VIRTUALDEV>0</VIRTUALDEV> 
    </NETWORKS> 
    <NETWORKS> 
      <DESCRIPTION>ens3</DESCRIPTION> 
      <DRIVER>virtio_net</DRIVER> 
      <IPADDRESS6>fe80::5054:ff:fee4:547</IPADDRESS6> 
      <IPMASK6>ffff:ffff:ffff:ffff::</IPMASK6> 
      <IPSUBNET6>fe80::</IPSUBNET6> 
      <MACADDR>52:54:00:e4:05:47</MACADDR> 
      <SPEED>-1</SPEED> 
      <STATUS>Up</STATUS> 
      <TYPE>ethernet</TYPE> 
      <VIRTUALDEV>0</VIRTUALDEV> 
    </NETWORKS> 
 </pre> 

 Corresponding LDAP content:  

 <pre> 
 dn: networkInterface=ens3,nodeId=xxxxx,ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration 
 networkInterface: ens3 
 objectClass: networkInterfaceLogicalElement 
 objectClass: top 
 networkInterfaceMacAddress: 52:54:00:e4:05:47 
 status: Up 
 networkInterfaceType: ethernet 
 speed: -1 
 ipHostNumber: fe80::5054:ff:fee4:547 
 ipHostNumber: 192.168.180.104 
 </pre> 


 The corresponding LDAP entry has no gateway, mask or network.

Back