#include <crm_internal.h>
#include <sys/param.h>
#include <sys/types.h>
#include <stdbool.h>
#include <regex.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/cib.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <crm/common/xml_internal.h>
#include <crm/common/iso8601.h>
#include <crm/pengine/status.h>
#include <crm/pengine/internal.h>
#include <crm/pengine/rules.h>
#include <pacemaker-internal.h>
Go to the source code of this file.
|
enum pe_ordering | get_flags (const char *id, enum pe_order_kind kind, const char *action_first, const char *action_then, gboolean invert) |
|
enum pe_ordering | get_asymmetrical_flags (enum pe_order_kind kind) |
|
gboolean | unpack_constraints (xmlNode *xml_constraints, pe_working_set_t *data_set) |
|
void | pcmk__new_colocation (const char *id, const char *node_attr, int score, pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, const char *state_lh, const char *state_rh, bool influence, pe_working_set_t *data_set) |
|
int | new_rsc_order (pe_resource_t *lh_rsc, const char *lh_task, pe_resource_t *rh_rsc, const char *rh_task, enum pe_ordering type, pe_working_set_t *data_set) |
|
int | custom_action_order (pe_resource_t *lh_rsc, char *lh_action_task, pe_action_t *lh_action, pe_resource_t *rh_rsc, char *rh_action_task, pe_action_t *rh_action, enum pe_ordering type, pe_working_set_t *data_set) |
|
gboolean | unpack_rsc_order (xmlNode *xml_obj, pe_working_set_t *data_set) |
|
gboolean | rsc_ticket_new (const char *id, pe_resource_t *rsc_lh, pe_ticket_t *ticket, const char *state_lh, const char *loss_policy, pe_working_set_t *data_set) |
|
gboolean | unpack_rsc_ticket (xmlNode *xml_obj, pe_working_set_t *data_set) |
|
#define EXPAND_CONSTRAINT_IDREF |
( |
|
__set, |
|
|
|
__rsc, |
|
|
|
__name |
|
) |
| |
Value:do { \
__rsc = pe_find_constraint_resource(data_set->resources, __name); \
return FALSE; \
} \
} while(0)
#define pcmk__config_err(fmt...)
Definition at line 35 of file pcmk_sched_constraints.c.
Enumerator |
---|
pe_order_kind_optional |
|
pe_order_kind_mandatory |
|
pe_order_kind_serialize |
|
Definition at line 29 of file pcmk_sched_constraints.c.
enum pe_ordering get_flags |
( |
const char * |
id, |
|
|
enum pe_order_kind |
kind, |
|
|
const char * |
action_first, |
|
|
const char * |
action_then, |
|
|
gboolean |
invert |
|
) |
| |
void pcmk__new_colocation |
( |
const char * |
id, |
|
|
const char * |
node_attr, |
|
|
int |
score, |
|
|
pe_resource_t * |
rsc_lh, |
|
|
pe_resource_t * |
rsc_rh, |
|
|
const char * |
state_lh, |
|
|
const char * |
state_rh, |
|
|
bool |
influence, |
|
|
pe_working_set_t * |
data_set |
|
) |
| |
gboolean unpack_constraints |
( |
xmlNode * |
xml_constraints, |
|
|
pe_working_set_t * |
data_set |
|
) |
| |