#include <crm_internal.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/types.h>
#include <dirent.h>
#include <crm/crm.h>
#include <crm/cib.h>
#include <crm/cib/internal.h>
#include <crm/common/util.h>
#include <crm/common/iso8601.h>
#include <crm/common/xml_internal.h>
#include <crm/lrmd_events.h>
#include <crm/lrmd_internal.h>
#include <crm/pengine/status.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
|
void | pcmk__inject_failcount (pcmk__output_t *out, xmlNode *cib_node, const char *resource, const char *task, guint interval_ms, int rc) |
|
xmlNode * | pcmk__inject_action_result (xmlNode *cib_resource, lrmd_event_data_t *op, int target_rc) |
|
xmlNode * | pcmk__inject_node (cib_t *cib_conn, const char *node, const char *uuid) |
|
xmlNode * | pcmk__inject_node_state_change (cib_t *cib_conn, const char *node, bool up) |
|
xmlNode * | pcmk__inject_resource_history (pcmk__output_t *out, xmlNode *cib_node, const char *resource, const char *lrm_name, const char *rclass, const char *rtype, const char *rprovider) |
|
void | pcmk__inject_scheduler_input (pcmk_scheduler_t *scheduler, cib_t *cib, const pcmk_injections_t *injections) |
|
void | pcmk_free_injections (pcmk_injections_t *injections) |
| Free a :pcmk_injections_t structure. More...
|
|
◆ XPATH_NODE_CONFIG
◆ XPATH_NODE_STATE
◆ XPATH_NODE_STATE_BY_ID
◆ XPATH_RSC_HISTORY
#define XPATH_RSC_HISTORY |
◆ pcmk__inject_action_result()
xmlNode* pcmk__inject_action_result |
( |
xmlNode * |
cib_resource, |
|
|
lrmd_event_data_t * |
op, |
|
|
int |
target_rc |
|
) |
| |
◆ pcmk__inject_failcount()
void pcmk__inject_failcount |
( |
pcmk__output_t * |
out, |
|
|
xmlNode * |
cib_node, |
|
|
const char * |
resource, |
|
|
const char * |
task, |
|
|
guint |
interval_ms, |
|
|
int |
rc |
|
) |
| |
◆ pcmk__inject_node()
xmlNode* pcmk__inject_node |
( |
cib_t * |
cib_conn, |
|
|
const char * |
node, |
|
|
const char * |
uuid |
|
) |
| |
◆ pcmk__inject_node_state_change()
xmlNode* pcmk__inject_node_state_change |
( |
cib_t * |
cib_conn, |
|
|
const char * |
node, |
|
|
bool |
up |
|
) |
| |
◆ pcmk__inject_resource_history()
xmlNode* pcmk__inject_resource_history |
( |
pcmk__output_t * |
out, |
|
|
xmlNode * |
cib_node, |
|
|
const char * |
resource, |
|
|
const char * |
lrm_name, |
|
|
const char * |
rclass, |
|
|
const char * |
rtype, |
|
|
const char * |
rprovider |
|
) |
| |
◆ pcmk__inject_scheduler_input()
◆ pcmk_free_injections()
◆ pcmk__simulate_node_config
bool pcmk__simulate_node_config = false |