pacemaker  1.1.18-7fdfbbe
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 is_rsc_baremetal_remote_node (resource_t *rsc, pe_working_set_t *data_set)
 
gboolean is_baremetal_remote_node (node_t *node)
 
gboolean is_container_remote_node (node_t *node)
 
gboolean is_remote_node (node_t *node)
 
resource_trsc_contains_remote_node (pe_working_set_t *data_set, resource_t *rsc)
 
gboolean xml_contains_remote_node (xmlNode *xml)
 
void pe_foreach_guest_node (const pe_working_set_t *data_set, const node_t *host, void(*helper)(const 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 *interval, const char *monitor_timeout, const char *start_timeout, const char *server, const char *port)
 

Function Documentation

gboolean is_baremetal_remote_node ( node_t node)

Definition at line 44 of file remote.c.

gboolean is_container_remote_node ( node_t node)

Definition at line 53 of file remote.c.

gboolean is_remote_node ( node_t node)

Definition at line 62 of file remote.c.

gboolean is_rsc_baremetal_remote_node ( resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 25 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 *  interval,
const char *  monitor_timeout,
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 node_t host,
void(*)(const node_t *, void *)  helper,
void *  user_data 
)

Definition at line 114 of file remote.c.

resource_t* rsc_contains_remote_node ( pe_working_set_t data_set,
resource_t rsc 
)

Definition at line 71 of file remote.c.

gboolean xml_contains_remote_node ( xmlNode *  xml)

Definition at line 91 of file remote.c.