pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Macros | Functions
pcmk_sched_bundle.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <crm/common/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='" PCMK_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)
 
int 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, pcmk__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='" PCMK_REMOTE_RA_ADDR "']"

Definition at line 773 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 690 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 848 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 1033 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_apply_coloc_score()

int 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 525 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_apply_location()

void pcmk__bundle_apply_location ( pcmk_resource_t rsc,
pcmk__location_t location 
)

Definition at line 754 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 982 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 1058 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 638 of file pcmk_sched_bundle.c.

◆ pcmk__output_bundle_actions()

void pcmk__output_bundle_actions ( pcmk_resource_t rsc)

Definition at line 1025 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 594 of file pcmk_sched_bundle.c.