pacemaker  2.1.7-0f7f88312f
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/common/scheduler_internal.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 pcmk_resource_t *rsc)
 
bool pe__is_remote_node (const pcmk_node_t *node)
 
bool pe__is_guest_node (const pcmk_node_t *node)
 
bool pe__is_guest_or_remote_node (const pcmk_node_t *node)
 
bool pe__is_bundle_node (const pcmk_node_t *node)
 
pcmk_resource_tpe__resource_contains_guest_node (const pcmk_scheduler_t *scheduler, const pcmk_resource_t *rsc)
 
bool xml_contains_remote_node (xmlNode *xml)
 
void pe_foreach_guest_node (const pcmk_scheduler_t *scheduler, const pcmk_node_t *host, void(*helper)(const pcmk_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 (const xmlNode *rsc_op, pcmk_resource_t *rsc, pcmk_node_t *node, enum pcmk__check_parameters flag, pcmk_scheduler_t *scheduler)
 
void pe__foreach_param_check (pcmk_scheduler_t *scheduler, void(*cb)(pcmk_resource_t *, pcmk_node_t *, const xmlNode *, enum pcmk__check_parameters))
 
void pe__free_param_checks (pcmk_scheduler_t *scheduler)
 

Function Documentation

◆ pe__add_param_check()

void pe__add_param_check ( const xmlNode *  rsc_op,
pcmk_resource_t rsc,
pcmk_node_t node,
enum pcmk__check_parameters  flag,
pcmk_scheduler_t scheduler 
)

Definition at line 225 of file remote.c.

◆ pe__foreach_param_check()

void pe__foreach_param_check ( pcmk_scheduler_t scheduler,
void(*)(pcmk_resource_t *, pcmk_node_t *, const xmlNode *, enum pcmk__check_parameters cb 
)

Definition at line 252 of file remote.c.

◆ pe__free_param_checks()

void pe__free_param_checks ( pcmk_scheduler_t scheduler)

Definition at line 268 of file remote.c.

◆ pe__is_bundle_node()

bool pe__is_bundle_node ( const pcmk_node_t node)

Definition at line 47 of file remote.c.

◆ pe__is_guest_node()

bool pe__is_guest_node ( const pcmk_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 pcmk_node_t node)

Definition at line 41 of file remote.c.

◆ pe__is_remote_node()

bool pe__is_remote_node ( const pcmk_node_t node)

Definition at line 25 of file remote.c.

◆ pe__resource_contains_guest_node()

pcmk_resource_t* pe__resource_contains_guest_node ( const pcmk_scheduler_t scheduler,
const pcmk_resource_t rsc 
)

Definition at line 66 of file remote.c.

◆ pe__resource_is_remote_conn()

bool pe__resource_is_remote_conn ( const pcmk_resource_t rsc)

Definition at line 18 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 160 of file remote.c.

◆ pe_foreach_guest_node()

void pe_foreach_guest_node ( const pcmk_scheduler_t scheduler,
const pcmk_node_t host,
void(*)(const pcmk_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.