12 #include <sys/param.h>
38 all = g_list_prepend(all, strdup(
"*"));
40 for (GList *item = data_set->
resources; item != NULL; item = item->next) {
46 out->
message(out, crm_map_element_name(rsc->
xml), 0, rsc, all, all);
50 g_list_free_full(all, free);
71 data_set->
input = xml_input;
75 crm_trace(
"Already have status - reusing");
78 if (data_set->
now == NULL) {
86 log_resource_details(data_set);
89 crm_trace(
"Applying location constraints");
105 crm_trace(
"Processing fencing and shutdown cases");
108 crm_trace(
"Applying ordering constraints");
114 crm_trace(
"=#=#=#=#= Summary =#=#=#=#=");
115 crm_trace(
"\t========= Set %d (Un-runnable) =========", -1);
118 for (; gIter != NULL; gIter = gIter->next) {
121 if (!pcmk_any_flags_set(action->
flags,
130 return data_set->
graph;
gboolean stage2(pe_working_set_t *data_set)
gboolean stage5(pe_working_set_t *data_set)
gboolean stage3(pe_working_set_t *data_set)
struct crm_time_s crm_time_t
gboolean stage0(pe_working_set_t *data_set)
int(* message)(pcmk__output_t *out, const char *message_id,...)
#define pe_flag_have_status
xmlNode * pcmk__schedule_actions(pe_working_set_t *data_set, xmlNode *xml_input, crm_time_t *now)
gboolean stage8(pe_working_set_t *data_set)
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.
unsigned int get_crm_log_level(void)
void log_action(unsigned int log_level, const char *pre_text, pe_action_t *action, gboolean details)
gboolean stage7(pe_working_set_t *data_set)
#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)
enum pe_action_flags flags