pacemaker  2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
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

bool pe__resource_is_remote_conn (const pe_resource_t *rsc, const pe_working_set_t *data_set)
 
bool pe__is_remote_node (const pe_node_t *node)
 
bool pe__is_guest_node (const pe_node_t *node)
 
bool pe__is_guest_or_remote_node (const pe_node_t *node)
 
bool pe__is_bundle_node (const pe_node_t *node)
 
pe_resource_tpe__resource_contains_guest_node (const pe_working_set_t *data_set, const pe_resource_t *rsc)
 
bool 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

◆ pe__add_param_check()

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 220 of file remote.c.

◆ pe__foreach_param_check()

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 246 of file remote.c.

◆ pe__free_param_checks()

void pe__free_param_checks ( pe_working_set_t data_set)

Definition at line 261 of file remote.c.

◆ pe__is_bundle_node()

bool pe__is_bundle_node ( const pe_node_t node)

Definition at line 47 of file remote.c.

◆ pe__is_guest_node()

bool pe__is_guest_node ( const pe_node_t node)

Definition at line 33 of file remote.c.

◆ pe__is_guest_or_remote_node()

bool pe__is_guest_or_remote_node ( const pe_node_t node)

Definition at line 41 of file remote.c.

◆ pe__is_remote_node()

bool pe__is_remote_node ( const pe_node_t node)

Definition at line 25 of file remote.c.

◆ pe__resource_contains_guest_node()

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

Definition at line 66 of file remote.c.

◆ pe__resource_is_remote_conn()

bool pe__resource_is_remote_conn ( const pe_resource_t rsc,
const pe_working_set_t data_set 
)

Definition at line 17 of file remote.c.

◆ pe_create_remote_xml()

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 156 of file remote.c.

◆ pe_foreach_guest_node()

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 120 of file remote.c.

◆ xml_contains_remote_node()

bool xml_contains_remote_node ( xmlNode *  xml)

Definition at line 84 of file remote.c.