![]() |
pacemaker
1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <crm/crm.h>#include <crm/msg_xml.h>#include <crm/common/xml.h>#include <crm/common/util.h>#include <glib.h>#include <crm/pengine/rules.h>#include <crm/pengine/internal.h>#include <unpack.h>
Go to the source code of this file.
Macros | |
| #define | sort_return(an_int, why) |
| #define | STONITH_DIGEST_TASK "stonith-on" |
Functions | |
| xmlNode * | get_object_root (const char *object_type, xmlNode *the_root) |
| void | print_str_str (gpointer key, gpointer value, gpointer user_data) |
| gboolean | ghash_free_str_str (gpointer key, gpointer value, gpointer user_data) |
| void | unpack_operation (action_t *action, xmlNode *xml_obj, resource_t *container, pe_working_set_t *data_set) |
| bool | pe_can_fence (pe_working_set_t *data_set, node_t *node) |
| node_t * | node_copy (const node_t *this_node) |
| void | node_list_exclude (GHashTable *hash, GListPtr list, gboolean merge_scores) |
| GHashTable * | node_hash_from_list (GListPtr list) |
| GListPtr | node_list_dup (GListPtr list1, gboolean reset, gboolean filter) |
| gint | sort_node_uname (gconstpointer a, gconstpointer b) |
| void | dump_node_scores_worker (int level, const char *file, const char *function, int line, resource_t *rsc, const char *comment, GHashTable *nodes) |
| void | dump_node_capacity (int level, const char *comment, node_t *node) |
| void | dump_rsc_utilization (int level, const char *comment, resource_t *rsc, node_t *node) |
| gint | sort_rsc_index (gconstpointer a, gconstpointer b) |
| gint | sort_rsc_priority (gconstpointer a, gconstpointer b) |
| action_t * | custom_action (resource_t *rsc, char *key, const char *task, node_t *on_node, gboolean optional, gboolean save_action, pe_working_set_t *data_set) |
| int | pe_get_configured_timeout (resource_t *rsc, const char *action, pe_working_set_t *data_set) |
| xmlNode * | find_rsc_op_entry (resource_t *rsc, const char *key) |
| void | print_node (const char *pre_text, node_t *node, gboolean details) |
| void | print_resource (int log_level, const char *pre_text, resource_t *rsc, gboolean details) |
| void | pe_free_action (action_t *action) |
| GListPtr | find_recurring_actions (GListPtr input, node_t *not_on_node) |
| enum action_tasks | get_complex_task (resource_t *rsc, const char *name, gboolean allow_non_atomic) |
| action_t * | find_first_action (GListPtr input, const char *uuid, const char *task, node_t *on_node) |
| GListPtr | find_actions (GListPtr input, const char *key, const node_t *on_node) |
| GListPtr | find_actions_exact (GListPtr input, const char *key, node_t *on_node) |
| void | resource_location (resource_t *rsc, node_t *node, int score, const char *tag, pe_working_set_t *data_set) |
| gint | sort_op_by_callid (gconstpointer a, gconstpointer b) |
| time_t | get_effective_time (pe_working_set_t *data_set) |
| gboolean | get_target_role (resource_t *rsc, enum rsc_role_e *role) |
| gboolean | order_actions (action_t *lh_action, action_t *rh_action, enum pe_ordering order) |
| action_t * | get_pseudo_op (const char *name, pe_working_set_t *data_set) |
| void | destroy_ticket (gpointer data) |
| ticket_t * | ticket_new (const char *ticket_id, pe_working_set_t *data_set) |
| op_digest_cache_t * | rsc_action_digest_cmp (resource_t *rsc, xmlNode *xml_op, node_t *node, pe_working_set_t *data_set) |
| const char * | rsc_printable_id (resource_t *rsc) |
| void | clear_bit_recursive (resource_t *rsc, unsigned long long flag) |
| void | set_bit_recursive (resource_t *rsc, unsigned long long flag) |
| action_t * | pe_fence_op (node_t *node, const char *op, bool optional, const char *reason, pe_working_set_t *data_set) |
| void | trigger_unfencing (resource_t *rsc, node_t *node, const char *reason, action_t *dependency, pe_working_set_t *data_set) |
| gboolean | add_tag_ref (GHashTable *tags, const char *tag_name, const char *obj_ref) |
| void | pe_action_set_flag_reason (const char *function, long line, pe_action_t *action, pe_action_t *reason, const char *text, enum pe_action_flags flags, bool overwrite) |
| void | pe_action_set_reason (pe_action_t *action, const char *reason, bool overwrite) |
Variables | |
| pe_working_set_t * | pe_dataset = NULL |
| #define sort_return | ( | an_int, | |
| why | |||
| ) |
| gboolean add_tag_ref | ( | GHashTable * | tags, |
| const char * | tag_name, | ||
| const char * | obj_ref | ||
| ) |
| void clear_bit_recursive | ( | resource_t * | rsc, |
| unsigned long long | flag | ||
| ) |
| action_t* custom_action | ( | resource_t * | rsc, |
| char * | key, | ||
| const char * | task, | ||
| node_t * | on_node, | ||
| gboolean | optional, | ||
| gboolean | save_action, | ||
| pe_working_set_t * | data_set | ||
| ) |
| void dump_node_capacity | ( | int | level, |
| const char * | comment, | ||
| node_t * | node | ||
| ) |
| void dump_node_scores_worker | ( | int | level, |
| const char * | file, | ||
| const char * | function, | ||
| int | line, | ||
| resource_t * | rsc, | ||
| const char * | comment, | ||
| GHashTable * | nodes | ||
| ) |
| void dump_rsc_utilization | ( | int | level, |
| const char * | comment, | ||
| resource_t * | rsc, | ||
| node_t * | node | ||
| ) |
| xmlNode* find_rsc_op_entry | ( | resource_t * | rsc, |
| const char * | key | ||
| ) |
| enum action_tasks get_complex_task | ( | resource_t * | rsc, |
| const char * | name, | ||
| gboolean | allow_non_atomic | ||
| ) |
| time_t get_effective_time | ( | pe_working_set_t * | data_set | ) |
| xmlNode* get_object_root | ( | const char * | object_type, |
| xmlNode * | the_root | ||
| ) |
Definition at line 230 of file cib_utils.c.
| action_t* get_pseudo_op | ( | const char * | name, |
| pe_working_set_t * | data_set | ||
| ) |
| gboolean get_target_role | ( | resource_t * | rsc, |
| enum rsc_role_e * | role | ||
| ) |
| gboolean ghash_free_str_str | ( | gpointer | key, |
| gpointer | value, | ||
| gpointer | user_data | ||
| ) |
| void node_list_exclude | ( | GHashTable * | hash, |
| GListPtr | list, | ||
| gboolean | merge_scores | ||
| ) |
| gboolean order_actions | ( | action_t * | lh_action, |
| action_t * | rh_action, | ||
| enum pe_ordering | order | ||
| ) |
| void pe_action_set_flag_reason | ( | const char * | function, |
| long | line, | ||
| pe_action_t * | action, | ||
| pe_action_t * | reason, | ||
| const char * | text, | ||
| enum pe_action_flags | flags, | ||
| bool | overwrite | ||
| ) |
| void pe_action_set_reason | ( | pe_action_t * | action, |
| const char * | reason, | ||
| bool | overwrite | ||
| ) |
| bool pe_can_fence | ( | pe_working_set_t * | data_set, |
| node_t * | node | ||
| ) |
| action_t* pe_fence_op | ( | node_t * | node, |
| const char * | op, | ||
| bool | optional, | ||
| const char * | reason, | ||
| pe_working_set_t * | data_set | ||
| ) |
| int pe_get_configured_timeout | ( | resource_t * | rsc, |
| const char * | action, | ||
| pe_working_set_t * | data_set | ||
| ) |
| void print_node | ( | const char * | pre_text, |
| node_t * | node, | ||
| gboolean | details | ||
| ) |
| void print_resource | ( | int | log_level, |
| const char * | pre_text, | ||
| resource_t * | rsc, | ||
| gboolean | details | ||
| ) |
| void print_str_str | ( | gpointer | key, |
| gpointer | value, | ||
| gpointer | user_data | ||
| ) |
| void resource_location | ( | resource_t * | rsc, |
| node_t * | node, | ||
| int | score, | ||
| const char * | tag, | ||
| pe_working_set_t * | data_set | ||
| ) |
| op_digest_cache_t* rsc_action_digest_cmp | ( | resource_t * | rsc, |
| xmlNode * | xml_op, | ||
| node_t * | node, | ||
| pe_working_set_t * | data_set | ||
| ) |
| const char* rsc_printable_id | ( | resource_t * | rsc | ) |
| void set_bit_recursive | ( | resource_t * | rsc, |
| unsigned long long | flag | ||
| ) |
| gint sort_op_by_callid | ( | gconstpointer | a, |
| gconstpointer | b | ||
| ) |
| ticket_t* ticket_new | ( | const char * | ticket_id, |
| pe_working_set_t * | data_set | ||
| ) |
| void trigger_unfencing | ( | resource_t * | rsc, |
| node_t * | node, | ||
| const char * | reason, | ||
| action_t * | dependency, | ||
| pe_working_set_t * | data_set | ||
| ) |
| void unpack_operation | ( | action_t * | action, |
| xmlNode * | xml_obj, | ||
| resource_t * | container, | ||
| pe_working_set_t * | data_set | ||
| ) |
| pe_working_set_t* pe_dataset = NULL |
1.8.5