|
pacemaker
2.1.5-b7adf64e51
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) |
| #define | INFINITY_HACK (INFINITY * -100) |
| #define EXPAND_CONSTRAINT_IDREF | ( | __set, | |
| __rsc, | |||
| __name | |||
| ) |
Definition at line 24 of file pcmk_sched_colocation.c.
| #define INFINITY_HACK (INFINITY * -100) |
Definition at line 33 of file pcmk_sched_colocation.c.
| void pcmk__add_colocated_node_scores | ( | pe_resource_t * | rsc, |
| const char * | log_id, | ||
| GHashTable ** | nodes, | ||
| const char * | attr, | ||
| float | factor, | ||
| uint32_t | flags | ||
| ) |
Definition at line 1411 of file pcmk_sched_colocation.c.
| void pcmk__add_this_with | ( | pe_resource_t * | rsc, |
| pcmk__colocation_t * | colocation | ||
| ) |
Definition at line 141 of file pcmk_sched_colocation.c.
| void pcmk__add_with_this | ( | pe_resource_t * | rsc, |
| pcmk__colocation_t * | colocation | ||
| ) |
Definition at line 155 of file pcmk_sched_colocation.c.
| void pcmk__apply_coloc_to_priority | ( | pe_resource_t * | dependent, |
| const pe_resource_t * | primary, | ||
| const pcmk__colocation_t * | colocation | ||
| ) |
Definition at line 1122 of file pcmk_sched_colocation.c.
| void pcmk__apply_coloc_to_weights | ( | pe_resource_t * | dependent, |
| const pe_resource_t * | primary, | ||
| const pcmk__colocation_t * | colocation | ||
| ) |
Definition at line 1042 of file pcmk_sched_colocation.c.
| void pcmk__block_colocation_dependents | ( | pe_action_t * | action, |
| pe_working_set_t * | data_set | ||
| ) |
Definition at line 836 of file pcmk_sched_colocation.c.
| enum pcmk__coloc_affects pcmk__colocation_affects | ( | const pe_resource_t * | dependent, |
| const pe_resource_t * | primary, | ||
| const pcmk__colocation_t * | colocation, | ||
| bool | preview | ||
| ) |
Definition at line 932 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 225 of file pcmk_sched_colocation.c.
| void pcmk__unpack_colocation | ( | xmlNode * | xml_obj, |
| pe_working_set_t * | data_set | ||
| ) |
Definition at line 734 of file pcmk_sched_colocation.c.
1.8.14