glpi icon indicating copy to clipboard operation
glpi copied to clipboard

fix(inventory): create a management port if the IP is unknown from the list of network port IPs

Open stonebuzz opened this issue 2 years ago • 1 comments

Problem occurs only from Printer (for now)

Even if IP from XML tag IPS is known from list of network port IPs GLPI add it as port management

This results in a duplication of the IP and MAC from Printer list (column Network - IP and Nertwork - MAC )

To prevent duplicate data, we check if IP from XML tag IPS is known from the list of network port IPs If yes, this IP is remove from port management list.

see: https://github.com/glpi-project/glpi-inventory-plugin/issues/106 https://github.com/glpi-project/glpi-inventory-plugin/issues/183 https://github.com/glpi-project/glpi-inventory-plugin/issues/188

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #number

stonebuzz avatar Jul 12 '22 14:07 stonebuzz

Need this -> https://github.com/glpi-project/glpi/pull/12181 to continue

stonebuzz avatar Jul 13 '22 08:07 stonebuzz