You are not logged in.
Hello,
I have a problem with import xml file.
This is an example:
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
<CONTENT>
<DEVICE>
<AUTHSNMP>1</AUTHSNMP>
<DESCRIPTION>Aruba JL261A 2930F-24G-PoE+-4SFP Switch, revision WC.16.05.0007, ROM WC.16.01.0005 (/ws/swbuildm/rel_venice_qaoff/code/build/lvm(swbuildm_rel_venice_qaoff_rel_venice))</DESCRIPTION>
<DNSHOSTNAME>192.168.0.10</DNSHOSTNAME>
<FIRMWARE>WC.16.05.0007</FIRMWARE>
<IP>192.168.0.10</IP>
<IPS>
<IP>127.0.0.1</IP>
<IP>192.168.0.10</IP>
</IPS>
<LOCATION>CED</LOCATION>
<MAC>11:22:33:44:55:66</MAC>
<MANUFACTURER>Hewlett-Packard</MANUFACTURER>
<MODEL>Aruba 2930F-24G-PoE+-4SFP</MODEL>
<SERIAL>AFG6YHLN2B</SERIAL>
<SNMPHOSTNAME>AAAA-SW-CED0</SNMPHOSTNAME>
<TYPE>NETWORKING</TYPE>
<UPTIME>351 days, 07:16:30.12</UPTIME>
</DEVICE>
<MODULEVERSION>4.1</MODULEVERSION>
<PROCESSNUMBER>1</PROCESSNUMBER>
</CONTENT>
<DEVICEID>foo</DEVICEID>
<QUERY>NETDISCOVERY</QUERY>
</REQUEST>
After the correct import, I permanently delete the network port (in this case: Management) and reload the xml. The import function does not recreate the Management port.
The answer is:
The file was imported successfully.
ELEMENTS: Import denied (no log)
If I permanently delete the network equipment and then upload the xml file, the Management port is correctly created.
My setup is a fresh installation of glpi 10.0.15 with empty database without plugins.
Do you have any suggestions?
Thanks
Paolo
Offline
Hello,
Same test with a printer: no problems
this is the xml of test:
<REQUEST>
<CONTENT>
<DEVICE>
<AUTHSNMP>1</AUTHSNMP>
<DESCRIPTION>OLIVETTI Printing System</DESCRIPTION>
<DNSHOSTNAME>192.168.0.17</DNSHOSTNAME>
<IP>192.168.0.17</IP>
<IPS>
<IP>172.20.173.17</IP>
</IPS>
<LOCATION>AAAA-LOC</LOCATION>
<MAC>11:22:33:44:55:66</MAC>
<MANUFACTURER>Kyocera</MANUFACTURER>
<MODEL>d-COPIA 5514MF</MODEL>
<SERIAL>0762093191</SERIAL>
<SNMPHOSTNAME>AAAA-PRT-TEST</SNMPHOSTNAME>
<TYPE>PRINTER</TYPE>
<UPTIME>5 days, 23:30:48.68</UPTIME>
</DEVICE>
<MODULEVERSION>6.1</MODULEVERSION>
<PROCESSNUMBER>1</PROCESSNUMBER>
</CONTENT>
<DEVICEID>foo</DEVICEID>
<QUERY>NETDISCOVERY</QUERY>
</REQUEST>
Offline