code: def add_compute(self, compute_id=None, name=None, force=False, connect=True, **kwargs):
          
  
          if compute_id not in self._computes:
  
              # We disallow to create from the outside the local and VM server
              if (compute_id == 'local' or compute_id == 'vm') and not force:
                  return None
  
              # It seem we have error with a gns3vm imported as a remote server and conflict
              # with GNS3 VM settings. That's why we ignore server name gns3vm
              if name == 'gns3vm':
                  return None
  
              for compute in self._computes.values():
                  if name and compute.name == name and not force:
                      raise aiohttp.web.HTTPConflict(text='Compute name "{}" already exists'.format(name))
  
              compute = Compute(compute_id=compute_id, controller=self, name=name, **kwargs)
              self._computes[compute.id] = compute
              self.save()
              if connect:
                  yield from compute.connect()
              self.notification.emit("compute.created", compute.__json__())
              return compute
          else:
              if connect:
                  yield from self._computes[compute_id].connect()
              self.notification.emit("compute.updated", self._computes[compute_id].__json__())
              return self._computes[compute_id]
docs: Add a server to the dictionary of compute servers controlled by this controller
  
          :param compute_id: Compute server identifier
          :param name: Compute name
          :param force: True skip security check
          :param connect: True connect to the compute immediately
          :param kwargs: See the documentation of Compute