pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
remote.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <crm/pengine/internal.h>
#include <glib.h>
Include dependency graph for remote.c:

Go to the source code of this file.

Functions

gboolean pe__resource_is_remote_conn (pe_resource_t *rsc, pe_working_set_t *data_set)
 
gboolean pe__is_remote_node (pe_node_t *node)
 
gboolean pe__is_guest_node (pe_node_t *node)
 
gboolean pe__is_guest_or_remote_node (pe_node_t *node)
 
bool pe__is_bundle_node (pe_node_t *node)
 
pe_resource_tpe__resource_contains_guest_node (const pe_working_set_t *data_set, const pe_resource_t *rsc)
 
gboolean xml_contains_remote_node (xmlNode *xml)
 
void pe_foreach_guest_node (const pe_working_set_t *data_set, const pe_node_t *host, void(*helper)(const pe_node_t *, void *), void *user_data)
 
xmlNode * pe_create_remote_xml (xmlNode *parent, const char *uname, const char *container_id, const char *migrateable, const char *is_managed, const char *start_timeout, const char *server, const char *port)
 
void pe__add_param_check (xmlNode *rsc_op, pe_resource_t *rsc, pe_node_t *node, enum pe_check_parameters flag, pe_working_set_t *data_set)
 
void pe__foreach_param_check (pe_working_set_t *data_set, void(*cb)(pe_resource_t *, pe_node_t *, xmlNode *, enum pe_check_parameters, pe_working_set_t *))
 
void pe__free_param_checks (pe_working_set_t *data_set)
 

Function Documentation

void pe__add_param_check ( xmlNode *  rsc_op,
pe_resource_t rsc,
pe_node_t node,
enum pe_check_parameters  flag,
pe_working_set_t data_set 
)

Definition at line 222 of file remote.c.

void pe__foreach_param_check ( pe_working_set_t data_set,
void(*)(pe_resource_t *, pe_node_t *, xmlNode *, enum pe_check_parameters, pe_working_set_t *)  cb 
)

Definition at line 248 of file remote.c.

void pe__free_param_checks ( pe_working_set_t data_set)

Definition at line 263 of file remote.c.

bool pe__is_bundle_node ( pe_node_t node)

Definition at line 64 of file remote.c.

gboolean pe__is_guest_node ( pe_node_t node)

Definition at line 47 of file remote.c.

gboolean pe__is_guest_or_remote_node ( pe_node_t node)

Definition at line 58 of file remote.c.

gboolean pe__is_remote_node ( pe_node_t node)

Definition at line 36 of file remote.c.

pe_resource_t* pe__resource_contains_guest_node ( const pe_working_set_t data_set,
const pe_resource_t rsc 
)

Definition at line 83 of file remote.c.

gboolean pe__resource_is_remote_conn ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 17 of file remote.c.

xmlNode* pe_create_remote_xml ( xmlNode *  parent,
const char *  uname,
const char *  container_id,
const char *  migrateable,
const char *  is_managed,
const char *  start_timeout,
const char *  server,
const char *  port 
)

Definition at line 158 of file remote.c.

void pe_foreach_guest_node ( const pe_working_set_t data_set,
const pe_node_t host,
void(*)(const pe_node_t *, void *)  helper,
void *  user_data 
)

Definition at line 122 of file remote.c.

gboolean xml_contains_remote_node ( xmlNode *  xml)

Definition at line 99 of file remote.c.