10 #ifndef PCMKI_SIMULATE__H 11 # define PCMKI_SIMULATE__H 32 bool all_actions,
bool verbose);
114 unsigned int section_opts,
char *use_date,
char *input_file,
115 char *graph_file,
char *dot_file);
void pcmk__profile_dir(const char *dir, long long repeat, pe_working_set_t *data_set, char *use_date)
Profile the configuration updates and scheduler actions in every CIB file in a given directory...
Formatted output for pacemaker tools.
int pcmk__write_sim_dotfile(pe_working_set_t *data_set, const char *dot_file, bool all_actions, bool verbose)
Write out a file in dot(1) format describing the actions that will be taken by the scheduler in respo...
void pcmk__set_effective_date(pe_working_set_t *data_set, bool print_original, char *use_date)
Set the date of the cluster, either to the value given by use_date, or to the "execution-date" value ...
Synthetic cluster events that can be injected into the cluster for running simulations.
This structure contains everything that makes up a single output formatter.
int pcmk__simulate(pe_working_set_t *data_set, pcmk__output_t *out, pcmk_injections_t *injections, unsigned int flags, unsigned int section_opts, char *use_date, char *input_file, char *graph_file, char *dot_file)
Simulate a cluster's response to events.
Data types for cluster status.
void pcmk__profile_file(const char *xml_file, long long repeat, pe_working_set_t *data_set, char *use_date)
Profile the configuration updates and scheduler actions in a single CIB file, printing the profiling ...