pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_location.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/pengine/status.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_location.c:

Go to the source code of this file.

Functions

void pcmk__unpack_location (xmlNode *xml_obj, pe_working_set_t *data_set)
 
pe__location_tpcmk__new_location (const char *id, pe_resource_t *rsc, int node_weight, const char *discover_mode, pe_node_t *node, pe_working_set_t *data_set)
 
void pcmk__apply_locations (pe_working_set_t *data_set)
 
void pcmk__apply_location (pe__location_t *constraint, pe_resource_t *rsc)
 

Function Documentation

◆ pcmk__apply_location()

void pcmk__apply_location ( pe__location_t constraint,
pe_resource_t rsc 
)

Definition at line 616 of file pcmk_sched_location.c.

◆ pcmk__apply_locations()

void pcmk__apply_locations ( pe_working_set_t data_set)

Definition at line 598 of file pcmk_sched_location.c.

◆ pcmk__new_location()

pe__location_t* pcmk__new_location ( const char *  id,
pe_resource_t rsc,
int  node_weight,
const char *  discover_mode,
pe_node_t node,
pe_working_set_t data_set 
)

Definition at line 539 of file pcmk_sched_location.c.

◆ pcmk__unpack_location()

void pcmk__unpack_location ( xmlNode *  xml_obj,
pe_working_set_t data_set 
)

Definition at line 481 of file pcmk_sched_location.c.