pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Macros | Functions
pcmk_graph_producer.c File Reference
#include <crm_internal.h>
#include <sys/param.h>
#include <crm/crm.h>
#include <crm/cib.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <glib.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_graph_producer.c:

Go to the source code of this file.

Macros

#define action_type_str(flags)   (pcmk_is_set((flags), pe_action_pseudo)? "pseudo-action" : "action")
 
#define action_optional_str(flags)   (pcmk_is_set((flags), pe_action_optional)? "optional" : "required")
 
#define action_runnable_str(flags)   (pcmk_is_set((flags), pe_action_runnable)? "runnable" : "unrunnable")
 
#define action_node_str(a)   (((a)->node == NULL)? "no node" : (a)->node->details->uname)
 

Functions

bool pcmk__graph_has_loop (pe_action_t *init_action, pe_action_t *action, pe_action_wrapper_t *input)
 
void pcmk__log_transition_summary (const char *filename)
 
void pcmk__add_rsc_actions_to_graph (pe_resource_t *rsc)
 
void pcmk__create_graph (pe_working_set_t *data_set)
 

Macro Definition Documentation

◆ action_node_str

#define action_node_str (   a)    (((a)->node == NULL)? "no node" : (a)->node->details->uname)

Definition at line 35 of file pcmk_graph_producer.c.

◆ action_optional_str

#define action_optional_str (   flags)    (pcmk_is_set((flags), pe_action_optional)? "optional" : "required")

Definition at line 29 of file pcmk_graph_producer.c.

◆ action_runnable_str

#define action_runnable_str (   flags)    (pcmk_is_set((flags), pe_action_runnable)? "runnable" : "unrunnable")

Definition at line 32 of file pcmk_graph_producer.c.

◆ action_type_str

#define action_type_str (   flags)    (pcmk_is_set((flags), pe_action_pseudo)? "pseudo-action" : "action")

Definition at line 26 of file pcmk_graph_producer.c.

Function Documentation

◆ pcmk__add_rsc_actions_to_graph()

void pcmk__add_rsc_actions_to_graph ( pe_resource_t rsc)

Definition at line 963 of file pcmk_graph_producer.c.

◆ pcmk__create_graph()

void pcmk__create_graph ( pe_working_set_t data_set)

Definition at line 988 of file pcmk_graph_producer.c.

◆ pcmk__graph_has_loop()

bool pcmk__graph_has_loop ( pe_action_t init_action,
pe_action_t action,
pe_action_wrapper_t input 
)

Definition at line 761 of file pcmk_graph_producer.c.

◆ pcmk__log_transition_summary()

void pcmk__log_transition_summary ( const char *  filename)

Definition at line 930 of file pcmk_graph_producer.c.