pacemaker
2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
|
#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/lrmd.h>
#include <crm/cib.h>
#include <crm/common/util.h>
#include <crm/common/iso8601.h>
#include <crm/common/xml_internal.h>
#include <crm/lrmd_internal.h>
#include <crm/pengine/status.h>
#include <pacemaker-internal.h>
Go to the source code of this file.
Macros | |
#define | STATUS_PATH_MAX 512 |
#define | NEW_NODE_TEMPLATE "//"XML_CIB_TAG_NODE"[@uname='%s']" |
#define | NODE_TEMPLATE "//"XML_CIB_TAG_STATE"[@uname='%s']" |
#define | RSC_TEMPLATE "//"XML_CIB_TAG_STATE"[@uname='%s']//"XML_LRM_TAG_RESOURCE"[@id='%s']" |
#define | XPATH_MAX 1024 |
Functions | |
void | modify_configuration (pe_working_set_t *data_set, cib_t *cib, pcmk_injections_t *injections) |
enum transition_status | run_simulation (pe_working_set_t *data_set, cib_t *cib, GList *op_fail_list) |
Variables | |
gboolean | bringing_nodes_online = FALSE |
#define NEW_NODE_TEMPLATE "//"XML_CIB_TAG_NODE"[@uname='%s']" |
Definition at line 39 of file pcmk_sched_transition.c.
#define NODE_TEMPLATE "//"XML_CIB_TAG_STATE"[@uname='%s']" |
Definition at line 40 of file pcmk_sched_transition.c.
#define RSC_TEMPLATE "//"XML_CIB_TAG_STATE"[@uname='%s']//"XML_LRM_TAG_RESOURCE"[@id='%s']" |
Definition at line 41 of file pcmk_sched_transition.c.
#define STATUS_PATH_MAX 512 |
Definition at line 37 of file pcmk_sched_transition.c.
#define XPATH_MAX 1024 |
Definition at line 311 of file pcmk_sched_transition.c.
void modify_configuration | ( | pe_working_set_t * | data_set, |
cib_t * | cib, | ||
pcmk_injections_t * | injections | ||
) |
Definition at line 392 of file pcmk_sched_transition.c.
enum transition_status run_simulation | ( | pe_working_set_t * | data_set, |
cib_t * | cib, | ||
GList * | op_fail_list | ||
) |
Definition at line 796 of file pcmk_sched_transition.c.
gboolean bringing_nodes_online = FALSE |
Definition at line 35 of file pcmk_sched_transition.c.