def disable_sbd_service_on_all_nodes(report_processor, node_communicator, node_list): """ Disable 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_disabling_started()) _run_parallel_and_raise_lib_error_on_failure( disable_sbd_service_on_node, [([report_processor, node_communicator, node], {}) for node in node_list])
def disable_sbd_service_on_all_nodes( report_processor, node_communicator, node_list ): """ Disable 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_disabling_started()) _run_parallel_and_raise_lib_error_on_failure( disable_sbd_service_on_node, [ ([report_processor, node_communicator, node], {}) for node in node_list ] )
def _get_before_report(self): return reports.sbd_disabling_started()