10#ifndef PCMK__CRM_COMMON_ACTION_RELATION_INTERNAL__H
11#define PCMK__CRM_COMMON_ACTION_RELATION_INTERNAL__H
164#define pcmk__set_relation_flags(ar_flags, flags_to_set) do { \
165 ar_flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, \
166 "Action relation", "constraint", \
167 ar_flags, (flags_to_set), \
178#define pcmk__clear_relation_flags(ar_flags, flags_to_clear) do { \
179 ar_flags = pcmk__clear_flags_as(__func__, __LINE__, LOG_TRACE, \
180 "Action relation", "constraint", \
181 ar_flags, (flags_to_clear), \
void pcmk__free_action_relation(gpointer user_data)
pcmk__action_relation_flags
@ pcmk__ar_if_on_same_node
Relation applies only if actions are on same node.
@ pcmk__ar_first_else_then
If 'first' is unrunnable, 'then' becomes a real, unmigratable action.
@ pcmk__ar_if_first_unmigratable
Relation applies only if 'first' cannot be part of a live migration.
@ pcmk__ar_first_implies_then
@ pcmk__ar_asymmetric
User-configured asymmetric ordering.
@ pcmk__ar_first_implies_same_node_then
If 'first' is required, 'then' action for instance on same node is.
@ pcmk__ar_then_implies_first
@ pcmk__ar_intermediate_stop
@ pcmk__ar_promoted_then_implies_first
@ pcmk__ar_then_implies_first_graphed
If 'then' is required, 'first' must be added to the transition graph.
@ pcmk__ar_min_runnable
'then' action is runnable if certain number of 'first' instances are
@ pcmk__ar_none
No relation (compare with equality rather than bit set)
@ pcmk__ar_first_implies_then_graphed
If 'first' is required and runnable, 'then' must be in graph.
@ pcmk__ar_nested_remote_probe
@ pcmk__ar_if_required_on_same_node
Ordering applies only if 'first' is required and on same node as 'then'.
@ pcmk__ar_unrunnable_first_blocks
'then' is runnable (and migratable) only if 'first' is runnable
@ pcmk__ar_unmigratable_then_blocks
@ pcmk__ar_ordered
Actions are ordered (optionally, if no other flags are set)
@ pcmk__ar_then_cancels_first
If 'then' action becomes required, 'first' becomes optional.
@ pcmk__ar_if_on_same_node_or_target
Actions are ordered if on same node (or migration target for migrate_to)
@ pcmk__ar_guest_allowed
Ordering applies even if 'first' runs on guest node created by 'then'.
struct pcmk__related_action pcmk__related_action_t
Type aliases needed to define scheduler objects.