pacemaker  2.1.6-802a72226b
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 <lib/pengine/variant.h>
Include dependency graph for pcmk_sched_bundle.c:

Go to the source code of this file.

Macros

#define PE__VARIANT_BUNDLE   1
 

Functions

pe_node_tpcmk__bundle_allocate (pe_resource_t *rsc, const pe_node_t *prefer)
 
void pcmk__bundle_create_actions (pe_resource_t *rsc)
 
void pcmk__bundle_internal_constraints (pe_resource_t *rsc)
 
int copies_per_node (pe_resource_t *rsc)
 
void pcmk__bundle_apply_coloc_score (pe_resource_t *dependent, const pe_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
void pcmk__with_bundle_colocations (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList **list)
 
void pcmk__bundle_with_colocations (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList **list)
 
enum pe_action_flags pcmk__bundle_action_flags (pe_action_t *action, const pe_node_t *node)
 
const pe_resource_tpcmk__get_rsc_in_container (const pe_resource_t *instance)
 
void pcmk__bundle_rsc_location (pe_resource_t *rsc, pe__location_t *constraint)
 
void pcmk__bundle_expand (pe_resource_t *rsc)
 
bool pcmk__bundle_create_probe (pe_resource_t *rsc, pe_node_t *node)
 
void pcmk__output_bundle_actions (pe_resource_t *rsc)
 
void pcmk__bundle_add_utilization (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void pcmk__bundle_shutdown_lock (pe_resource_t *rsc)
 

Macro Definition Documentation

◆ PE__VARIANT_BUNDLE

#define PE__VARIANT_BUNDLE   1

Definition at line 19 of file pcmk_sched_bundle.c.

Function Documentation

◆ copies_per_node()

int copies_per_node ( pe_resource_t rsc)

Definition at line 368 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_action_flags()

enum pe_action_flags pcmk__bundle_action_flags ( pe_action_t action,
const pe_node_t node 
)

Definition at line 549 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_add_utilization()

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

Definition at line 844 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_allocate()

pe_node_t* pcmk__bundle_allocate ( pe_resource_t rsc,
const pe_node_t prefer 
)

Definition at line 45 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_apply_coloc_score()

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

Definition at line 423 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_create_actions()

void pcmk__bundle_create_actions ( pe_resource_t rsc)

Definition at line 141 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_create_probe()

bool pcmk__bundle_create_probe ( pe_resource_t rsc,
pe_node_t node 
)

Definition at line 730 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_expand()

void pcmk__bundle_expand ( pe_resource_t rsc)

Definition at line 648 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_internal_constraints()

void pcmk__bundle_internal_constraints ( pe_resource_t rsc)

Definition at line 189 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_rsc_location()

void pcmk__bundle_rsc_location ( pe_resource_t rsc,
pe__location_t constraint 
)

Definition at line 611 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_shutdown_lock()

void pcmk__bundle_shutdown_lock ( pe_resource_t rsc)

Definition at line 873 of file pcmk_sched_bundle.c.

◆ pcmk__bundle_with_colocations()

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

Definition at line 532 of file pcmk_sched_bundle.c.

◆ pcmk__get_rsc_in_container()

const pe_resource_t* pcmk__get_rsc_in_container ( const pe_resource_t instance)

Definition at line 590 of file pcmk_sched_bundle.c.

◆ pcmk__output_bundle_actions()

void pcmk__output_bundle_actions ( pe_resource_t rsc)

Definition at line 815 of file pcmk_sched_bundle.c.

◆ pcmk__with_bundle_colocations()

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

Definition at line 514 of file pcmk_sched_bundle.c.