pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Macros | Functions | Variables
pcmk_sched_promotable.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
#include <lib/pengine/variant.h>
Include dependency graph for pcmk_sched_promotable.c:

Go to the source code of this file.

Macros

#define VARIANT_CLONE   1
 

Functions

gint sort_clone_instance (gconstpointer a, gconstpointer b, gpointer data_set)
 
void pcmk__add_promotion_scores (pe_resource_t *rsc)
 
pe_node_tpcmk__set_instance_roles (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void create_promotable_actions (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void promote_demote_constraints (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void promotable_constraints (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void promotable_colocation_rh (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint, pe_working_set_t *data_set)
 

Variables

bool pcmk__is_daemon
 

Macro Definition Documentation

◆ VARIANT_CLONE

#define VARIANT_CLONE   1

Definition at line 17 of file pcmk_sched_promotable.c.

Function Documentation

◆ create_promotable_actions()

void create_promotable_actions ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 816 of file pcmk_sched_promotable.c.

◆ pcmk__add_promotion_scores()

void pcmk__add_promotion_scores ( pe_resource_t rsc)

Definition at line 577 of file pcmk_sched_promotable.c.

◆ pcmk__set_instance_roles()

pe_node_t* pcmk__set_instance_roles ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 663 of file pcmk_sched_promotable.c.

◆ promotable_colocation_rh()

void promotable_colocation_rh ( pe_resource_t dependent,
pe_resource_t primary,
pcmk__colocation_t constraint,
pe_working_set_t data_set 
)

Definition at line 993 of file pcmk_sched_promotable.c.

◆ promotable_constraints()

void promotable_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 939 of file pcmk_sched_promotable.c.

◆ promote_demote_constraints()

void promote_demote_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 906 of file pcmk_sched_promotable.c.

◆ sort_clone_instance()

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

Definition at line 253 of file pcmk_sched_clone.c.

Variable Documentation

◆ pcmk__is_daemon

bool pcmk__is_daemon

Definition at line 47 of file logging.c.