pacemaker  2.1.7-0f7f88312f
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 <crm/pengine/rules.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, pcmk_scheduler_t *scheduler)
 
pe__location_tpcmk__new_location (const char *id, pcmk_resource_t *rsc, int node_score, const char *discover_mode, pcmk_node_t *node)
 
void pcmk__apply_locations (pcmk_scheduler_t *scheduler)
 
void pcmk__apply_location (pcmk_resource_t *rsc, pe__location_t *location)
 

Function Documentation

◆ pcmk__apply_location()

void pcmk__apply_location ( pcmk_resource_t rsc,
pe__location_t location 
)

Definition at line 621 of file pcmk_sched_location.c.

◆ pcmk__apply_locations()

void pcmk__apply_locations ( pcmk_scheduler_t scheduler)

Definition at line 600 of file pcmk_sched_location.c.

◆ pcmk__new_location()

pe__location_t* pcmk__new_location ( const char *  id,
pcmk_resource_t rsc,
int  node_score,
const char *  discover_mode,
pcmk_node_t node 
)

Definition at line 538 of file pcmk_sched_location.c.

◆ pcmk__unpack_location()

void pcmk__unpack_location ( xmlNode *  xml_obj,
pcmk_scheduler_t scheduler 
)

Definition at line 481 of file pcmk_sched_location.c.