pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
pcmki_simulate.h
Go to the documentation of this file.
1/*
2 * Copyright 2021-2025 the Pacemaker project contributors
3 *
4 * The version control history for this file may have further details.
5 *
6 * This source code is licensed under the GNU Lesser General Public License
7 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8 */
9
10#ifndef PCMK__PCMKI_PCMKI_SIMULATE__H
11#define PCMK__PCMKI_PCMKI_SIMULATE__H
12
16#include <crm/cib.h> // cib_t
17#include <pacemaker.h>
18#include <stdbool.h>
19#include <stdint.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
39int pcmk__profile_dir(pcmk__output_t *out, uint32_t flags, const char *dir,
40 unsigned int repeat, const char *use_date);
41
53 cib_t *cib,
54 const GList *op_fail_list);
55
87 const pcmk_injections_t *injections, uint32_t flags,
88 uint32_t section_opts, const char *use_date,
89 const char *input_file, const char *graph_file,
90 const char *dot_file);
91
99
100#ifdef __cplusplus
101}
102#endif
103
104#endif // PCMK__PCMKI_PCMKI_SIMULATE__H
Cluster Configuration.
uint64_t flags
Definition remote.c:3
pcmk_scheduler_t * scheduler
Formatted output for pacemaker tools.
High Level API.
int pcmk__simulate(pcmk_scheduler_t *scheduler, pcmk__output_t *out, const pcmk_injections_t *injections, uint32_t flags, uint32_t section_opts, const char *use_date, const char *input_file, const char *graph_file, const char *dot_file)
bool pcmk__simulate_node_config
enum pcmk__graph_status pcmk__simulate_transition(pcmk_scheduler_t *scheduler, cib_t *cib, const GList *op_fail_list)
int pcmk__profile_dir(pcmk__output_t *out, uint32_t flags, const char *dir, unsigned int repeat, const char *use_date)
pcmk__graph_status
Scheduler API.
This structure contains everything that makes up a single output formatter.
Synthetic cluster events that can be injected into the cluster for running simulations.
Definition pacemaker.h:51