#include <crm_internal.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <glib.h>
#include <dirent.h>
#include <crm/crm.h>
#include <crm/stonith-ng.h>
#include <crm/fencing/internal.h>
#include "fencing_private.h"
Go to the source code of this file.
|
int | stonith__list_rhcs_agents (stonith_key_value_t **devices) |
|
int | stonith__rhcs_metadata (const char *agent, int timeout_sec, char **output) |
| Retrieve metadata for RHCS-compatible fence agent. More...
|
|
bool | stonith__agent_is_rhcs (const char *agent) |
|
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) |
|
◆ RH_STONITH_PREFIX
#define RH_STONITH_PREFIX "fence_" |
◆ stonith__agent_is_rhcs()
bool stonith__agent_is_rhcs |
( |
const char * |
agent | ) |
|
◆ stonith__list_rhcs_agents()
◆ stonith__rhcs_metadata()
int stonith__rhcs_metadata |
( |
const char * |
agent, |
|
|
int |
timeout_sec, |
|
|
char ** |
output |
|
) |
| |
Retrieve metadata for RHCS-compatible fence agent.
- Parameters
-
[in] | agent | Agent to execute |
[in] | timeout_sec | Action timeout |
[out] | output | Where to store action output (or NULL to ignore) |
Definition at line 220 of file st_rhcs.c.
◆ stonith__rhcs_validate()
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 |
|
) |
| |