cib_node 1740 lib/common/xml.c xmlNode *cib_node; cib_node 1747 lib/common/xml.c cib_node = find_xml_node(*patch_node, "cib", FALSE); cib_node 1748 lib/common/xml.c if (cib_node != NULL) { cib_node 1749 lib/common/xml.c *patch_node = cib_node; cib_node 63 tools/fake_transition.c inject_transient_attr(xmlNode * cib_node, const char *name, const char *value) cib_node 68 tools/fake_transition.c const char *node_uuid = ID(cib_node); cib_node 70 tools/fake_transition.c node_path = xmlGetNodePath(cib_node); cib_node 72 tools/fake_transition.c name, value, node_path, ID(cib_node)); cib_node 75 tools/fake_transition.c attrs = first_named_child(cib_node, XML_TAG_TRANSIENT_NODEATTRS); cib_node 77 tools/fake_transition.c attrs = create_xml_node(cib_node, XML_TAG_TRANSIENT_NODEATTRS); cib_node 91 tools/fake_transition.c update_failcounts(xmlNode * cib_node, const char *resource, const char *task, cib_node 105 tools/fake_transition.c inject_transient_attr(cib_node, name, "value++"); cib_node 109 tools/fake_transition.c inject_transient_attr(cib_node, name, now); cib_node 235 tools/fake_transition.c xmlNode *cib_node = inject_node_state(cib_conn, node, NULL); cib_node 238 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_IN_CLUSTER, XML_BOOLEAN_YES); cib_node 239 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_IS_PEER, ONLINESTATUS); cib_node 240 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_JOIN_STATE, CRMD_JOINSTATE_MEMBER); cib_node 241 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_EXPECTED, CRMD_JOINSTATE_MEMBER); cib_node 244 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_IN_CLUSTER, XML_BOOLEAN_NO); cib_node 245 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_IS_PEER, OFFLINESTATUS); cib_node 246 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_JOIN_STATE, CRMD_JOINSTATE_DOWN); cib_node 247 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_EXPECTED, CRMD_JOINSTATE_DOWN); cib_node 250 tools/fake_transition.c crm_xml_add(cib_node, XML_ATTR_ORIGIN, crm_system_name); cib_node 251 tools/fake_transition.c return cib_node; cib_node 255 tools/fake_transition.c find_resource_xml(xmlNode * cib_node, const char *resource) cib_node 259 tools/fake_transition.c const char *node = crm_element_value(cib_node, XML_ATTR_UNAME); cib_node 265 tools/fake_transition.c match = get_xpath_object(xpath, cib_node, LOG_DEBUG_2); cib_node 273 tools/fake_transition.c inject_resource(xmlNode * cib_node, const char *resource, const char *rclass, const char *rtype, cib_node 281 tools/fake_transition.c cib_resource = find_resource_xml(cib_node, resource); cib_node 290 tools/fake_transition.c " Please supply the class and type to continue\n", resource, ID(cib_node)); cib_node 308 tools/fake_transition.c xpath = (char *)xmlGetNodePath(cib_node); cib_node 309 tools/fake_transition.c crm_info("Injecting new resource %s into %s '%s'", resource, xpath, ID(cib_node)); cib_node 312 tools/fake_transition.c lrm = first_named_child(cib_node, XML_CIB_TAG_LRM); cib_node 314 tools/fake_transition.c const char *node_uuid = ID(cib_node); cib_node 316 tools/fake_transition.c lrm = create_xml_node(cib_node, XML_CIB_TAG_LRM); cib_node 425 tools/fake_transition.c xmlNode *cib_node = NULL; cib_node 455 tools/fake_transition.c cib_node = modify_node(cib, node, TRUE); cib_node 456 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); cib_node 458 tools/fake_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib_node 461 tools/fake_transition.c free_xml(cib_node); cib_node 469 tools/fake_transition.c cib_node = modify_node(cib, node, FALSE); cib_node 470 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); cib_node 472 tools/fake_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib_node 475 tools/fake_transition.c free_xml(cib_node); cib_node 492 tools/fake_transition.c cib_node = modify_node(cib, node, TRUE); cib_node 493 tools/fake_transition.c crm_xml_add(cib_node, XML_NODE_IN_CLUSTER, XML_BOOLEAN_NO); cib_node 494 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); cib_node 496 tools/fake_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib_node 499 tools/fake_transition.c free_xml(cib_node); cib_node 582 tools/fake_transition.c cib_node = inject_node_state(cib, node, NULL); cib_node 583 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); cib_node 585 tools/fake_transition.c update_failcounts(cib_node, resource, task, interval, outcome); cib_node 587 tools/fake_transition.c cib_resource = inject_resource(cib_node, resource, rclass, rtype, rprovider); cib_node 597 tools/fake_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib_node 636 tools/fake_transition.c xmlNode *cib_node = NULL; cib_node 689 tools/fake_transition.c cib_node = inject_node_state(fake_cib, node, uname_is_uuid ? node : uuid); cib_node 690 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); cib_node 692 tools/fake_transition.c cib_resource = inject_resource(cib_node, resource, rclass, rtype, rprovider); cib_node 724 tools/fake_transition.c update_failcounts(cib_node, resource, op->op_type, op->interval, op->rc); cib_node 734 tools/fake_transition.c rc = fake_cib->cmds->modify(fake_cib, XML_CIB_TAG_STATUS, cib_node, cib_node 740 tools/fake_transition.c free_xml(cib_node); cib_node 774 tools/fake_transition.c xmlNode *cib_node = modify_node(fake_cib, target, FALSE); cib_node 776 tools/fake_transition.c crm_xml_add(cib_node, XML_ATTR_ORIGIN, __FUNCTION__); cib_node 777 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); cib_node 779 tools/fake_transition.c rc = fake_cib->cmds->replace(fake_cib, XML_CIB_TAG_STATUS, cib_node, cib_node 792 tools/fake_transition.c free_xml(cib_node);