pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdint.h>
#include <crm/common/xml_internal.h>
#include <crm/common/output.h>
#include <crm/common/scheduler_internal.h>
#include <crm/cib/util.h>
#include <crm/msg_xml.h>
#include <crm/pengine/internal.h>
Go to the source code of this file.
Macros | |
#define | FILTER_STR |
#define | bv(flag) pcmk__btoa(pcmk_is_set(scheduler->flags, (flag))) |
Functions | |
const char * | pe__resource_description (const pcmk_resource_t *rsc, uint32_t show_opts) |
PCMK__OUTPUT_ARGS ("cluster-summary", "pcmk_scheduler_t *", "enum pcmk_pacemakerd_state", "uint32_t", "uint32_t") | |
char * | pe__node_display_name (pcmk_node_t *node, bool print_detail) |
int | pe__name_and_nvpairs_xml (pcmk__output_t *out, bool is_list, const char *tag_name, size_t pairs_count,...) |
PCMK__OUTPUT_ARGS ("ban-list", "pcmk_scheduler_t *", "const char *", "GList *", "uint32_t", "bool") | |
PCMK__OUTPUT_ARGS ("cluster-dc", "pcmk_node_t *", "const char *", "const char *", "char *", "int") | |
PCMK__OUTPUT_ARGS ("cluster-times", "const char *", "const char *", "const char *", "const char *", "const char *") | |
PCMK__OUTPUT_ARGS ("failed-action-list", "pcmk_scheduler_t *", "GList *", "GList *", "uint32_t", "bool") | |
PCMK__OUTPUT_ARGS ("node", "pcmk_node_t *", "uint32_t", "bool", "GList *", "GList *") | |
PCMK__OUTPUT_ARGS ("node-attribute-list", "pcmk_scheduler_t *", "uint32_t", "bool", "GList *", "GList *") | |
PCMK__OUTPUT_ARGS ("node-history-list", "pcmk_scheduler_t *", "pcmk_node_t *", "xmlNodePtr", "GList *", "GList *", "uint32_t", "uint32_t") | |
PCMK__OUTPUT_ARGS ("node-summary", "pcmk_scheduler_t *", "GList *", "GList *", "uint32_t", "uint32_t", "bool") | |
PCMK__OUTPUT_ARGS ("node-weight", "const pcmk_resource_t *", "const char *", "const char *", "const char *") | |
PCMK__OUTPUT_ARGS ("promotion-score", "pcmk_resource_t *", "pcmk_node_t *", "const char *") | |
PCMK__OUTPUT_ARGS ("resource-history", "pcmk_resource_t *", "const char *", "bool", "int", "time_t", "bool") | |
PCMK__OUTPUT_ARGS ("resource-list", "pcmk_scheduler_t *", "uint32_t", "bool", "GList *", "GList *", "bool") | |
PCMK__OUTPUT_ARGS ("resource-operation-list", "pcmk_scheduler_t *", "pcmk_resource_t *", "pcmk_node_t *", "GList *", "uint32_t") | |
PCMK__OUTPUT_ARGS ("resource-util", "pcmk_resource_t *", "pcmk_node_t *", "const char *") | |
void | pe__register_messages (pcmk__output_t *out) |
#define bv | ( | flag | ) | pcmk__btoa(pcmk_is_set(scheduler->flags, (flag))) |
Definition at line 1099 of file pe_output.c.
#define FILTER_STR |
Definition at line 33 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "cluster-summary" | , |
"pcmk_scheduler_t *" | , | ||
"enum pcmk_pacemakerd_state" | , | ||
"uint32_t" | , | ||
"uint32_t" | |||
) |
Definition at line 389 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "ban-list" | , |
"pcmk_scheduler_t *" | , | ||
"const char *" | , | ||
"GList *" | , | ||
"uint32_t" | , | ||
"bool" | |||
) |
Definition at line 704 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "cluster-dc" | , |
"pcmk_node_t *" | , | ||
"const char *" | , | ||
"const char *" | , | ||
"char *" | , | ||
"int" | |||
) |
Definition at line 874 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "cluster-times" | , |
"const char *" | , | ||
"const char *" | , | ||
"const char *" | , | ||
"const char *" | , | ||
"const char *" | |||
) |
Definition at line 1209 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "failed-action-list" | , |
"pcmk_scheduler_t *" | , | ||
"GList *" | , | ||
"GList *" | , | ||
"uint32_t" | , | ||
"bool" | |||
) |
Definition at line 1544 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "node" | , |
"pcmk_node_t *" | , | ||
"uint32_t" | , | ||
"bool" | , | ||
"GList *" | , | ||
"GList *" | |||
) |
Definition at line 1646 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "node-attribute-list" | , |
"pcmk_scheduler_t *" | , | ||
"uint32_t" | , | ||
"bool" | , | ||
"GList *" | , | ||
"GList *" | |||
) |
Definition at line 2136 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "node-history-list" | , |
"pcmk_scheduler_t *" | , | ||
"pcmk_node_t *" | , | ||
"xmlNodePtr" | , | ||
"GList *" | , | ||
"GList *" | , | ||
"uint32_t" | , | ||
"uint32_t" | |||
) |
Definition at line 2235 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "node-summary" | , |
"pcmk_scheduler_t *" | , | ||
"GList *" | , | ||
"GList *" | , | ||
"uint32_t" | , | ||
"uint32_t" | , | ||
"bool" | |||
) |
Definition at line 2480 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "node-weight" | , |
"const pcmk_resource_t *" | , | ||
"const char *" | , | ||
"const char *" | , | ||
"const char *" | |||
) |
Definition at line 2524 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "promotion-score" | , |
"pcmk_resource_t *" | , | ||
"pcmk_node_t *" | , | ||
"const char *" | |||
) |
Definition at line 2637 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "resource-history" | , |
"pcmk_resource_t *" | , | ||
"const char *" | , | ||
"bool" | , | ||
"int" | , | ||
"time_t" | , | ||
"bool" | |||
) |
Definition at line 2703 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "resource-list" | , |
"pcmk_scheduler_t *" | , | ||
"uint32_t" | , | ||
"bool" | , | ||
"GList *" | , | ||
"GList *" | , | ||
"bool" | |||
) |
Definition at line 2787 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "resource-operation-list" | , |
"pcmk_scheduler_t *" | , | ||
"pcmk_resource_t *" | , | ||
"pcmk_node_t *" | , | ||
"GList *" | , | ||
"uint32_t" | |||
) |
Definition at line 2896 of file pe_output.c.
PCMK__OUTPUT_ARGS | ( | "resource-util" | , |
"pcmk_resource_t *" | , | ||
"pcmk_node_t *" | , | ||
"const char *" | |||
) |
Definition at line 2951 of file pe_output.c.
int pe__name_and_nvpairs_xml | ( | pcmk__output_t * | out, |
bool | is_list, | ||
const char * | tag_name, | ||
size_t | pairs_count, | ||
... | |||
) |
Definition at line 597 of file pe_output.c.
char* pe__node_display_name | ( | pcmk_node_t * | node, |
bool | print_detail | ||
) |
Definition at line 544 of file pe_output.c.
void pe__register_messages | ( | pcmk__output_t * | out | ) |
Definition at line 3162 of file pe_output.c.
const char* pe__resource_description | ( | const pcmk_resource_t * | rsc, |
uint32_t | show_opts | ||
) |
Definition at line 22 of file pe_output.c.