pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_constraints.c File Reference
#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>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_constraints.c:

Go to the source code of this file.

Functions

void pcmk__unpack_constraints (pe_working_set_t *data_set)
 
pe_resource_tpcmk__find_constraint_resource (GList *rsc_list, const char *id)
 
bool pcmk__valid_resource_or_tag (pe_working_set_t *data_set, const char *id, pe_resource_t **rsc, pe_tag_t **tag)
 
xmlNode * pcmk__expand_tags_in_sets (xmlNode *xml_obj, pe_working_set_t *data_set)
 
bool pcmk__tag_to_set (xmlNode *xml_obj, xmlNode **rsc_set, const char *attr, bool convert_rsc, pe_working_set_t *data_set)
 
void pcmk__create_internal_constraints (pe_working_set_t *data_set)
 

Function Documentation

◆ pcmk__create_internal_constraints()

void pcmk__create_internal_constraints ( pe_working_set_t data_set)

Definition at line 412 of file pcmk_sched_constraints.c.

◆ pcmk__expand_tags_in_sets()

xmlNode* pcmk__expand_tags_in_sets ( xmlNode *  xml_obj,
pe_working_set_t data_set 
)

Definition at line 214 of file pcmk_sched_constraints.c.

◆ pcmk__find_constraint_resource()

pe_resource_t* pcmk__find_constraint_resource ( GList *  rsc_list,
const char *  id 
)

Definition at line 106 of file pcmk_sched_constraints.c.

◆ pcmk__tag_to_set()

bool pcmk__tag_to_set ( xmlNode *  xml_obj,
xmlNode **  rsc_set,
const char *  attr,
bool  convert_rsc,
pe_working_set_t data_set 
)

Definition at line 332 of file pcmk_sched_constraints.c.

◆ pcmk__unpack_constraints()

void pcmk__unpack_constraints ( pe_working_set_t data_set)

Definition at line 56 of file pcmk_sched_constraints.c.

◆ pcmk__valid_resource_or_tag()

bool pcmk__valid_resource_or_tag ( pe_working_set_t data_set,
const char *  id,
pe_resource_t **  rsc,
pe_tag_t **  tag 
)

Definition at line 182 of file pcmk_sched_constraints.c.