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 | Variables
pcmk_sched_promotable.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_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 *rsc_lh, pe_resource_t *rsc_rh, pcmk__colocation_t *constraint, pe_working_set_t *data_set)
 

Variables

bool pcmk__is_daemon
 

Macro Definition Documentation

#define VARIANT_CLONE   1

Definition at line 15 of file pcmk_sched_promotable.c.

Function Documentation

void create_promotable_actions ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 812 of file pcmk_sched_promotable.c.

void pcmk__add_promotion_scores ( pe_resource_t rsc)

Definition at line 567 of file pcmk_sched_promotable.c.

pe_node_t* pcmk__set_instance_roles ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 659 of file pcmk_sched_promotable.c.

void promotable_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 974 of file pcmk_sched_promotable.c.

void promotable_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 921 of file pcmk_sched_promotable.c.

void promote_demote_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 895 of file pcmk_sched_promotable.c.

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

Definition at line 251 of file pcmk_sched_clone.c.

Variable Documentation

bool pcmk__is_daemon

Definition at line 47 of file logging.c.