pacemaker
2.1.0-7c3f660
Scalable High-Availability cluster resource manager
|
Go to the source code of this file.
Functions | |
svc_action_t * | services__create_resource_action (const char *name, const char *standard, const char *provider, const char *agent, const char *action, guint interval_ms, int timeout, GHashTable *params, enum svc_action_flags flags) |
Create a new resource action. More... | |
svc_action_t* services__create_resource_action | ( | const char * | name, |
const char * | standard, | ||
const char * | provider, | ||
const char * | agent, | ||
const char * | action, | ||
guint | interval_ms, | ||
int | timeout, | ||
GHashTable * | params, | ||
enum svc_action_flags | flags | ||
) |
Create a new resource action.
[in] | name | Name of resource |
[in] | standard | Resource agent standard (ocf, lsb, etc.) |
[in] | provider | Resource agent provider |
[in] | agent | Resource agent name |
[in] | action | action (start, stop, monitor, etc.) |
[in] | interval_ms | How often to repeat this action (if 0, execute once) |
[in] | timeout | Consider action failed if it does not complete in this many milliseconds |
[in] | params | Action parameters |
Definition at line 168 of file services.c.