pacemaker  2.1.6-802a72226b
Scalable High-Availability cluster resource manager
Functions
fencing_private.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

G_GNUC_INTERNAL int stonith__execute (stonith_action_t *action)
 
G_GNUC_INTERNAL int stonith__list_rhcs_agents (stonith_key_value_t **devices)
 
G_GNUC_INTERNAL int stonith__rhcs_metadata (const char *agent, int timeout, char **output)
 Retrieve metadata for RHCS-compatible fence agent. More...
 
G_GNUC_INTERNAL bool stonith__agent_is_rhcs (const char *agent)
 
G_GNUC_INTERNAL int stonith__rhcs_validate (stonith_t *st, int call_options, const char *target, const char *agent, GHashTable *params, const char *host_arg, int timeout, char **output, char **error_output)
 

Function Documentation

◆ stonith__agent_is_rhcs()

G_GNUC_INTERNAL bool stonith__agent_is_rhcs ( const char *  agent)

Definition at line 243 of file st_rhcs.c.

◆ stonith__execute()

G_GNUC_INTERNAL int stonith__execute ( stonith_action_t action)

Definition at line 698 of file st_actions.c.

◆ stonith__list_rhcs_agents()

G_GNUC_INTERNAL int stonith__list_rhcs_agents ( stonith_key_value_t **  devices)

Definition at line 35 of file st_rhcs.c.

◆ stonith__rhcs_metadata()

G_GNUC_INTERNAL int stonith__rhcs_metadata ( const char *  agent,
int  timeout_sec,
char **  output 
)

Retrieve metadata for RHCS-compatible fence agent.

Parameters
[in]agentAgent to execute
[in]timeout_secAction timeout
[out]outputWhere to store action output (or NULL to ignore)

Definition at line 217 of file st_rhcs.c.

◆ stonith__rhcs_validate()

G_GNUC_INTERNAL int stonith__rhcs_validate ( stonith_t st,
int  call_options,
const char *  target,
const char *  agent,
GHashTable *  params,
const char *  host_arg,
int  timeout,
char **  output,
char **  error_output 
)

Definition at line 254 of file st_rhcs.c.