pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Functions
pcmki_sched_utils.h File Reference
#include <stdbool.h>
#include <glib.h>
#include <crm/lrmd.h>
#include <crm/cib.h>
#include <crm/pengine/pe_types.h>
#include <crm/common/xml_internal.h>
#include <crm/pengine/internal.h>
#include <pcmki/pcmki_scheduler.h>
#include <pcmki/pcmki_transition.h>
#include <pacemaker.h>
Include dependency graph for pcmki_sched_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

GList * pcmk__copy_node_list (const GList *list, bool reset)
 
pe_resource_tfind_compatible_child (const pe_resource_t *local_child, const pe_resource_t *rsc, enum rsc_role_e filter, gboolean current)
 
pe_resource_tfind_compatible_child_by_node (const pe_resource_t *local_child, const pe_node_t *local_node, const pe_resource_t *rsc, enum rsc_role_e filter, gboolean current)
 
gboolean is_child_compatible (const pe_resource_t *child_rsc, const pe_node_t *local_node, enum rsc_role_e filter, gboolean current)
 
enum pe_action_flags summary_action_flags (pe_action_t *action, GList *children, const pe_node_t *node)
 
enum action_tasks clone_child_action (pe_action_t *action)
 
int copies_per_node (pe_resource_t *rsc)
 
xmlNode * pcmk__create_history_xml (xmlNode *parent, lrmd_event_data_t *event, const char *caller_version, int target_rc, const char *node, const char *origin)
 

Function Documentation

◆ clone_child_action()

enum action_tasks clone_child_action ( pe_action_t action)

Definition at line 823 of file pcmk_sched_clone.c.

◆ copies_per_node()

int copies_per_node ( pe_resource_t rsc)

Definition at line 400 of file pcmk_sched_bundle.c.

◆ find_compatible_child()

pe_resource_t* find_compatible_child ( const pe_resource_t local_child,
const pe_resource_t rsc,
enum rsc_role_e  filter,
gboolean  current 
)

Definition at line 652 of file pcmk_sched_clone.c.

◆ find_compatible_child_by_node()

pe_resource_t* find_compatible_child_by_node ( const pe_resource_t local_child,
const pe_node_t local_node,
const pe_resource_t rsc,
enum rsc_role_e  filter,
gboolean  current 
)

Definition at line 575 of file pcmk_sched_bundle.c.

◆ is_child_compatible()

gboolean is_child_compatible ( const pe_resource_t child_rsc,
const pe_node_t local_node,
enum rsc_role_e  filter,
gboolean  current 
)

Definition at line 621 of file pcmk_sched_clone.c.

◆ pcmk__copy_node_list()

GList* pcmk__copy_node_list ( const GList *  list,
bool  reset 
)

Definition at line 95 of file pcmk_sched_nodes.c.

◆ pcmk__create_history_xml()

xmlNode* pcmk__create_history_xml ( xmlNode *  parent,
lrmd_event_data_t event,
const char *  caller_version,
int  target_rc,
const char *  node,
const char *  origin 
)

Definition at line 1114 of file pcmk_sched_actions.c.

◆ summary_action_flags()

enum pe_action_flags summary_action_flags ( pe_action_t action,
GList *  children,
const pe_node_t node 
)

Definition at line 867 of file pcmk_sched_clone.c.