pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
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 apply_master_prefs (resource_t *rsc)
 
node_tcolor_promotable (resource_t *rsc, pe_working_set_t *data_set)
 
void create_promotable_actions (resource_t *rsc, pe_working_set_t *data_set)
 
void promote_demote_constraints (resource_t *rsc, pe_working_set_t *data_set)
 
void promotable_constraints (resource_t *rsc, pe_working_set_t *data_set)
 
void promotable_colocation_rh (resource_t *rsc_lh, resource_t *rsc_rh, rsc_colocation_t *constraint, pe_working_set_t *data_set)
 

Macro Definition Documentation

#define VARIANT_CLONE   1

Definition at line 13 of file pcmk_sched_promotable.c.

Function Documentation

void apply_master_prefs ( resource_t rsc)

Definition at line 534 of file pcmk_sched_promotable.c.

node_t* color_promotable ( resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 632 of file pcmk_sched_promotable.c.

void create_promotable_actions ( resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 786 of file pcmk_sched_promotable.c.

void promotable_colocation_rh ( resource_t rsc_lh,
resource_t rsc_rh,
rsc_colocation_t constraint,
pe_working_set_t data_set 
)

Definition at line 948 of file pcmk_sched_promotable.c.

void promotable_constraints ( resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 895 of file pcmk_sched_promotable.c.

void promote_demote_constraints ( resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 869 of file pcmk_sched_promotable.c.

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

Definition at line 76 of file pcmk_sched_clone.c.