pacemaker  2.1.6-802a72226b
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_clone.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_clone.c:

Go to the source code of this file.

Functions

pe_node_tpcmk__clone_assign (pe_resource_t *rsc, const pe_node_t *prefer)
 
void clone_create_actions (pe_resource_t *rsc)
 
void clone_internal_constraints (pe_resource_t *rsc)
 
void pcmk__clone_apply_coloc_score (pe_resource_t *dependent, const pe_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
void pcmk__with_clone_colocations (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList **list)
 
void pcmk__clone_with_colocations (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList **list)
 
enum pe_action_flags clone_action_flags (pe_action_t *action, const pe_node_t *node)
 
void clone_rsc_location (pe_resource_t *rsc, pe__location_t *constraint)
 
void clone_expand (pe_resource_t *rsc)
 
bool clone_create_probe (pe_resource_t *rsc, pe_node_t *node)
 
void clone_append_meta (const pe_resource_t *rsc, xmlNode *xml)
 
void pcmk__clone_add_utilization (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void pcmk__clone_shutdown_lock (pe_resource_t *rsc)
 

Function Documentation

◆ clone_action_flags()

enum pe_action_flags clone_action_flags ( pe_action_t action,
const pe_node_t node 
)

Definition at line 376 of file pcmk_sched_clone.c.

◆ clone_append_meta()

void clone_append_meta ( const pe_resource_t rsc,
xmlNode *  xml 
)

Definition at line 549 of file pcmk_sched_clone.c.

◆ clone_create_actions()

void clone_create_actions ( pe_resource_t rsc)

Definition at line 144 of file pcmk_sched_clone.c.

◆ clone_create_probe()

bool clone_create_probe ( pe_resource_t rsc,
pe_node_t node 
)

Definition at line 514 of file pcmk_sched_clone.c.

◆ clone_expand()

void clone_expand ( pe_resource_t rsc)

Definition at line 404 of file pcmk_sched_clone.c.

◆ clone_internal_constraints()

void clone_internal_constraints ( pe_resource_t rsc)

Definition at line 157 of file pcmk_sched_clone.c.

◆ clone_rsc_location()

void clone_rsc_location ( pe_resource_t rsc,
pe__location_t constraint 
)

Definition at line 382 of file pcmk_sched_clone.c.

◆ pcmk__clone_add_utilization()

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

Definition at line 596 of file pcmk_sched_clone.c.

◆ pcmk__clone_apply_coloc_score()

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

Definition at line 223 of file pcmk_sched_clone.c.

◆ pcmk__clone_assign()

pe_node_t* pcmk__clone_assign ( pe_resource_t rsc,
const pe_node_t prefer 
)

Definition at line 27 of file pcmk_sched_clone.c.

◆ pcmk__clone_shutdown_lock()

void pcmk__clone_shutdown_lock ( pe_resource_t rsc)

Definition at line 640 of file pcmk_sched_clone.c.

◆ pcmk__clone_with_colocations()

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

Definition at line 363 of file pcmk_sched_clone.c.

◆ pcmk__with_clone_colocations()

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

Definition at line 349 of file pcmk_sched_clone.c.