pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcmk_sched_bundle.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include <lib/pengine/variant.h>
Include dependency graph for pcmk_sched_bundle.c:

Go to the source code of this file.

Macros

#define PE__VARIANT_BUNDLE   1
 

Functions

gint sort_clone_instance (gconstpointer a, gconstpointer b, gpointer data_set)
 
void distribute_children (resource_t *rsc, GListPtr children, GListPtr nodes, int max, int per_host_max, pe_working_set_t *data_set)
 
pe_node_tpcmk__bundle_color (pe_resource_t *rsc, pe_node_t *prefer, pe_working_set_t *data_set)
 
void pcmk__bundle_create_actions (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void pcmk__bundle_internal_constraints (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void pcmk__bundle_rsc_colocation_lh (pe_resource_t *rsc, pe_resource_t *rsc_rh, rsc_colocation_t *constraint, pe_working_set_t *data_set)
 
int copies_per_node (resource_t *rsc)
 
void pcmk__bundle_rsc_colocation_rh (pe_resource_t *rsc_lh, pe_resource_t *rsc, rsc_colocation_t *constraint, pe_working_set_t *data_set)
 
enum pe_action_flags pcmk__bundle_action_flags (pe_action_t *action, pe_node_t *node)
 
resource_tfind_compatible_child_by_node (resource_t *local_child, node_t *local_node, resource_t *rsc, enum rsc_role_e filter, gboolean current)
 
enum pe_graph_flags pcmk__multi_update_actions (pe_action_t *first, pe_action_t *then, pe_node_t *node, enum pe_action_flags flags, enum pe_action_flags filter, enum pe_ordering type, pe_working_set_t *data_set)
 
void pcmk__bundle_rsc_location (pe_resource_t *rsc, pe__location_t *constraint)
 
void pcmk__bundle_expand (pe_resource_t *rsc, pe_working_set_t *data_set)
 
gboolean pcmk__bundle_create_probe (pe_resource_t *rsc, pe_node_t *node, pe_action_t *complete, gboolean force, pe_working_set_t *data_set)
 
void pcmk__bundle_append_meta (pe_resource_t *rsc, xmlNode *xml)
 
GHashTable * pcmk__bundle_merge_weights (pe_resource_t *rsc, const char *rhs, GHashTable *nodes, const char *attr, float factor, enum pe_weights flags)
 
void pcmk__bundle_log_actions (pe_resource_t *rsc, pe_working_set_t *data_set, gboolean terminal)
 

Macro Definition Documentation

#define PE__VARIANT_BUNDLE   1

Definition at line 15 of file pcmk_sched_bundle.c.

Function Documentation

int copies_per_node ( resource_t rsc)

Definition at line 430 of file pcmk_sched_bundle.c.

void distribute_children ( resource_t rsc,
GListPtr  children,
GListPtr  nodes,
int  max,
int  per_host_max,
pe_working_set_t data_set 
)

Definition at line 503 of file pcmk_sched_clone.c.

resource_t* find_compatible_child_by_node ( resource_t local_child,
node_t local_node,
resource_t rsc,
enum rsc_role_e  filter,
gboolean  current 
)

Definition at line 572 of file pcmk_sched_bundle.c.

enum pe_action_flags pcmk__bundle_action_flags ( pe_action_t action,
pe_node_t node 
)

Definition at line 542 of file pcmk_sched_bundle.c.

void pcmk__bundle_append_meta ( pe_resource_t rsc,
xmlNode *  xml 
)

Definition at line 1041 of file pcmk_sched_bundle.c.

pe_node_t* pcmk__bundle_color ( pe_resource_t rsc,
pe_node_t prefer,
pe_working_set_t data_set 
)

Definition at line 101 of file pcmk_sched_bundle.c.

void pcmk__bundle_create_actions ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 195 of file pcmk_sched_bundle.c.

gboolean pcmk__bundle_create_probe ( pe_resource_t rsc,
pe_node_t node,
pe_action_t complete,
gboolean  force,
pe_working_set_t data_set 
)

Definition at line 947 of file pcmk_sched_bundle.c.

void pcmk__bundle_expand ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 884 of file pcmk_sched_bundle.c.

void pcmk__bundle_internal_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 244 of file pcmk_sched_bundle.c.

void pcmk__bundle_log_actions ( pe_resource_t rsc,
pe_working_set_t data_set,
gboolean  terminal 
)

Definition at line 1054 of file pcmk_sched_bundle.c.

GHashTable* pcmk__bundle_merge_weights ( pe_resource_t rsc,
const char *  rhs,
GHashTable *  nodes,
const char *  attr,
float  factor,
enum pe_weights  flags 
)

Definition at line 1046 of file pcmk_sched_bundle.c.

void pcmk__bundle_rsc_colocation_lh ( pe_resource_t rsc,
pe_resource_t rsc_rh,
rsc_colocation_t constraint,
pe_working_set_t data_set 
)

Definition at line 419 of file pcmk_sched_bundle.c.

void pcmk__bundle_rsc_colocation_rh ( pe_resource_t rsc_lh,
pe_resource_t rsc,
rsc_colocation_t constraint,
pe_working_set_t data_set 
)

Definition at line 463 of file pcmk_sched_bundle.c.

void pcmk__bundle_rsc_location ( pe_resource_t rsc,
pe__location_t constraint 
)

Definition at line 852 of file pcmk_sched_bundle.c.

enum pe_graph_flags pcmk__multi_update_actions ( pe_action_t first,
pe_action_t then,
pe_node_t node,
enum pe_action_flags  flags,
enum pe_action_flags  filter,
enum pe_ordering  type,
pe_working_set_t data_set 
)

Definition at line 799 of file pcmk_sched_bundle.c.

gint sort_clone_instance ( gconstpointer  a,
gconstpointer  b,
gpointer  data_set 
)

Definition at line 76 of file pcmk_sched_clone.c.