pacemaker  2.1.2-ada5c3b36
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

gboolean rsc_update_action (pe_action_t *first, pe_action_t *then, enum pe_ordering type)
 
gboolean update_action (pe_action_t *then, pe_working_set_t *data_set)
 
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 graph_element_from_action (pe_action_t *action, 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 419 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 413 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 416 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 410 of file pcmk_graph_producer.c.

Function Documentation

◆ add_maintenance_update()

void add_maintenance_update ( pe_working_set_t data_set)

Definition at line 684 of file pcmk_graph_producer.c.

◆ graph_element_from_action()

void graph_element_from_action ( pe_action_t action,
pe_working_set_t data_set 
)

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

◆ rsc_update_action()

gboolean rsc_update_action ( pe_action_t first,
pe_action_t then,
enum pe_ordering  type 
)

◆ update_action()

gboolean update_action ( pe_action_t then,
pe_working_set_t data_set 
)

Definition at line 423 of file pcmk_graph_producer.c.