Lock - Unlock Mangagement

Fields

Which fields from the table glpi_ocslinks stay in core ?

Field Description Yes No To be checked
`computers_id` X
`ocsid` X
`ocs_deviceid` X
`use_auto_update` ???? X
`last_update` last update into GLPI X
`last_ocs_update` last update into OCS X
`computer_update` modified fields into computer form X see post_updateItem into computer class
`import_device` modified devices of a computer X where check ?
`import_disk` modified disks of a computer X where check ?
`import_software` modified softwares of a computer X where check ?
`import_monitor` modified monitors linked with a computer X see prepareInputForAdd into computer_item class
`import_peripheral` modified peripherals linked with a computer X see prepareInputForAdd into computer_item class
`import_printer` modified printers linked with a computer X see prepareInputForAdd into computer_item class
`ocsservers_id` X
`import_ip` modified ip of a computer X where check ?
`ocs_agent_version` X
`entities_id` X
`tag` X
`import_vm` modified virtual machines of a computer X where check ?

Functions

Need to be moved to computer Class

  • OcsServer::getLockableFields()
  • OcsServer::editLock()
  • OcsServer::deleteInOcsArray() for unlocking
  • OcsServer::unlockItems

Files

computer.form.php - $_POST["unlock_monitor"], $_POST["unlock"] etc