code: def add_serie(
      self, serie_data, base_id=None, description=None, infos=None
  ):
      if base_id is not None:
          serie_data["analyse"]["base"] = base_id
      if description is not None:
          serie_data["description"] = description
      if infos is not None:
          serie_data["infos"] = infos
      request_url = "http://%s/apis/addSerie" % self._domain
      succ = self.post_data(request_url, serie_data)
      if succ:
          succ = self.write_serie_to_cfg(serie_data["serieId"])
      return succ
  
file_path: mace/tools/dana/dana_cli.py
imports: import fcntl
  import json
  import os
label_desc: Use image node_id 9 for calling the DanaCli obj's underlying member method code with example usage: obj.add_serie(serie_data, base_id, description, infos) and returns: succ