pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcmk_sched_group.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_group.c:

Go to the source code of this file.

Macros

#define VARIANT_GROUP   1
 

Functions

pe_node_tpcmk__group_allocate (pe_resource_t *rsc, pe_node_t *prefer, pe_working_set_t *data_set)
 
void group_update_pseudo_status (pe_resource_t *parent, pe_resource_t *child)
 
void group_create_actions (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void group_internal_constraints (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void group_rsc_colocation_lh (pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_colocation_t *constraint, pe_working_set_t *data_set)
 
void group_rsc_colocation_rh (pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_colocation_t *constraint, pe_working_set_t *data_set)
 
enum pe_action_flags group_action_flags (pe_action_t *action, pe_node_t *node)
 
enum pe_graph_flags group_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 group_rsc_location (pe_resource_t *rsc, pe__location_t *constraint)
 
void group_expand (pe_resource_t *rsc, pe_working_set_t *data_set)
 
GHashTable * pcmk__group_merge_weights (pe_resource_t *rsc, const char *rhs, GHashTable *nodes, const char *attr, float factor, uint32_t flags)
 
void group_append_meta (pe_resource_t *rsc, xmlNode *xml)
 

Macro Definition Documentation

#define VARIANT_GROUP   1

Definition at line 16 of file pcmk_sched_group.c.

Function Documentation

enum pe_action_flags group_action_flags ( pe_action_t action,
pe_node_t node 
)

Definition at line 382 of file pcmk_sched_group.c.

void group_append_meta ( pe_resource_t rsc,
xmlNode *  xml 
)

Definition at line 530 of file pcmk_sched_group.c.

void group_create_actions ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 82 of file pcmk_sched_group.c.

void group_expand ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 478 of file pcmk_sched_group.c.

void group_internal_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 165 of file pcmk_sched_group.c.

void group_rsc_colocation_lh ( pe_resource_t rsc_lh,
pe_resource_t rsc_rh,
rsc_colocation_t constraint,
pe_working_set_t data_set 
)

Definition at line 285 of file pcmk_sched_group.c.

void group_rsc_colocation_rh ( pe_resource_t rsc_lh,
pe_resource_t rsc_rh,
rsc_colocation_t constraint,
pe_working_set_t data_set 
)

Definition at line 331 of file pcmk_sched_group.c.

void group_rsc_location ( pe_resource_t rsc,
pe__location_t constraint 
)

Definition at line 449 of file pcmk_sched_group.c.

enum pe_graph_flags group_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 423 of file pcmk_sched_group.c.

void group_update_pseudo_status ( pe_resource_t parent,
pe_resource_t child 
)

Definition at line 130 of file pcmk_sched_group.c.

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

Definition at line 20 of file pcmk_sched_group.c.

GHashTable* pcmk__group_merge_weights ( pe_resource_t rsc,
const char *  rhs,
GHashTable *  nodes,
const char *  attr,
float  factor,
uint32_t  flags 
)

Definition at line 493 of file pcmk_sched_group.c.