|
pacemaker
2.1.6-802a72226b
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <sys/param.h>#include <crm/crm.h>#include <crm/cib.h>#include <crm/msg_xml.h>#include <crm/common/xml.h>#include <crm/common/xml_internal.h>#include <glib.h>#include <crm/pengine/status.h>#include <pacemaker-internal.h>#include "libpacemaker_private.h"
Go to the source code of this file.
Enumerations | |
| enum | remote_connection_state { remote_state_unknown = 0, remote_state_alive = 1, remote_state_resting = 2, remote_state_failed = 3, remote_state_stopped = 4 } |
Functions | |
| void | pcmk__order_remote_connection_actions (pe_working_set_t *data_set) |
| bool | pcmk__is_failed_remote_node (const pe_node_t *node) |
| bool | pcmk__rsc_corresponds_to_guest (const pe_resource_t *rsc, const pe_node_t *node) |
| pe_node_t * | pcmk__connection_host_for_action (const pe_action_t *action) |
| void | pcmk__substitute_remote_addr (pe_resource_t *rsc, GHashTable *params) |
| void | pcmk__add_bundle_meta_to_xml (xmlNode *args_xml, const pe_action_t *action) |
| Add special bundle meta-attributes to XML. More... | |
| Enumerator | |
|---|---|
| remote_state_unknown | |
| remote_state_alive | |
| remote_state_resting | |
| remote_state_failed | |
| remote_state_stopped | |
Definition at line 26 of file pcmk_sched_remote.c.
| void pcmk__add_bundle_meta_to_xml | ( | xmlNode * | args_xml, |
| const pe_action_t * | action | ||
| ) |
Add special bundle meta-attributes to XML.
If a given action will be executed on a guest node (including a bundle), add the special bundle meta-attribute "container-attribute-target" and environment variable "physical_host" as XML attributes (using meta-attribute naming).
| [in,out] | args_xml | XML to add attributes to |
| [in] | action | Action to check |
Definition at line 684 of file pcmk_sched_remote.c.
| pe_node_t* pcmk__connection_host_for_action | ( | const pe_action_t * | action | ) |
Definition at line 549 of file pcmk_sched_remote.c.
| bool pcmk__is_failed_remote_node | ( | const pe_node_t * | node | ) |
Definition at line 510 of file pcmk_sched_remote.c.
| void pcmk__order_remote_connection_actions | ( | pe_working_set_t * | data_set | ) |
Definition at line 406 of file pcmk_sched_remote.c.
| bool pcmk__rsc_corresponds_to_guest | ( | const pe_resource_t * | rsc, |
| const pe_node_t * | node | ||
| ) |
Definition at line 527 of file pcmk_sched_remote.c.
| void pcmk__substitute_remote_addr | ( | pe_resource_t * | rsc, |
| GHashTable * | params | ||
| ) |
Definition at line 656 of file pcmk_sched_remote.c.
1.8.14