pacemaker  2.1.0-7c3f660
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 <stdbool.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, pcmk__colocation_t *constraint, pe_working_set_t *data_set)
 
void group_rsc_colocation_rh (pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, pcmk__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 18 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 381 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 85 of file pcmk_sched_group.c.

void group_expand ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 481 of file pcmk_sched_group.c.

void group_internal_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 168 of file pcmk_sched_group.c.

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

Definition at line 290 of file pcmk_sched_group.c.

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

Definition at line 333 of file pcmk_sched_group.c.

void group_rsc_location ( pe_resource_t rsc,
pe__location_t constraint 
)

Definition at line 452 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 426 of file pcmk_sched_group.c.

void group_update_pseudo_status ( pe_resource_t parent,
pe_resource_t child 
)

Definition at line 131 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 22 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 496 of file pcmk_sched_group.c.