pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Data Fields
pe_action_s Struct Reference

Implementation of pcmk_action_t. More...

#include <include/crm/common/actions.h>

Collaboration diagram for pe_action_s:
Collaboration graph
[legend]

Data Fields

int id
 Counter to identify action. More...
 
int priority
 
pcmk_resource_trsc
 Resource to apply action to, if any. More...
 
pcmk_node_tnode
 Node to execute action on, if any. More...
 
xmlNode * op_entry
 Action XML configuration, if any. More...
 
char * task
 Action name. More...
 
char * uuid
 Action key. More...
 
char * cancel_task
 If task is "cancel", the action being cancelled. More...
 
char * reason
 Readable description of why action is needed. More...
 
enum pe_action_flags flags
 Group of enum pe_action_flags. More...
 
enum rsc_start_requirement needs
 Prerequisite for recovery. More...
 
enum action_fail_response on_fail
 Response to failure. More...
 
enum rsc_role_e fail_role
 Resource role if action fails. More...
 
GHashTable * meta
 Meta-attributes relevant to action. More...
 
GHashTable * extra
 Action-specific instance attributes. More...
 
int runnable_before
 For Pacemaker use only. More...
 
int required_runnable_before
 
GList * actions_before
 For Pacemaker use only. More...
 
GList * actions_after
 For Pacemaker use only. More...
 
void * action_details
 For Pacemaker use only. More...
 

Detailed Description

Implementation of pcmk_action_t.

Definition at line 390 of file actions.h.

Field Documentation

◆ action_details

void* pe_action_s::action_details

For Pacemaker use only.

Definition at line 437 of file actions.h.

◆ actions_after

GList* pe_action_s::actions_after

For Pacemaker use only.

Definition at line 431 of file actions.h.

◆ actions_before

GList* pe_action_s::actions_before

For Pacemaker use only.

Definition at line 430 of file actions.h.

◆ cancel_task

char* pe_action_s::cancel_task

If task is "cancel", the action being cancelled.

Definition at line 405 of file actions.h.

◆ extra

GHashTable* pe_action_s::extra

Action-specific instance attributes.

Definition at line 415 of file actions.h.

◆ fail_role

enum rsc_role_e pe_action_s::fail_role

Resource role if action fails.

Definition at line 413 of file actions.h.

◆ flags

enum pe_action_flags pe_action_s::flags

Group of enum pe_action_flags.

Definition at line 409 of file actions.h.

◆ id

int pe_action_s::id

Counter to identify action.

Definition at line 391 of file actions.h.

◆ meta

GHashTable* pe_action_s::meta

Meta-attributes relevant to action.

Definition at line 414 of file actions.h.

◆ needs

enum rsc_start_requirement pe_action_s::needs

Prerequisite for recovery.

Definition at line 411 of file actions.h.

◆ node

pcmk_node_t* pe_action_s::node

Node to execute action on, if any.

Definition at line 401 of file actions.h.

◆ on_fail

enum action_fail_response pe_action_s::on_fail

Response to failure.

Definition at line 412 of file actions.h.

◆ op_entry

xmlNode* pe_action_s::op_entry

Action XML configuration, if any.

Definition at line 402 of file actions.h.

◆ priority

int pe_action_s::priority

When the controller aborts a transition graph, it sets an abort priority. If this priority is higher, the action will still be executed anyway. Pseudo-actions are always allowed, so this is irrelevant for them.

Definition at line 398 of file actions.h.

◆ reason

char* pe_action_s::reason

Readable description of why action is needed.

Definition at line 406 of file actions.h.

◆ required_runnable_before

int pe_action_s::required_runnable_before

Number of instance actions for "first" action in an ordering dependency with pcmk__ar_min_runnable set that must be runnable before this action can be runnable.

Definition at line 427 of file actions.h.

◆ rsc

pcmk_resource_t* pe_action_s::rsc

Resource to apply action to, if any.

Definition at line 400 of file actions.h.

◆ runnable_before

int pe_action_s::runnable_before

For Pacemaker use only.

Definition at line 420 of file actions.h.

◆ task

char* pe_action_s::task

Action name.

Definition at line 403 of file actions.h.

◆ uuid

char* pe_action_s::uuid

Action key.

Definition at line 404 of file actions.h.


The documentation for this struct was generated from the following file: