code: def _fake_enumerateinstancenames(self, namespace, **params):
          
          cname = params['ClassName']
          assert isinstance(cname, CIMClassName)
          cname = cname.classname
  
          # Validate namespace
          instance_repo = self._get_instance_repo(namespace)
  
          clns = self._get_subclass_list_for_enums(cname, namespace)
  
          inst_paths = [inst.path for inst in instance_repo
                        if inst.path.classname in clns]
  
          rtn_paths = [deepcopy(path) for path in inst_paths]
  
          return self._make_tuple(rtn_paths)
docs: Implements a server responder for
          :meth:`~pywbem.WBEMConnection.EnumerateInstanceNames`
  
          Get instance names for instances that match the path define
          by `ClassName` and returns a list of the names.