#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/scheduler_types.h>
#include <crm/lrmd_events.h>
Go to the source code of this file.
|
enum | pcmk__graph_action_type { pcmk__pseudo_graph_action
, pcmk__rsc_graph_action
, pcmk__cluster_graph_action
} |
|
enum | pcmk__synapse_flags { pcmk__synapse_ready = (1 << 0)
, pcmk__synapse_failed = (1 << 1)
, pcmk__synapse_executed = (1 << 2)
, pcmk__synapse_confirmed = (1 << 3)
} |
|
enum | pcmk__graph_action_flags { pcmk__graph_action_sent_update = (1 << 0)
, pcmk__graph_action_executed = (1 << 1)
, pcmk__graph_action_confirmed = (1 << 2)
, pcmk__graph_action_failed = (1 << 3)
} |
|
enum | pcmk__graph_next { pcmk__graph_done
, pcmk__graph_wait
, pcmk__graph_restart
, pcmk__graph_shutdown
} |
|
enum | pcmk__graph_status { pcmk__graph_active
, pcmk__graph_pending
, pcmk__graph_complete
, pcmk__graph_terminated
} |
|
◆ pcmk__clear_graph_action_flags
#define pcmk__clear_graph_action_flags |
( |
| action, |
|
|
| flags_to_clear ) |
Value: do { \
(
action)->
flags = pcmk__clear_flags_as(__func__, __LINE__, \
"Action", "action", \
} while (0)
Definition at line 96 of file pcmki_transition.h.
◆ pcmk__clear_synapse_flags
#define pcmk__clear_synapse_flags |
( |
| synapse, |
|
|
| flags_to_clear ) |
Value: do { \
(synapse)->
flags = pcmk__clear_flags_as(__func__, __LINE__, \
"Synapse", "synapse", \
(synapse)->
flags, (flags_to_clear), #flags_to_clear); \
} while (0)
Definition at line 60 of file pcmki_transition.h.
◆ pcmk__set_graph_action_flags
#define pcmk__set_graph_action_flags |
( |
| action, |
|
|
| flags_to_set ) |
Value: do { \
(
action)->
flags = pcmk__set_flags_as(__func__, __LINE__, \
"Action", "action", \
} while (0)
Definition at line 89 of file pcmki_transition.h.
◆ pcmk__set_synapse_flags
#define pcmk__set_synapse_flags |
( |
| synapse, |
|
|
| flags_to_set ) |
Value: do { \
(synapse)->
flags = pcmk__set_flags_as(__func__, __LINE__, \
"Synapse", "synapse", \
(synapse)->
flags, (flags_to_set), #flags_to_set); \
} while (0)
Definition at line 53 of file pcmki_transition.h.
◆ pcmk__graph_action_flags
Enumerator |
---|
pcmk__graph_action_sent_update | |
pcmk__graph_action_executed | |
pcmk__graph_action_confirmed | |
pcmk__graph_action_failed | |
Definition at line 67 of file pcmki_transition.h.
◆ pcmk__graph_action_type
Enumerator |
---|
pcmk__pseudo_graph_action | |
pcmk__rsc_graph_action | |
pcmk__cluster_graph_action | |
Definition at line 26 of file pcmki_transition.h.
◆ pcmk__graph_next
Enumerator |
---|
pcmk__graph_done | |
pcmk__graph_wait | |
pcmk__graph_restart | |
pcmk__graph_shutdown | |
Definition at line 104 of file pcmki_transition.h.
◆ pcmk__graph_status
Enumerator |
---|
pcmk__graph_active | |
pcmk__graph_pending | |
pcmk__graph_complete | |
pcmk__graph_terminated | |
Definition at line 157 of file pcmki_transition.h.
◆ pcmk__synapse_flags
Enumerator |
---|
pcmk__synapse_ready | |
pcmk__synapse_failed | |
pcmk__synapse_executed | |
pcmk__synapse_confirmed | |
Definition at line 36 of file pcmki_transition.h.
◆ pcmk__event_from_graph_action()
◆ pcmk__execute_graph()
◆ pcmk__free_graph()
◆ pcmk__graph_status2text()
◆ pcmk__log_graph()
void pcmk__log_graph |
( |
unsigned int | log_level, |
|
|
pcmk__graph_t * | graph ) |
◆ pcmk__log_graph_action()
◆ pcmk__log_transition_summary()
void pcmk__log_transition_summary |
( |
const pcmk_scheduler_t * | scheduler, |
|
|
const char * | filename ) |
◆ pcmk__set_graph_functions()
◆ pcmk__unpack_graph()
pcmk__graph_t * pcmk__unpack_graph |
( |
const xmlNode * | xml_graph, |
|
|
const char * | reference ) |
◆ pcmk__update_graph()