79 for (gIter = rsc->
fillers; gIter != NULL; gIter = gIter->next) {
115 void (*helper)(
const node_t*,
void*),
void *user_data)
130 (*helper)(guest_node, user_data);
159 const char *container_id,
const char *migrateable,
160 const char *is_managed,
const char *interval,
161 const char *monitor_timeout,
const char *start_timeout,
162 const char *server,
const char *port)
193 if (port || server) {
205 if (interval || start_timeout) {
#define CRM_CHECK(expr, failure_action)
#define pe_flag_have_remote_nodes
resource_t * rsc_contains_remote_node(pe_working_set_t *data_set, resource_t *rsc)
node_t * pe_find_node(GListPtr node_list, const char *uname)
gboolean is_rsc_baremetal_remote_node(resource_t *rsc, pe_working_set_t *data_set)
#define XML_TAG_ATTR_SETS
gboolean is_remote_node(node_t *node)
struct node_shared_s * details
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)
#define PCMK_RESOURCE_CLASS_OCF
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)
#define XML_RSC_ATTR_CONTAINER
#define XML_CIB_TAG_RESOURCE
gboolean is_baremetal_remote_node(node_t *node)
gboolean is_container_remote_node(node_t *node)
xmlNode * crm_create_op_xml(xmlNode *parent, const char *prefix, const char *task, const char *interval, const char *timeout)
Create a CIB XML element for an operation.
#define XML_AGENT_ATTR_PROVIDER
#define XML_TAG_META_SETS
Wrappers for and extensions to libxml2.
#define XML_RSC_ATTR_MANAGED
xmlNode * create_xml_node(xmlNode *parent, const char *name)
const char * crm_element_value(xmlNode *data, const char *name)
const char * crm_xml_add(xmlNode *node, const char *name, const char *value)
gboolean xml_contains_remote_node(xmlNode *xml)
void crm_xml_set_id(xmlNode *xml, const char *format,...) __attribute__((__format__(__printf__
xmlNode * crm_create_nvpair_xml(xmlNode *parent, const char *id, const char *name, const char *value)
Create an XML name/value pair.
#define XML_RSC_ATTR_INTERNAL_RSC
#define safe_str_eq(a, b)
#define XML_OP_ATTR_ALLOW_MIGRATE
#define XML_AGENT_ATTR_CLASS