def delete_cluster_host( cluster_id, host_id, user, delete_underlying_host=False ): if delete_underlying_host: host_db.del_host( host_id, True, True, user=user ) cluster_db.del_cluster_host( cluster_id, host_id, True, True, user=user )
def delete_cluster_host(cluster_id, host_id, user, delete_underlying_host=False): """Delete clusterhost. If delete_underlying_host set, also delete underlying host. """ if delete_underlying_host: host_db.del_host(host_id, True, True, user=user) cluster_db.del_cluster_host(cluster_id, host_id, True, True, user=user)
def delete_cluster_host( cluster_id, host_id, user, delete_underlying_host=False ): """Delete clusterhost. If delete_underlying_host set, also delete underlying host. """ if delete_underlying_host: host_db.del_host( host_id, True, True, user=user ) cluster_db.del_cluster_host( cluster_id, host_id, True, True, user=user )