pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Macros | Functions
pcmk_sched_bundle.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_bundle.c:

Go to the source code of this file.

Macros

#define XPATH_REMOTE   "//nvpair[@name='" XML_RSC_ATTR_REMOTE_RA_ADDR "']"
 

Functions

pcmk_node_tpcmk__bundle_assign (pcmk_resource_t *rsc, const pcmk_node_t *prefer, bool stop_if_fail)
 
void pcmk__bundle_create_actions (pcmk_resource_t *rsc)
 
void pcmk__bundle_internal_constraints (pcmk_resource_t *rsc)
 
void pcmk__bundle_apply_coloc_score (pcmk_resource_t *dependent, const pcmk_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
void pcmk__with_bundle_colocations (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)
 
void pcmk__bundle_with_colocations (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)
 
uint32_t pcmk__bundle_action_flags (pcmk_action_t *action, const pcmk_node_t *node)
 
void pcmk__bundle_apply_location (pcmk_resource_t *rsc, pe__location_t *location)
 
void pcmk__bundle_add_actions_to_graph (pcmk_resource_t *rsc)
 
bool pcmk__bundle_create_probe (pcmk_resource_t *rsc, pcmk_node_t *node)
 
void pcmk__output_bundle_actions (pcmk_resource_t *rsc)
 
void pcmk__bundle_add_utilization (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void pcmk__bundle_shutdown_lock (pcmk_resource_t *rsc)
 

Macro Definition Documentation

◆ XPATH_REMOTE

#define XPATH_REMOTE   "//nvpair[@name='" XML_RSC_ATTR_REMOTE_RA_ADDR "']"

Definition at line 767 of file pcmk_sched_bundle.c.

Function Documentation

◆ pcmk__bundle_action_flags()

uint32_t pcmk__bundle_action_flags ( pcmk_action_t action,
const pcmk_node_t node 
)

Definition at line 682 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_add_actions_to_graph()

void pcmk__bundle_add_actions_to_graph ( pcmk_resource_t rsc)

Definition at line 845 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_add_utilization()

void pcmk__bundle_add_utilization ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList *  all_rscs,
GHashTable *  utilization 
)

Definition at line 1029 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_apply_coloc_score()

void pcmk__bundle_apply_coloc_score ( pcmk_resource_t dependent,
const pcmk_resource_t primary,
const pcmk__colocation_t colocation,
bool  for_dependent 
)

Definition at line 517 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_apply_location()

void pcmk__bundle_apply_location ( pcmk_resource_t rsc,
pe__location_t location 
)

Definition at line 747 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_assign()

pcmk_node_t* pcmk__bundle_assign ( pcmk_resource_t rsc,
const pcmk_node_t prefer,
bool  stop_if_fail 
)

Definition at line 111 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_create_actions()

void pcmk__bundle_create_actions ( pcmk_resource_t rsc)

Definition at line 188 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_create_probe()

bool pcmk__bundle_create_probe ( pcmk_resource_t rsc,
pcmk_node_t node 
)

Definition at line 978 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_internal_constraints()

void pcmk__bundle_internal_constraints ( pcmk_resource_t rsc)

Definition at line 297 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_shutdown_lock()

void pcmk__bundle_shutdown_lock ( pcmk_resource_t rsc)

Definition at line 1054 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_with_colocations()

void pcmk__bundle_with_colocations ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList **  list 
)

Definition at line 629 of file pcmk_sched_bundle.c.

◆ pcmk__output_bundle_actions()

void pcmk__output_bundle_actions ( pcmk_resource_t rsc)

Definition at line 1021 of file pcmk_sched_bundle.c.

◆ pcmk__with_bundle_colocations()

void pcmk__with_bundle_colocations ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList **  list 
)

Definition at line 584 of file pcmk_sched_bundle.c.