pacemaker
2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdbool.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/pengine/status.h>
#include <pacemaker-internal.h>
#include "crm/common/util.h"
#include "crm/common/xml_internal.h"
#include "crm/msg_xml.h"
#include "libpacemaker_private.h"
Go to the source code of this file.
Macros | |
#define | EXPAND_CONSTRAINT_IDREF(__set, __rsc, __name) |
Functions | |
void | pcmk__new_colocation (const char *id, const char *node_attr, int score, pe_resource_t *dependent, pe_resource_t *primary, const char *dependent_role, const char *primary_role, bool influence, pe_working_set_t *data_set) |
void | pcmk__unpack_colocation (xmlNode *xml_obj, pe_working_set_t *data_set) |
void | pcmk__block_colocated_starts (pe_action_t *action, pe_working_set_t *data_set) |
enum pcmk__coloc_affects | pcmk__colocation_affects (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint, bool preview) |
void | pcmk__apply_coloc_to_weights (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint) |
void | pcmk__apply_coloc_to_priority (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint) |
#define EXPAND_CONSTRAINT_IDREF | ( | __set, | |
__rsc, | |||
__name | |||
) |
Definition at line 24 of file pcmk_sched_colocation.c.
void pcmk__apply_coloc_to_priority | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint | ||
) |
Definition at line 1027 of file pcmk_sched_colocation.c.
void pcmk__apply_coloc_to_weights | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint | ||
) |
Definition at line 948 of file pcmk_sched_colocation.c.
void pcmk__block_colocated_starts | ( | pe_action_t * | action, |
pe_working_set_t * | data_set | ||
) |
Definition at line 778 of file pcmk_sched_colocation.c.
enum pcmk__coloc_affects pcmk__colocation_affects | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
bool | preview | ||
) |
Definition at line 839 of file pcmk_sched_colocation.c.
void pcmk__new_colocation | ( | const char * | id, |
const char * | node_attr, | ||
int | score, | ||
pe_resource_t * | dependent, | ||
pe_resource_t * | primary, | ||
const char * | dependent_role, | ||
const char * | primary_role, | ||
bool | influence, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 194 of file pcmk_sched_colocation.c.
void pcmk__unpack_colocation | ( | xmlNode * | xml_obj, |
pe_working_set_t * | data_set | ||
) |
Definition at line 693 of file pcmk_sched_colocation.c.