pacemaker  2.1.6-802a72226b
Scalable High-Availability cluster resource manager
Macros | Functions
pe_output.c File Reference
#include <crm_internal.h>
#include <stdint.h>
#include <crm/common/xml_internal.h>
#include <crm/common/output.h>
#include <crm/cib/util.h>
#include <crm/msg_xml.h>
#include <crm/pengine/internal.h>
Include dependency graph for pe_output.c:

Go to the source code of this file.

Macros

#define FILTER_STR
 

Functions

const char * pe__resource_description (const pe_resource_t *rsc, uint32_t show_opts)
 
 PCMK__OUTPUT_ARGS ("cluster-summary", "pe_working_set_t *", "enum pcmk_pacemakerd_state", "uint32_t", "uint32_t")
 
char * pe__node_display_name (pe_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", "pe_working_set_t *", "const char *", "GList *", "uint32_t", "bool")
 
 PCMK__OUTPUT_ARGS ("cluster-dc", "pe_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", "pe_working_set_t *", "GList *", "GList *", "uint32_t", "bool")
 
 PCMK__OUTPUT_ARGS ("node", "pe_node_t *", "uint32_t", "bool", "GList *", "GList *")
 
 PCMK__OUTPUT_ARGS ("node-attribute-list", "pe_working_set_t *", "uint32_t", "bool", "GList *", "GList *")
 
 PCMK__OUTPUT_ARGS ("node-history-list", "pe_working_set_t *", "pe_node_t *", "xmlNodePtr", "GList *", "GList *", "uint32_t", "uint32_t")
 
 PCMK__OUTPUT_ARGS ("node-summary", "pe_working_set_t *", "GList *", "GList *", "uint32_t", "uint32_t", "bool")
 
 PCMK__OUTPUT_ARGS ("node-weight", "const pe_resource_t *", "const char *", "const char *", "const char *")
 
 PCMK__OUTPUT_ARGS ("resource-list", "pe_working_set_t *", "uint32_t", "bool", "GList *", "GList *", "bool")
 
 PCMK__OUTPUT_ARGS ("resource-operation-list", "pe_working_set_t *", "pe_resource_t *", "pe_node_t *", "GList *", "uint32_t")
 
void pe__register_messages (pcmk__output_t *out)
 

Macro Definition Documentation

◆ FILTER_STR

#define FILTER_STR
Value:
"shutdown", "terminate", "standby", "#", NULL }
#define PCMK__LAST_FAILURE_PREFIX
Definition: internal.h:314
#define PCMK__FAIL_COUNT_PREFIX
Definition: internal.h:313

Definition at line 31 of file pe_output.c.

Function Documentation

◆ PCMK__OUTPUT_ARGS() [1/12]

PCMK__OUTPUT_ARGS ( "cluster-summary"  ,
"pe_working_set_t *"  ,
"enum pcmk_pacemakerd_state ,
"uint32_t"  ,
"uint32_t"   
)

Definition at line 371 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [2/12]

PCMK__OUTPUT_ARGS ( "ban-list"  ,
"pe_working_set_t *"  ,
"const char *"  ,
"GList *"  ,
"uint32_t"  ,
"bool"   
)

Definition at line 677 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [3/12]

PCMK__OUTPUT_ARGS ( "cluster-dc"  ,
"pe_node_t *"  ,
"const char *"  ,
"const char *"  ,
"char *"  ,
"int"   
)

Definition at line 846 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [4/12]

PCMK__OUTPUT_ARGS ( "cluster-times"  ,
"const char *"  ,
"const char *"  ,
"const char *"  ,
"const char *"  ,
"const char *"   
)

Definition at line 1164 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [5/12]

PCMK__OUTPUT_ARGS ( "failed-action-list"  ,
"pe_working_set_t *"  ,
"GList *"  ,
"GList *"  ,
"uint32_t"  ,
"bool"   
)

Definition at line 1499 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [6/12]

PCMK__OUTPUT_ARGS ( "node"  ,
"pe_node_t *"  ,
"uint32_t"  ,
"bool"  ,
"GList *"  ,
"GList *"   
)

Definition at line 1601 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [7/12]

PCMK__OUTPUT_ARGS ( "node-attribute-list"  ,
"pe_working_set_t *"  ,
"uint32_t"  ,
"bool"  ,
"GList *"  ,
"GList *"   
)

Definition at line 2089 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [8/12]

PCMK__OUTPUT_ARGS ( "node-history-list"  ,
"pe_working_set_t *"  ,
"pe_node_t *"  ,
"xmlNodePtr"  ,
"GList *"  ,
"GList *"  ,
"uint32_t"  ,
"uint32_t"   
)

Definition at line 2188 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [9/12]

PCMK__OUTPUT_ARGS ( "node-summary"  ,
"pe_working_set_t *"  ,
"GList *"  ,
"GList *"  ,
"uint32_t"  ,
"uint32_t"  ,
"bool"   
)

Definition at line 2433 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [10/12]

PCMK__OUTPUT_ARGS ( "node-weight"  ,
"const pe_resource_t *"  ,
"const char *"  ,
"const char *"  ,
"const char *"   
)

Definition at line 2477 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [11/12]

PCMK__OUTPUT_ARGS ( "resource-list"  ,
"pe_working_set_t *"  ,
"uint32_t"  ,
"bool"  ,
"GList *"  ,
"GList *"  ,
"bool"   
)

Definition at line 2736 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [12/12]

PCMK__OUTPUT_ARGS ( "resource-operation-list"  ,
"pe_working_set_t *"  ,
"pe_resource_t *"  ,
"pe_node_t *"  ,
"GList *"  ,
"uint32_t"   
)

Definition at line 2843 of file pe_output.c.

◆ pe__name_and_nvpairs_xml()

int pe__name_and_nvpairs_xml ( pcmk__output_t out,
bool  is_list,
const char *  tag_name,
size_t  pairs_count,
  ... 
)

Definition at line 568 of file pe_output.c.

◆ pe__node_display_name()

char* pe__node_display_name ( pe_node_t node,
bool  print_detail 
)

Definition at line 515 of file pe_output.c.

◆ pe__register_messages()

void pe__register_messages ( pcmk__output_t out)

Definition at line 3106 of file pe_output.c.

◆ pe__resource_description()

const char* pe__resource_description ( const pe_resource_t rsc,
uint32_t  show_opts 
)

Definition at line 19 of file pe_output.c.