pacemaker
2.1.6-802a72226b
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdio.h>
#include <sys/param.h>
#include <glib.h>
#include <crm/lrmd_internal.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
Macros | |
#define | action_type_str(flags) (pcmk_is_set((flags), pe_action_pseudo)? "pseudo-action" : "action") |
#define | action_optional_str(flags) (pcmk_is_set((flags), pe_action_optional)? "optional" : "required") |
#define | action_runnable_str(flags) (pcmk_is_set((flags), pe_action_runnable)? "runnable" : "unrunnable") |
#define | action_node_str(a) (((a)->node == NULL)? "no node" : (a)->node->details->uname) |
#define | clear_action_flag_because(action, flag, reason) |
#define | FAKE_TE_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
#define | XPATH_NODE_HISTORY |
Functions | |
void | pcmk__update_action_for_orderings (pe_action_t *then, pe_working_set_t *data_set) |
uint32_t | pcmk__update_ordered_actions (pe_action_t *first, pe_action_t *then, const pe_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pe_working_set_t *data_set) |
void | pcmk__log_action (const char *pre_text, const pe_action_t *action, bool details) |
pe_action_t * | pcmk__new_shutdown_action (pe_node_t *node) |
xmlNode * | pcmk__create_history_xml (xmlNode *parent, lrmd_event_data_t *op, const char *caller_version, int target_rc, const char *node, const char *origin) |
bool | pcmk__action_locks_rsc_to_node (const pe_action_t *action) |
void | pcmk__deduplicate_action_inputs (pe_action_t *action) |
void | pcmk__output_actions (pe_working_set_t *data_set) |
bool | pcmk__check_action_config (pe_resource_t *rsc, pe_node_t *node, const xmlNode *xml_op) |
void | pcmk__handle_rsc_config_changes (pe_working_set_t *data_set) |
#define action_node_str | ( | a | ) | (((a)->node == NULL)? "no node" : (a)->node->details->uname) |
Definition at line 489 of file pcmk_sched_actions.c.
#define action_optional_str | ( | flags | ) | (pcmk_is_set((flags), pe_action_optional)? "optional" : "required") |
Definition at line 483 of file pcmk_sched_actions.c.
#define action_runnable_str | ( | flags | ) | (pcmk_is_set((flags), pe_action_runnable)? "runnable" : "unrunnable") |
Definition at line 486 of file pcmk_sched_actions.c.
#define action_type_str | ( | flags | ) | (pcmk_is_set((flags), pe_action_pseudo)? "pseudo-action" : "action") |
Definition at line 480 of file pcmk_sched_actions.c.
#define clear_action_flag_because | ( | action, | |
flag, | |||
reason | |||
) |
Definition at line 684 of file pcmk_sched_actions.c.
#define FAKE_TE_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
Definition at line 1092 of file pcmk_sched_actions.c.
#define XPATH_NODE_HISTORY |
Definition at line 1874 of file pcmk_sched_actions.c.
bool pcmk__action_locks_rsc_to_node | ( | const pe_action_t * | action | ) |
Definition at line 1290 of file pcmk_sched_actions.c.
bool pcmk__check_action_config | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
const xmlNode * | xml_op | ||
) |
Definition at line 1605 of file pcmk_sched_actions.c.
xmlNode* pcmk__create_history_xml | ( | xmlNode * | parent, |
lrmd_event_data_t * | op, | ||
const char * | caller_version, | ||
int | target_rc, | ||
const char * | node, | ||
const char * | origin | ||
) |
Definition at line 1108 of file pcmk_sched_actions.c.
void pcmk__deduplicate_action_inputs | ( | pe_action_t * | action | ) |
Definition at line 1339 of file pcmk_sched_actions.c.
void pcmk__handle_rsc_config_changes | ( | pe_working_set_t * | data_set | ) |
Definition at line 1891 of file pcmk_sched_actions.c.
void pcmk__log_action | ( | const char * | pre_text, |
const pe_action_t * | action, | ||
bool | details | ||
) |
Definition at line 951 of file pcmk_sched_actions.c.
pe_action_t* pcmk__new_shutdown_action | ( | pe_node_t * | node | ) |
Definition at line 1045 of file pcmk_sched_actions.c.
void pcmk__output_actions | ( | pe_working_set_t * | data_set | ) |
Definition at line 1383 of file pcmk_sched_actions.c.
void pcmk__update_action_for_orderings | ( | pe_action_t * | then, |
pe_working_set_t * | data_set | ||
) |
Definition at line 500 of file pcmk_sched_actions.c.
uint32_t pcmk__update_ordered_actions | ( | pe_action_t * | first, |
pe_action_t * | then, | ||
const pe_node_t * | node, | ||
uint32_t | flags, | ||
uint32_t | filter, | ||
uint32_t | type, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 830 of file pcmk_sched_actions.c.