pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdlib.h>
#include <string.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
Functions | |
bool | pcmk__rsc_agent_changed (pcmk_resource_t *rsc, pcmk_node_t *node, const xmlNode *rsc_entry, bool active_on_node) |
GList * | pcmk__rscs_matching_id (const char *id, const pcmk_scheduler_t *scheduler) |
void | pcmk__set_assignment_methods (pcmk_scheduler_t *scheduler) |
GList * | pcmk__colocated_resources (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *colocated_rscs) |
void | pcmk__noop_add_graph_meta (const pcmk_resource_t *rsc, xmlNode *xml) |
void | pcmk__output_resource_actions (pcmk_resource_t *rsc) |
bool | pcmk__assign_resource (pcmk_resource_t *rsc, pcmk_node_t *node, bool force, bool stop_if_fail) |
void | pcmk__unassign_resource (pcmk_resource_t *rsc) |
bool | pcmk__threshold_reached (pcmk_resource_t *rsc, const pcmk_node_t *node, pcmk_resource_t **failed) |
void | pcmk__sort_resources (pcmk_scheduler_t *scheduler) |
bool pcmk__assign_resource | ( | pcmk_resource_t * | rsc, |
pcmk_node_t * | node, | ||
bool | force, | ||
bool | stop_if_fail | ||
) |
Definition at line 404 of file pcmk_sched_resource.c.
GList* pcmk__colocated_resources | ( | const pcmk_resource_t * | rsc, |
const pcmk_resource_t * | orig_rsc, | ||
GList * | colocated_rscs | ||
) |
Definition at line 242 of file pcmk_sched_resource.c.
void pcmk__noop_add_graph_meta | ( | const pcmk_resource_t * | rsc, |
xmlNode * | xml | ||
) |
Definition at line 306 of file pcmk_sched_resource.c.
void pcmk__output_resource_actions | ( | pcmk_resource_t * | rsc | ) |
Definition at line 317 of file pcmk_sched_resource.c.
bool pcmk__rsc_agent_changed | ( | pcmk_resource_t * | rsc, |
pcmk_node_t * | node, | ||
const xmlNode * | rsc_entry, | ||
bool | active_on_node | ||
) |
Definition at line 111 of file pcmk_sched_resource.c.
GList* pcmk__rscs_matching_id | ( | const char * | id, |
const pcmk_scheduler_t * | scheduler | ||
) |
Definition at line 183 of file pcmk_sched_resource.c.
void pcmk__set_assignment_methods | ( | pcmk_scheduler_t * | scheduler | ) |
Definition at line 218 of file pcmk_sched_resource.c.
void pcmk__sort_resources | ( | pcmk_scheduler_t * | scheduler | ) |
Definition at line 765 of file pcmk_sched_resource.c.
bool pcmk__threshold_reached | ( | pcmk_resource_t * | rsc, |
const pcmk_node_t * | node, | ||
pcmk_resource_t ** | failed | ||
) |
Definition at line 571 of file pcmk_sched_resource.c.
void pcmk__unassign_resource | ( | pcmk_resource_t * | rsc | ) |
Definition at line 525 of file pcmk_sched_resource.c.