Ejemplo n.º 1
0
 def add_config(self , type, tag , properties):
   """
   add configurations to the cluster
   @param type: the type of config
   @param tag: tag
   @param properties: a dict of properties
   @return: A StatusModel object
   """
   return configuration._add_config(self._get_resource_root(), self.cluster_name , type, tag , properties)   
Ejemplo n.º 2
0
 def add_config(self , type, tag , properties):
   """
   add configurations to the cluster
   @param type: the type of config
   @param tag: tag
   @param properties: a dict of properties
   @return: A StatusModel object
   """
   return configuration._add_config(self._get_resource_root(), self.cluster_name , type, tag , properties)