def create_hosts(self, host_list , detail=None):
   """
   Creates hosts.
   @param host_list: list of HostModel
   @return: StatusModel.
   """
   return host._add_hosts(self._get_resource_root(), self.cluster_name , host_list)
Exemple #2
0
 def create_hosts(self, host_list , detail=None):
   """
   Creates hosts.
   @param host_list: list of HostModel
   @return: StatusModel.
   """
   return host._add_hosts(self._get_resource_root(), self.cluster_name , host_list)