def disable_cluster_nodes(nodes): error_list = utils.map_for_error_list(utils.disableCluster, nodes) if len(error_list) > 0: utils.err("unable to disable all nodes\n" + "\n".join(error_list))
def destroy_cluster(argv): if len(argv) > 0: error_list = utils.map_for_error_list(utils.destroyCluster, argv) if len(error_list) > 0: utils.err("unable to destroy cluster\n" + "\n".join(error_list)) return
def stop_cluster_nodes(nodes): error_list = utils.map_for_error_list(utils.stopCluster, nodes) if len(error_list) > 0: utils.err("unable to stop all nodes\n" + "\n".join(error_list))