You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-10-24 06:35:19

mykolaoq
Member
Registered: 2015-11-19
Posts: 30

cannot update aggregate network port with api

i use python-glpi-api (just wraps endpoints provided by the API and manage HTTP return code) or just send request with json.
For example, like this: glpi.update('NetworkPortAggregate', {'networkports_id': netport_id, 'networkports_id_list': netport_consist_of})
netport_consist_of it is list of strings with netports id. request return no error but empty list of lists? ([[]]). if i add 'id': id_of_server_here, i got glpi_api.GLPIError: (ERROR_GLPI_UPDATE) []
2023-10-24T04:00:48.971028+0000 INFO (ERROR_GLPI_UPDATE) []

Offline

Board footer

Powered by FluxBB