docs: def del_embedded_osi(self, e_osi, sync=True):
          """
          delete embedded OS instance from this OS instance
          :param e_osi: the embedded OS instance to be deleted from this OS instance
          :param sync: If sync=True(default) synchronize with Ariane server. If sync=False,
          add the embedded OS instance object on list to be removed on next save().
          :return:
          """
          LOGGER.debug("OSInstance.del_embedded_osi")
          if not sync:
              self.embedded_osi_2_rm.append(e_osi)
          else:
              if e_osi.id is None:
                  e_osi.sync()
              if self.id is not None and e_osi.id is not None:
                  params = {
                      'id': self.id,
                      'osiID': e_osi.id
                  }
                  args = {'http_operation': 'GET', 'operation_path': 'update/embeddedOSInstances/delete',
                          'parameters': params}
                  response = OSInstanceService.requester.call(args)
                  if response.rc != 0:
                      LOGGER.warning(
                          'OSInstance.del_embedded_osi - Problem while updating OS instance ' + self.name +
                          '. Reason: ' + str(response.response_content) + '-' + str(response.error_message) +
                          " (" + str(response.rc) + ")"
                      )
                  else:
                      self.embedded_osi_ids.remove(e_osi.id)
                      e_osi.sync()
              else:
                  LOGGER.warning(
                      'OSInstance.del_embedded_osi - Problem while updating OS instance ' +
                      self.name + '. Reason: embedded OS instance ' + e_osi.name + ' id is None'
                  )