![]() |
pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdbool.h>
#include <stdio.h>
#include <sys/param.h>
#include <glib.h>
#include <libxml/tree.h>
#include <crm/lrmd_internal.h>
#include <crm/common/scheduler_internal.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
Macros | |
#define | action_type_str(flags) |
#define | action_optional_str(flags) |
#define | action_runnable_str(flags) |
#define | action_node_str(a) |
#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 (pcmk_action_t *then, pcmk_scheduler_t *scheduler) |
uint32_t | pcmk__update_ordered_actions (pcmk_action_t *first, pcmk_action_t *then, const pcmk_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pcmk_scheduler_t *scheduler) |
void | pcmk__log_action (const char *pre_text, const pcmk_action_t *action, bool details) |
pcmk_action_t * | pcmk__new_shutdown_action (pcmk_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 pcmk_action_t *action) |
void | pcmk__deduplicate_action_inputs (pcmk_action_t *action) |
void | pcmk__output_actions (pcmk_scheduler_t *scheduler) |
bool | pcmk__check_action_config (pcmk_resource_t *rsc, pcmk_node_t *node, const xmlNode *xml_op) |
void | pcmk__handle_rsc_config_changes (pcmk_scheduler_t *scheduler) |
#define action_node_str | ( | a | ) |
Definition at line 510 of file pcmk_sched_actions.c.
#define action_optional_str | ( | flags | ) |
Definition at line 504 of file pcmk_sched_actions.c.
#define action_runnable_str | ( | flags | ) |
Definition at line 507 of file pcmk_sched_actions.c.
#define action_type_str | ( | flags | ) |
Definition at line 501 of file pcmk_sched_actions.c.
#define clear_action_flag_because | ( | action, | |
flag, | |||
reason ) |
Definition at line 704 of file pcmk_sched_actions.c.
#define FAKE_TE_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
Definition at line 1115 of file pcmk_sched_actions.c.
#define XPATH_NODE_HISTORY |
Definition at line 1912 of file pcmk_sched_actions.c.
bool pcmk__action_locks_rsc_to_node | ( | const pcmk_action_t * | action | ) |
Definition at line 1323 of file pcmk_sched_actions.c.
bool pcmk__check_action_config | ( | pcmk_resource_t * | rsc, |
pcmk_node_t * | node, | ||
const xmlNode * | xml_op ) |
Definition at line 1631 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 1131 of file pcmk_sched_actions.c.
void pcmk__deduplicate_action_inputs | ( | pcmk_action_t * | action | ) |
Definition at line 1371 of file pcmk_sched_actions.c.
void pcmk__handle_rsc_config_changes | ( | pcmk_scheduler_t * | scheduler | ) |
Definition at line 1930 of file pcmk_sched_actions.c.
void pcmk__log_action | ( | const char * | pre_text, |
const pcmk_action_t * | action, | ||
bool | details ) |
Definition at line 977 of file pcmk_sched_actions.c.
pcmk_action_t * pcmk__new_shutdown_action | ( | pcmk_node_t * | node | ) |
Definition at line 1068 of file pcmk_sched_actions.c.
void pcmk__output_actions | ( | pcmk_scheduler_t * | scheduler | ) |
Definition at line 1415 of file pcmk_sched_actions.c.
void pcmk__update_action_for_orderings | ( | pcmk_action_t * | then, |
pcmk_scheduler_t * | scheduler ) |
Definition at line 521 of file pcmk_sched_actions.c.
uint32_t pcmk__update_ordered_actions | ( | pcmk_action_t * | first, |
pcmk_action_t * | then, | ||
const pcmk_node_t * | node, | ||
uint32_t | flags, | ||
uint32_t | filter, | ||
uint32_t | type, | ||
pcmk_scheduler_t * | scheduler ) |
Definition at line 852 of file pcmk_sched_actions.c.