![]() |
pacemaker
2.1.9-49aab99839
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <sys/param.h>#include <crm/crm.h>#include <crm/cib.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 (pcmk_scheduler_t *scheduler) |
| bool | pcmk__is_failed_remote_node (const pcmk_node_t *node) |
| bool | pcmk__rsc_corresponds_to_guest (const pcmk_resource_t *rsc, const pcmk_node_t *node) |
| pcmk_node_t * | pcmk__connection_host_for_action (const pcmk_action_t *action) |
| void | pcmk__substitute_remote_addr (pcmk_resource_t *rsc, GHashTable *params) |
| void | pcmk__add_guest_meta_to_xml (xmlNode *args_xml, const pcmk_action_t *action) |
| Add special guest node meta-attributes to XML. More... | |
| Enumerator | |
|---|---|
| remote_state_unknown | |
| remote_state_alive | |
| remote_state_resting | |
| remote_state_failed | |
| remote_state_stopped | |
Definition at line 25 of file pcmk_sched_remote.c.
| void pcmk__add_guest_meta_to_xml | ( | xmlNode * | args_xml, |
| const pcmk_action_t * | action | ||
| ) |
Add special guest node meta-attributes to XML.
If a given action will be executed on a guest node, add the following as XML attributes (using meta-attribute naming):
PCMK_META_CONTAINER_ATTRIBUTE_TARGET meta-attribute (usually set only for bundles), as PCMK_META_CONTAINER_ATTRIBUTE_TARGET PCMK__META_PHYSICAL_HOST If the guest node has no physical host, then don't add either attribute.
| [in,out] | args_xml | XML to add attributes to |
| [in] | action | Action to check |
Definition at line 685 of file pcmk_sched_remote.c.
| pcmk_node_t* pcmk__connection_host_for_action | ( | const pcmk_action_t * | action | ) |
Definition at line 546 of file pcmk_sched_remote.c.
| bool pcmk__is_failed_remote_node | ( | const pcmk_node_t * | node | ) |
Definition at line 506 of file pcmk_sched_remote.c.
| void pcmk__order_remote_connection_actions | ( | pcmk_scheduler_t * | scheduler | ) |
Definition at line 399 of file pcmk_sched_remote.c.
| bool pcmk__rsc_corresponds_to_guest | ( | const pcmk_resource_t * | rsc, |
| const pcmk_node_t * | node | ||
| ) |
Definition at line 523 of file pcmk_sched_remote.c.
| void pcmk__substitute_remote_addr | ( | pcmk_resource_t * | rsc, |
| GHashTable * | params | ||
| ) |
Definition at line 655 of file pcmk_sched_remote.c.
1.8.14