pacemaker  2.1.7-0f7f88312f
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 (pcmk_scheduler_t *scheduler)
 
pcmk_resource_tpcmk__find_constraint_resource (GList *rsc_list, const char *id)
 
bool pcmk__valid_resource_or_tag (const pcmk_scheduler_t *scheduler, const char *id, pcmk_resource_t **rsc, pcmk_tag_t **tag)
 
xmlNode * pcmk__expand_tags_in_sets (xmlNode *xml_obj, const pcmk_scheduler_t *scheduler)
 
bool pcmk__tag_to_set (xmlNode *xml_obj, xmlNode **rsc_set, const char *attr, bool convert_rsc, const pcmk_scheduler_t *scheduler)
 
void pcmk__create_internal_constraints (pcmk_scheduler_t *scheduler)
 

Function Documentation

◆ pcmk__create_internal_constraints()

void pcmk__create_internal_constraints ( pcmk_scheduler_t scheduler)

Definition at line 416 of file pcmk_sched_constraints.c.

◆ pcmk__expand_tags_in_sets()

xmlNode* pcmk__expand_tags_in_sets ( xmlNode *  xml_obj,
const pcmk_scheduler_t scheduler 
)

Definition at line 217 of file pcmk_sched_constraints.c.

◆ pcmk__find_constraint_resource()

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

Definition at line 107 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,
const pcmk_scheduler_t scheduler 
)

Definition at line 335 of file pcmk_sched_constraints.c.

◆ pcmk__unpack_constraints()

void pcmk__unpack_constraints ( pcmk_scheduler_t scheduler)

Definition at line 56 of file pcmk_sched_constraints.c.

◆ pcmk__valid_resource_or_tag()

bool pcmk__valid_resource_or_tag ( const pcmk_scheduler_t scheduler,
const char *  id,
pcmk_resource_t **  rsc,
pcmk_tag_t **  tag 
)

Definition at line 185 of file pcmk_sched_constraints.c.