12 #include <sys/param.h> 39 all = g_list_prepend(all, (gpointer)
"*");
41 for (GList *item = data_set->
resources; item != NULL; item = item->next) {
47 out->
message(out, crm_map_element_name(rsc->
xml), 0, rsc, all, all);
79 data_set->
priv = prev_out;
100 data_set->
input = xml_input;
104 crm_trace(
"Already have status - reusing");
107 if (data_set->
now == NULL) {
115 log_resource_details(data_set);
118 crm_trace(
"Applying location constraints");
133 crm_trace(
"Processing fencing and shutdown cases");
137 log_all_actions(data_set);
142 crm_trace(
"=#=#=#=#= Summary =#=#=#=#=");
143 crm_trace(
"\t========= Set %d (Un-runnable) =========", -1);
146 for (; gIter != NULL; gIter = gIter->next) {
149 if (!pcmk_any_flags_set(
action->flags,
158 return data_set->
graph;
void(* end_list)(pcmk__output_t *out)
gboolean stage2(pe_working_set_t *data_set)
gboolean stage5(pe_working_set_t *data_set)
int(* message)(pcmk__output_t *out, const char *message_id,...)
struct crm_time_s crm_time_t
void pcmk__output_set_log_level(pcmk__output_t *out, int log_level)
gboolean stage0(pe_working_set_t *data_set)
#define pe_flag_have_status
gboolean stage8(pe_working_set_t *data_set)
pcmk__output_t * pcmk__new_logger(void)
gboolean stage4(pe_working_set_t *data_set)
#define crm_trace(fmt, args...)
#define pcmk_is_set(g, f)
Convenience alias for pcmk_all_flags_set(), to check single flag.
void set_working_set_defaults(pe_working_set_t *data_set)
Wrappers for and extensions to libxml2.
void(* finish)(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest)
void LogActions(pe_resource_t *rsc, pe_working_set_t *data_set)
G_GNUC_INTERNAL void pcmk__create_internal_constraints(pe_working_set_t *data_set)
void LogNodeActions(pe_working_set_t *data_set)
void pcmk__output_free(pcmk__output_t *out)
unsigned int get_crm_log_level(void)
xmlNode * pcmk__schedule_actions(pe_working_set_t *data_set, xmlNode *xml_input, crm_time_t *now)
void log_action(unsigned int log_level, const char *pre_text, pe_action_t *action, gboolean details)
#define pe_flag_quick_location
Cluster status and scheduling.
crm_time_t * crm_time_new(const char *string)
This structure contains everything that makes up a single output formatter.
gboolean stage6(pe_working_set_t *data_set)
void(* begin_list)(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, const char *format,...) G_GNUC_PRINTF(4
G_GNUC_INTERNAL void pcmk__apply_orderings(pe_working_set_t *data_set)