def enable_sbd_service_on_all_nodes(report_processor, node_communicator, node_list): """ Enable SBD service on all nodes in 'node_list'. Raises LibraryError with all ReportItems in case of any failure. report_processor -- node_communicator -- NodeCommunicator node_list -- NodeAddressesList """ report_processor.process(reports.sbd_enabling_started()) _run_parallel_and_raise_lib_error_on_failure( enable_sbd_service_on_node, [([report_processor, node_communicator, node], {}) for node in node_list])
def enable_sbd_service_on_all_nodes( report_processor, node_communicator, node_list ): """ Enable SBD service on all nodes in 'node_list'. Raises LibraryError with all ReportItems in case of any failure. report_processor -- node_communicator -- NodeCommunicator node_list -- NodeAddressesList """ report_processor.process(reports.sbd_enabling_started()) _run_parallel_and_raise_lib_error_on_failure( enable_sbd_service_on_node, [ ([report_processor, node_communicator, node], {}) for node in node_list ] )
def _get_before_report(self): return reports.sbd_enabling_started()
def _get_before_report(self): return reports.sbd_enabling_started()