glpi
glpi copied to clipboard
fix(inventory): create a management port if the IP is unknown from the list of network port IPs
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 |
Need this -> https://github.com/glpi-project/glpi/pull/12181 to continue