pacemaker  2.1.5-b7adf64e51
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_resource_t *rsc, pe__location_t *location)
 

Function Documentation

◆ pcmk__apply_location()

void pcmk__apply_location ( pe_resource_t rsc,
pe__location_t location 
)

Definition at line 623 of file pcmk_sched_location.c.

◆ pcmk__apply_locations()

void pcmk__apply_locations ( pe_working_set_t data_set)

Definition at line 602 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.