pacemaker  2.1.4-dc6eb4362
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

void add_maintenance_update (pe_working_set_t *data_set)
 
bool pcmk__graph_has_loop (pe_action_t *init_action, pe_action_t *action, pe_action_wrapper_t *input)
 
void pcmk__add_action_to_graph (pe_action_t *action, pe_working_set_t *data_set)
 
void pcmk__log_transition_summary (const char *filename)
 
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

◆ add_maintenance_update()

void add_maintenance_update ( pe_working_set_t data_set)

Definition at line 114 of file pcmk_graph_producer.c.

◆ pcmk__add_action_to_graph()

void pcmk__add_action_to_graph ( pe_action_t action,
pe_working_set_t data_set 
)

Definition at line 918 of file pcmk_graph_producer.c.

◆ pcmk__create_graph()

void pcmk__create_graph ( pe_working_set_t data_set)

Definition at line 999 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 805 of file pcmk_graph_producer.c.

◆ pcmk__log_transition_summary()

void pcmk__log_transition_summary ( const char *  filename)

Definition at line 966 of file pcmk_graph_producer.c.