10#ifndef PCMK__CRM_COMMON_AGENTS__H
11#define PCMK__CRM_COMMON_AGENTS__H
27#define PCMK_RESOURCE_CLASS_OCF "ocf"
28#define PCMK_RESOURCE_CLASS_SERVICE "service"
29#define PCMK_RESOURCE_CLASS_LSB "lsb"
30#define PCMK_RESOURCE_CLASS_SYSTEMD "systemd"
31#define PCMK_RESOURCE_CLASS_STONITH "stonith"
32#define PCMK_RESOURCE_CLASS_ALERT "alert"
37#define PCMK_STONITH_ACTION_LIMIT "pcmk_action_limit"
38#define PCMK_STONITH_DELAY_BASE "pcmk_delay_base"
39#define PCMK_STONITH_DELAY_MAX "pcmk_delay_max"
40#define PCMK_STONITH_HOST_ARGUMENT "pcmk_host_argument"
41#define PCMK_STONITH_HOST_CHECK "pcmk_host_check"
42#define PCMK_STONITH_HOST_LIST "pcmk_host_list"
43#define PCMK_STONITH_HOST_MAP "pcmk_host_map"
44#define PCMK_STONITH_PROVIDES "provides"
45#define PCMK_STONITH_STONITH_TIMEOUT "stonith-timeout"
48#define PCMK_OCF_MAJOR_VERSION "1"
49#define PCMK_OCF_MINOR_VERSION "1"
50#define PCMK_OCF_VERSION PCMK_OCF_MAJOR_VERSION "." PCMK_OCF_MINOR_VERSION
int crm_parse_agent_spec(const char *spec, char **standard, char **provider, char **type)
Parse a "standard[:provider]:type" agent specification.
uint32_t pcmk_get_ra_caps(const char *standard)
Get capabilities of a resource agent standard.
bool pcmk_stonith_param(const char *param)
Check whether a given stonith parameter is handled by Pacemaker.
@ pcmk_ra_cap_fence_params
char * crm_generate_ra_key(const char *standard, const char *provider, const char *type)
enum pcmk_ipc_server type