pacemaker
2.1.8-3980678f03
Scalable High-Availability cluster resource manager
|
Deprecated Pacemaker scheduler utilities. More...
#include <crm/common/scheduler.h>
Go to the source code of this file.
Macros | |
#define | RSC_ROLE_MAX (pcmk_role_promoted + 1) |
#define | RSC_ROLE_UNKNOWN_S pcmk_role_text(pcmk_role_unknown) |
#define | RSC_ROLE_STOPPED_S pcmk_role_text(pcmk_role_stopped) |
#define | RSC_ROLE_STARTED_S pcmk_role_text(pcmk_role_started) |
#define | RSC_ROLE_UNPROMOTED_S pcmk_role_text(pcmk_role_unpromoted) |
#define | RSC_ROLE_PROMOTED_S pcmk_role_text(pcmk_role_promoted) |
#define | RSC_ROLE_UNPROMOTED_LEGACY_S "Slave" |
#define | RSC_ROLE_SLAVE_S RSC_ROLE_UNPROMOTED_LEGACY_S |
#define | RSC_ROLE_PROMOTED_LEGACY_S "Master" |
#define | RSC_ROLE_MASTER_S RSC_ROLE_PROMOTED_LEGACY_S |
Functions | |
const char * | role2text (enum rsc_role_e role) |
enum rsc_role_e | text2role (const char *role) |
const char * | task2text (enum action_tasks task) |
enum action_tasks | text2task (const char *task) |
const char * | fail2text (enum action_fail_response fail) |
const char * | pe_pref (GHashTable *options, const char *name) |
Deprecated Pacemaker scheduler utilities.
Definition in file common_compat.h.
#define RSC_ROLE_MASTER_S RSC_ROLE_PROMOTED_LEGACY_S |
Definition at line 56 of file common_compat.h.
#define RSC_ROLE_MAX (pcmk_role_promoted + 1) |
Definition at line 29 of file common_compat.h.
#define RSC_ROLE_PROMOTED_LEGACY_S "Master" |
Definition at line 53 of file common_compat.h.
#define RSC_ROLE_PROMOTED_S pcmk_role_text(pcmk_role_promoted) |
Definition at line 44 of file common_compat.h.
#define RSC_ROLE_SLAVE_S RSC_ROLE_UNPROMOTED_LEGACY_S |
Definition at line 50 of file common_compat.h.
#define RSC_ROLE_STARTED_S pcmk_role_text(pcmk_role_started) |
Definition at line 38 of file common_compat.h.
#define RSC_ROLE_STOPPED_S pcmk_role_text(pcmk_role_stopped) |
Definition at line 35 of file common_compat.h.
#define RSC_ROLE_UNKNOWN_S pcmk_role_text(pcmk_role_unknown) |
Definition at line 32 of file common_compat.h.
#define RSC_ROLE_UNPROMOTED_LEGACY_S "Slave" |
Definition at line 47 of file common_compat.h.
#define RSC_ROLE_UNPROMOTED_S pcmk_role_text(pcmk_role_unpromoted) |
Definition at line 41 of file common_compat.h.
const char* fail2text | ( | enum action_fail_response | fail | ) |
const char* pe_pref | ( | GHashTable * | options, |
const char * | name | ||
) |
const char* role2text | ( | enum rsc_role_e | role | ) |
const char* task2text | ( | enum action_tasks | task | ) |
enum rsc_role_e text2role | ( | const char * | role | ) |
enum action_tasks text2task | ( | const char * | task | ) |