pacemaker  2.1.1-52dc28db4
Scalable High-Availability cluster resource manager
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

◆ VARIANT_GROUP

#define VARIANT_GROUP   1

Definition at line 18 of file pcmk_sched_group.c.

Function Documentation

◆ group_action_flags()

enum pe_action_flags group_action_flags ( pe_action_t action,
pe_node_t node 
)

Definition at line 425 of file pcmk_sched_group.c.

◆ group_append_meta()

void group_append_meta ( pe_resource_t rsc,
xmlNode *  xml 
)

Definition at line 574 of file pcmk_sched_group.c.

◆ group_create_actions()

void group_create_actions ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 139 of file pcmk_sched_group.c.

◆ group_expand()

void group_expand ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 525 of file pcmk_sched_group.c.

◆ group_internal_constraints()

void group_internal_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 222 of file pcmk_sched_group.c.

◆ group_rsc_colocation_lh()

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 334 of file pcmk_sched_group.c.

◆ group_rsc_colocation_rh()

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 377 of file pcmk_sched_group.c.

◆ group_rsc_location()

void group_rsc_location ( pe_resource_t rsc,
pe__location_t constraint 
)

Definition at line 496 of file pcmk_sched_group.c.

◆ group_update_actions()

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 470 of file pcmk_sched_group.c.

◆ group_update_pseudo_status()

void group_update_pseudo_status ( pe_resource_t parent,
pe_resource_t child 
)

Definition at line 185 of file pcmk_sched_group.c.

◆ pcmk__group_allocate()

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

Definition at line 82 of file pcmk_sched_group.c.

◆ pcmk__group_merge_weights()

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 540 of file pcmk_sched_group.c.