pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
msg_xml_compat.h
Go to the documentation of this file.
1 /*
2  * Copyright 2004-2024 the Pacemaker project contributors
3  *
4  * The version control history for this file may have further details.
5  *
6  * This source code is licensed under the GNU Lesser General Public License
7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8  */
9 
10 #ifndef PCMK__CRM_MSG_XML_COMPAT__H
11 # define PCMK__CRM_MSG_XML_COMPAT__H
12 
13 #include <crm/common/agents.h> // PCMK_STONITH_PROVIDES
14 #include <crm/common/xml.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
29 #define XML_RSC_ATTR_INCARNATION_MAX PCMK_META_CLONE_MAX
31 
33 #define XML_RSC_ATTR_INCARNATION_MIN PCMK_META_CLONE_MIN
34 
36 #define XML_RSC_ATTR_INCARNATION_NODEMAX PCMK_META_CLONE_NODE_MAX
37 
39 #define XML_RSC_ATTR_PROMOTED_MAX PCMK_META_PROMOTED_MAX
40 
42 #define XML_RSC_ATTR_PROMOTED_NODEMAX PCMK_META_PROMOTED_NODE_MAX
43 
45 #define XML_RSC_ATTR_PROVIDES PCMK_STONITH_PROVIDES
46 
48 #define PCMK_XE_PROMOTABLE_LEGACY "master"
49 
51 #define XML_CIB_TAG_MASTER PCMK_XE_PROMOTABLE_LEGACY
52 
54 #define PCMK_XA_PROMOTED_MAX_LEGACY "master-max"
55 
57 #define PCMK_XE_PROMOTED_MAX_LEGACY PCMK_XA_PROMOTED_MAX_LEGACY
58 
60 #define XML_RSC_ATTR_MASTER_MAX PCMK_XA_PROMOTED_MAX_LEGACY
61 
63 #define PCMK_XA_PROMOTED_NODE_MAX_LEGACY "master-node-max"
64 
66 #define PCMK_XE_PROMOTED_NODE_MAX_LEGACY PCMK_XA_PROMOTED_NODE_MAX_LEGACY
67 
69 #define XML_RSC_ATTR_MASTER_NODEMAX PCMK_XA_PROMOTED_NODE_MAX_LEGACY
70 
72 #define XML_RSC_ATTR_FAIL_STICKINESS PCMK_META_MIGRATION_THRESHOLD
73 
75 #define XML_RSC_ATTR_FAIL_TIMEOUT PCMK_META_FAILURE_TIMEOUT
76 
78 #define XML_ATTR_RA_VERSION "ra-version"
79 
81 #define XML_TAG_FRAGMENT "cib_fragment"
82 
84 #define XML_TAG_RSC_VER_ATTRS "rsc_versioned_attrs"
85 
87 #define XML_TAG_OP_VER_ATTRS "op_versioned_attrs"
88 
90 #define XML_TAG_OP_VER_META "op_versioned_meta"
91 
93 #define XML_ATTR_UUID "id"
94 
96 #define XML_ATTR_VERBOSE "verbose"
97 
99 #define XML_CIB_TAG_DOMAINS "domains"
100 
102 #define XML_CIB_ATTR_SOURCE "source"
103 
105 #define XML_NODE_EXPECTED "expected"
106 
108 #define XML_NODE_IN_CLUSTER "in_ccm"
109 
111 #define XML_NODE_IS_PEER "crmd"
112 
114 #define XML_NODE_JOIN_STATE "join"
115 
117 #define XML_RSC_OP_LAST_RUN "last-run"
118 
120 #define TYPE(x) (((x) == NULL)? NULL : (const char *) ((x)->name))
121 
123 #define XML_CONFIG_ATTR_RECHECK PCMK_OPT_CLUSTER_RECHECK_INTERVAL
124 
126 #define XML_CONFIG_ATTR_DC_DEADTIME PCMK_OPT_DC_DEADTIME
127 
129 #define XML_CONFIG_ATTR_ELECTION_FAIL PCMK_OPT_ELECTION_TIMEOUT
130 
132 #define XML_CONFIG_ATTR_FENCE_REACTION PCMK_OPT_FENCE_REACTION
133 
135 #define XML_ATTR_HAVE_WATCHDOG PCMK_OPT_HAVE_WATCHDOG
136 
138 #define XML_CONFIG_ATTR_NODE_PENDING_TIMEOUT PCMK_OPT_NODE_PENDING_TIMEOUT
139 
141 #define XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY PCMK_OPT_PRIORITY_FENCING_DELAY
142 
144 #define XML_CONFIG_ATTR_FORCE_QUIT PCMK_OPT_SHUTDOWN_ESCALATION
145 
147 #define XML_CONFIG_ATTR_SHUTDOWN_LOCK PCMK_OPT_SHUTDOWN_LOCK
148 
150 #define XML_CONFIG_ATTR_SHUTDOWN_LOCK_LIMIT PCMK_OPT_SHUTDOWN_LOCK_LIMIT
151 
153 #define XML_ATTR_CRM_VERSION PCMK_XA_CRM_FEATURE_SET
154 
156 #define XML_ATTR_DIGEST "digest"
157 
159 #define XML_ATTR_VALIDATION PCMK_XA_VALIDATE_WITH
160 
162 #define XML_ATTR_QUORUM_PANIC PCMK_XA_NO_QUORUM_PANIC
163 
165 #define XML_ATTR_HAVE_QUORUM PCMK_XA_HAVE_QUORUM
166 
168 #define XML_ATTR_GENERATION PCMK_XA_EPOCH
169 
171 #define XML_ATTR_GENERATION_ADMIN PCMK_XA_ADMIN_EPOCH
172 
174 #define XML_ATTR_NUMUPDATES PCMK_XA_NUM_UPDATES
175 
177 #define XML_ATTR_ORIGIN PCMK_XA_CRM_DEBUG_ORIGIN
178 
180 #define XML_ATTR_TSTAMP PCMK_XA_CRM_TIMESTAMP
181 
183 #define XML_CIB_ATTR_WRITTEN PCMK_XA_CIB_LAST_WRITTEN
184 
186 #define XML_ATTR_VERSION PCMK_XA_VERSION
187 
189 #define XML_ATTR_DESC PCMK_XA_DESCRIPTION
190 
192 #define XML_ATTR_ID PCMK_XA_ID
193 
195 #define XML_FAILCIB_ATTR_ID PCMK_XA_ID
196 
198 #define XML_RSC_ATTR_TARGET PCMK_META_CONTAINER_ATTRIBUTE_TARGET
199 
201 #define XML_RSC_ATTR_RESTART "restart-type"
202 
204 #define XML_RSC_ATTR_ORDERED PCMK_META_ORDERED
205 
207 #define XML_RSC_ATTR_INTERLEAVE PCMK_META_INTERLEAVE
208 
210 #define XML_RSC_ATTR_INCARNATION "clone"
211 
213 #define XML_RSC_ATTR_PROMOTABLE PCMK_META_PROMOTABLE
214 
216 #define XML_RSC_ATTR_MANAGED PCMK_META_IS_MANAGED
217 
219 #define XML_RSC_ATTR_TARGET_ROLE PCMK_META_TARGET_ROLE
220 
222 #define XML_RSC_ATTR_UNIQUE PCMK_META_GLOBALLY_UNIQUE
223 
225 #define XML_RSC_ATTR_NOTIFY PCMK_META_NOTIFY
226 
228 #define XML_RSC_ATTR_STICKINESS PCMK_META_RESOURCE_STICKINESS
229 
231 #define XML_RSC_ATTR_MULTIPLE PCMK_META_MULTIPLE_ACTIVE
232 
234 #define XML_RSC_ATTR_REQUIRES PCMK_META_REQUIRES
235 
237 #define XML_RSC_ATTR_CONTAINER "container"
238 
240 #define XML_RSC_ATTR_INTERNAL_RSC "internal_rsc"
241 
243 #define XML_RSC_ATTR_MAINTENANCE PCMK_META_MAINTENANCE
244 
246 #define XML_RSC_ATTR_REMOTE_NODE PCMK_META_REMOTE_NODE
247 
249 #define XML_RSC_ATTR_CLEAR_OP "clear_failure_op"
250 
252 #define XML_RSC_ATTR_CLEAR_INTERVAL "clear_failure_interval"
253 
255 #define XML_RSC_ATTR_CRITICAL PCMK_META_CRITICAL
256 
258 #define XML_OP_ATTR_ALLOW_MIGRATE PCMK_META_ALLOW_MIGRATE
259 
261 #define XML_BOOLEAN_YES PCMK_VALUE_TRUE
262 
264 #define XML_BOOLEAN_NO PCMK_VALUE_FALSE
265 
267 #define XML_RSC_ATTR_REMOTE_RA_ADDR PCMK_REMOTE_RA_ADDR
268 
270 #define XML_RSC_ATTR_REMOTE_RA_SERVER PCMK_REMOTE_RA_SERVER
271 
273 #define XML_RSC_ATTR_REMOTE_RA_PORT PCMK_REMOTE_RA_PORT
274 
276 #define XML_REMOTE_ATTR_RECONNECT_INTERVAL PCMK_REMOTE_RA_RECONNECT_INTERVAL
277 
279 #define XML_ATTR_NAME PCMK_XA_NAME
280 
282 #define XML_NVPAIR_ATTR_NAME PCMK_XA_NAME
283 
285 #define XML_EXPR_ATTR_VALUE PCMK_XA_VALUE
286 
288 #define XML_NVPAIR_ATTR_VALUE PCMK_XA_VALUE
289 
291 #define XML_ALERT_ATTR_REC_VALUE PCMK_XA_VALUE
292 
294 #define XML_ATTR_IDREF PCMK_XA_ID_REF
295 
297 #define XML_ATTR_ID_LONG "long-id"
298 
300 #define XML_ATTR_TYPE PCMK_XA_TYPE
301 
303 #define XML_EXPR_ATTR_TYPE PCMK_XA_TYPE
304 
306 #define XML_AGENT_ATTR_PROVIDER PCMK_XA_PROVIDER
307 
309 #define XML_AGENT_ATTR_CLASS PCMK_XA_CLASS
310 
312 #define XML_ATTR_OP PCMK_XE_OP
313 
315 #define XML_ATTR_DC_UUID PCMK_XA_DC_UUID
316 
318 #define XML_ATTR_UPDATE_ORIG PCMK_XA_UPDATE_ORIGIN
319 
321 #define XML_ATTR_UPDATE_CLIENT PCMK_XA_UPDATE_CLIENT
322 
324 #define XML_ATTR_UPDATE_USER PCMK_XA_UPDATE_USER
325 
327 #define XML_ATTR_REQUEST PCMK_XA_REQUEST
328 
330 #define XML_ATTR_RESPONSE "response"
331 
333 #define XML_ATTR_UNAME PCMK_XA_UNAME
334 
336 #define XML_ATTR_REFERENCE PCMK_XA_REFERENCE
337 
339 #define XML_ACL_ATTR_REF PCMK_XA_REFERENCE
340 
342 #define F_CRM_REFERENCE PCMK_XA_REFERENCE
343 
345 #define XML_ATTR_TRANSITION_MAGIC "transition-magic"
346 
348 #define XML_ATTR_TRANSITION_KEY "transition-key"
349 
351 #define XML_ATTR_STONITH_INDEX PCMK_XA_INDEX
352 
354 #define XML_ATTR_STONITH_TARGET PCMK_XA_TARGET
355 
357 #define XML_ATTR_STONITH_TARGET_VALUE PCMK_XA_TARGET_VALUE
358 
360 #define XML_ATTR_STONITH_TARGET_PATTERN PCMK_XA_TARGET_PATTERN
361 
363 #define XML_ATTR_STONITH_TARGET_ATTRIBUTE PCMK_XA_TARGET_ATTRIBUTE
364 
366 #define XML_ATTR_STONITH_DEVICES PCMK_XA_DEVICES
367 
368 #ifndef F_ORIG
369 #define F_ORIG "src"
371 #endif
372 
374 #define F_CRM_HOST_FROM F_ORIG
375 
376 #ifndef F_SEQ
377 #define F_SEQ "seq"
379 #endif
380 
381 #ifndef F_SUBTYPE
382 #define F_SUBTYPE "subt"
384 #endif
385 
387 #define F_CRM_MSG_TYPE F_SUBTYPE
388 
389 #ifndef F_TYPE
390 #define F_TYPE "t"
392 #endif
393 
394 #ifndef F_CLIENTNAME
395 #define F_CLIENTNAME "cn"
397 #endif
398 
399 #ifndef F_XML_TAGNAME
400 #define F_XML_TAGNAME "__name__"
402 #endif
403 
405 #define XML_BOOLEAN_TRUE PCMK_VALUE_TRUE
406 
408 #define XML_BOOLEAN_FALSE PCMK_VALUE_FALSE
409 
411 #define F_CRM_TASK "crm_task"
412 
414 #define F_CRM_HOST_TO "crm_host_to"
415 
417 #define F_CRM_SYS_TO "crm_sys_to"
418 
420 #define F_CRM_SYS_FROM "crm_sys_from"
421 
423 #define F_CRM_VERSION PCMK_XA_VERSION
424 
426 #define F_CRM_ORIGIN PCMK_XA_ORIGIN
427 
429 #define F_CRM_USER "crm_user"
430 
432 #define F_CRM_JOIN_ID "join_id"
433 
435 #define F_CRM_DC_LEAVING "dc-leaving"
436 
438 #define F_CRM_ELECTION_ID "election-id"
439 
441 #define F_CRM_ELECTION_AGE_S "election-age-sec"
442 
444 #define F_CRM_ELECTION_AGE_US "election-age-nano-sec"
445 
447 #define F_CRM_ELECTION_OWNER "election-owner"
448 
450 #define F_CRM_TGRAPH "crm-tgraph-file"
451 
453 #define F_CRM_TGRAPH_INPUT "crm-tgraph-in"
454 
456 #define F_CRM_THROTTLE_MODE "crm-limit-mode"
457 
459 #define F_CRM_THROTTLE_MAX "crm-limit-max"
460 
462 #define XML_PING_ATTR_STATUS PCMK_XA_RESULT
463 
465 #define XML_PING_ATTR_SYSFROM "crm_subsystem"
466 
468 #define XML_PING_ATTR_CRMDSTATE "crmd_state"
469 
471 #define XML_PING_ATTR_PACEMAKERDSTATE "pacemakerd_state"
472 
474 #define XML_FAILCIB_ATTR_OBJTYPE "object_type"
475 
477 #define XML_FAILCIB_ATTR_OP PCMK_XA_OPERATION
478 
480 #define XML_LRM_ATTR_TASK PCMK_XA_OPERATION
481 
483 #define XML_EXPR_ATTR_OPERATION PCMK_XA_OPERATION
484 
486 #define XML_DIFF_OP PCMK_XA_OPERATION
487 
489 #define XML_FAILCIB_ATTR_REASON PCMK_XA_REASON
490 
492 #define XML_ATTR_TIMEOUT PCMK_META_TIMEOUT
493 
495 #define XML_ALERT_ATTR_TIMEOUT PCMK_META_TIMEOUT
496 
498 #define XML_ALERT_ATTR_PATH PCMK_XA_PATH
499 
501 #define XML_DIFF_PATH PCMK_XA_PATH
502 
504 #define XML_ALERT_ATTR_TSTAMP_FORMAT PCMK_META_TIMESTAMP_FORMAT
505 
507 #define XML_LRM_ATTR_INTERVAL PCMK_META_INTERVAL
508 
510 #define XML_LRM_ATTR_INTERVAL_MS PCMK_META_INTERVAL
511 
513 #define XML_CIB_ATTR_REPLACE "replace"
514 
516 #define XML_COLOC_ATTR_SOURCE_INSTANCE "rsc-instance"
517 
519 #define XML_COLOC_ATTR_TARGET_INSTANCE "with-rsc-instance"
520 
522 #define XML_OP_ATTR_ON_FAIL PCMK_META_ON_FAIL
523 
525 #define XML_OP_ATTR_START_DELAY PCMK_META_START_DELAY
526 
528 #define XML_OP_ATTR_ORIGIN PCMK_META_INTERVAL_ORIGIN
529 
531 #define XML_OP_ATTR_PENDING PCMK_META_RECORD_PENDING
532 
534 #define XML_OP_ATTR_DIGESTS_ALL "digests-all"
535 
537 #define XML_OP_ATTR_DIGESTS_SECURE "digests-secure"
538 
540 #define XML_CIB_ATTR_PRIORITY "priority"
541 
543 #define XML_LRM_ATTR_TASK_KEY "operation_key"
544 
546 #define XML_LRM_ATTR_TARGET "on_node"
547 
549 #define XML_LRM_ATTR_TARGET_UUID "on_node_uuid"
550 
552 #define XML_ORDER_ATTR_FIRST_INSTANCE "first-instance"
553 
555 #define XML_ORDER_ATTR_THEN_INSTANCE "then-instance"
556 
558 #define XML_TAG_DIFF_ADDED "diff-added"
559 
561 #define XML_TAG_DIFF_REMOVED "diff-removed"
562 
564 #define XML_ATTR_TE_NOWAIT "op_no_wait"
565 
567 #define XML_ATTR_TE_TARGET_RC "op_target_rc"
568 
570 #define XML_LRM_ATTR_ROUTER_NODE "router_node"
571 
573 #define XML_LRM_ATTR_RSCID "rsc-id"
574 
576 #define XML_LRM_ATTR_OPSTATUS "op-status"
577 
579 #define XML_LRM_ATTR_RC "rc-code"
580 
582 #define XML_LRM_ATTR_CALLID "call-id"
583 
585 #define XML_LRM_ATTR_OP_DIGEST "op-digest"
586 
588 #define XML_LRM_ATTR_OP_RESTART "op-force-restart"
589 
591 #define XML_LRM_ATTR_OP_SECURE "op-secure-params"
592 
594 #define XML_LRM_ATTR_RESTART_DIGEST "op-restart-digest"
595 
597 #define XML_LRM_ATTR_SECURE_DIGEST "op-secure-digest"
598 
600 #define XML_LRM_ATTR_EXIT_REASON PCMK_XA_EXIT_REASON
601 
603 #define XML_RSC_OP_LAST_CHANGE PCMK_XA_LAST_RC_CHANGE
604 
606 #define XML_RSC_OP_T_EXEC PCMK_XA_EXEC_TIME
607 
609 #define XML_RSC_OP_T_QUEUE PCMK_XA_QUEUE_TIME
610 
612 #define XML_LRM_ATTR_MIGRATE_SOURCE "migrate_source"
613 
615 #define XML_LRM_ATTR_MIGRATE_TARGET "migrate_target"
616 
618 #define XML_RULE_ATTR_SCORE PCMK_XA_SCORE
619 
621 #define XML_RULE_ATTR_SCORE_ATTRIBUTE PCMK_XA_SCORE_ATTRIBUTE
622 
624 #define XML_ACL_TAG_ROLE_REF PCMK_XE_ROLE
625 
627 #define XML_RULE_ATTR_ROLE PCMK_XA_ROLE
628 
630 #define XML_RULE_ATTR_BOOLEAN_OP PCMK_XA_BOOLEAN_OP
631 
633 #define XML_EXPR_ATTR_ATTRIBUTE PCMK_XA_ATTRIBUTE
634 
636 #define XML_ACL_ATTR_ATTRIBUTE PCMK_XA_ATTRIBUTE
637 
639 #define XML_EXPR_ATTR_VALUE_SOURCE PCMK_XA_VALUE_SOURCE
640 
642 #define XML_CONS_ATTR_SYMMETRICAL PCMK_XA_SYMMETRICAL
643 
645 #define XML_LOCATION_ATTR_DISCOVERY PCMK_XA_RESOURCE_DISCOVERY
646 
648 #define XML_TAG_PARAMS PCMK_XE_PARAMETERS
649 
651 #define XML_COLOC_ATTR_SOURCE PCMK_XA_RSC
652 
654 #define XML_LOC_ATTR_SOURCE PCMK_XA_RSC
655 
657 #define XML_COLOC_ATTR_SOURCE_ROLE PCMK_XA_RSC_ROLE
658 
660 #define XML_COLOC_ATTR_TARGET PCMK_XA_WITH_RSC
661 
663 #define XML_COLOC_ATTR_TARGET_ROLE PCMK_XA_WITH_RSC_ROLE
664 
666 #define XML_COLOC_ATTR_NODE_ATTR PCMK_XA_NODE_ATTRIBUTE
667 
669 #define XML_COLOC_ATTR_INFLUENCE PCMK_XA_INFLUENCE
670 
672 #define XML_LOC_ATTR_SOURCE_PATTERN PCMK_XA_RSC_PATTERN
673 
675 #define XML_ORDER_ATTR_FIRST PCMK_XA_FIRST
676 
678 #define XML_ORDER_ATTR_THEN PCMK_XA_THEN
679 
681 #define XML_ORDER_ATTR_FIRST_ACTION PCMK_XA_FIRST_ACTION
682 
684 #define XML_ORDER_ATTR_THEN_ACTION PCMK_XA_THEN_ACTION
685 
687 #define XML_ORDER_ATTR_KIND PCMK_XA_KIND
688 
690 #define XML_ACL_ATTR_KIND PCMK_XA_KIND
691 
693 #define XML_TICKET_ATTR_TICKET PCMK_XA_TICKET
694 
696 #define XML_TICKET_ATTR_LOSS_POLICY PCMK_XA_LOSS_POLICY
697 
699 #define XML_ACL_ATTR_REFv1 "ref"
700 
702 #define XML_ACL_ATTR_TAG PCMK_XA_OBJECT_TYPE
703 
705 #define XML_ACL_ATTR_TAGv1 "tag"
706 
708 #define XML_ACL_ATTR_XPATH PCMK_XA_XPATH
709 
711 #define XML_CRM_TAG_PING "ping_response"
712 
713 // NOTE: sbd (as of at least 1.5.2) uses this
715 #define XML_TAG_CIB PCMK_XE_CIB
716 
718 #define XML_CIB_TAG_CONFIGURATION PCMK_XE_CONFIGURATION
719 
721 #define XML_CIB_TAG_STATUS PCMK_XE_STATUS
722 
724 #define XML_CIB_TAG_RESOURCES PCMK_XE_RESOURCES
725 
727 #define XML_CIB_TAG_NODES PCMK_XE_NODES
728 
730 #define XML_CIB_TAG_CONSTRAINTS PCMK_XE_CONSTRAINTS
731 
733 #define XML_CIB_TAG_CRMCONFIG PCMK_XE_CRM_CONFIG
734 
736 #define XML_CIB_TAG_OPCONFIG PCMK_XE_OP_DEFAULTS
737 
739 #define XML_CIB_TAG_RSCCONFIG PCMK_XE_RSC_DEFAULTS
740 
742 #define XML_CIB_TAG_ACLS PCMK_XE_ACLS
743 
745 #define XML_CIB_TAG_ALERTS PCMK_XE_ALERTS
746 
748 #define XML_CIB_TAG_ALERT PCMK_XE_ALERT
749 
751 #define XML_CIB_TAG_ALERT_RECIPIENT PCMK_XE_RECIPIENT
752 
754 #define XML_CIB_TAG_ALERT_SELECT PCMK_XE_SELECT
755 
757 #define XML_CIB_TAG_ALERT_ATTRIBUTES PCMK_XE_SELECT_ATTRIBUTES
758 
760 #define XML_CIB_TAG_ALERT_FENCING PCMK_XE_SELECT_FENCING
761 
763 #define XML_CIB_TAG_ALERT_NODES PCMK_XE_SELECT_NODES
764 
766 #define XML_CIB_TAG_ALERT_RESOURCES PCMK_XE_SELECT_RESOURCES
767 
769 #define XML_CIB_TAG_ALERT_ATTR PCMK_XE_ATTRIBUTE
770 
772 #define XML_CIB_TAG_STATE "node_state"
773 
775 #define XML_CIB_TAG_NODE PCMK_XE_NODE
776 
778 #define XML_CIB_TAG_NVPAIR PCMK_XE_NVPAIR
779 
781 #define XML_CIB_TAG_PROPSET PCMK_XE_CLUSTER_PROPERTY_SET
782 
784 #define XML_TAG_ATTR_SETS PCMK_XE_INSTANCE_ATTRIBUTES
785 
787 #define XML_TAG_META_SETS PCMK_XE_META_ATTRIBUTES
788 
790 #define XML_TAG_ATTRS "attributes"
791 
793 #define XML_TAG_PARAM "param"
794 
796 #define XML_TAG_UTILIZATION PCMK_XE_UTILIZATION
797 
799 #define XML_TAG_RESOURCE_REF PCMK_XE_RESOURCE_REF
800 
802 #define XML_CIB_TAG_RESOURCE PCMK_XE_PRIMITIVE
803 
805 #define XML_CIB_TAG_GROUP PCMK_XE_GROUP
806 
808 #define XML_CIB_TAG_INCARNATION PCMK_XE_CLONE
809 
811 #define XML_CIB_TAG_CONTAINER PCMK_XE_BUNDLE
812 
814 #define XML_CIB_TAG_RSC_TEMPLATE PCMK_XE_TEMPLATE
815 
817 #define XML_CIB_TAG_LRM "lrm"
818 
820 #define XML_LRM_TAG_RESOURCES "lrm_resources"
821 
823 #define XML_LRM_TAG_RESOURCE "lrm_resource"
824 
826 #define XML_LRM_TAG_RSC_OP "lrm_rsc_op"
827 
829 #define XML_TAG_GRAPH "transition_graph"
830 
832 #define XML_GRAPH_TAG_RSC_OP "rsc_op"
833 
835 #define XML_GRAPH_TAG_PSEUDO_EVENT "pseudo_event"
836 
838 #define XML_GRAPH_TAG_CRM_EVENT "crm_event"
839 
841 #define XML_GRAPH_TAG_DOWNED "downed"
842 
844 #define XML_GRAPH_TAG_MAINTENANCE "maintenance"
845 
847 #define XML_TAG_RULE PCMK_XE_RULE
848 
850 #define XML_TAG_EXPRESSION PCMK_XE_EXPRESSION
851 
853 #define XML_CONS_TAG_RSC_DEPEND PCMK_XE_RSC_COLOCATION
854 
856 #define XML_CONS_TAG_RSC_ORDER PCMK_XE_RSC_ORDER
857 
859 #define XML_CONS_TAG_RSC_LOCATION PCMK_XE_RSC_LOCATION
860 
862 #define XML_CONS_TAG_RSC_TICKET PCMK_XE_RSC_TICKET
863 
865 #define XML_CONS_TAG_RSC_SET PCMK_XE_RESOURCE_SET
866 
868 #define XML_CIB_TAG_GENERATION_TUPPLE "generation_tuple"
869 
871 #define XML_TAG_TRANSIENT_NODEATTRS "transient_attributes"
872 
874 #define XML_ACL_TAG_USER PCMK_XE_ACL_TARGET
875 
877 #define XML_ACL_TAG_USERv1 "acl_user"
878 
880 #define XML_ACL_TAG_GROUP PCMK_XE_ACL_GROUP
881 
883 #define XML_ACL_TAG_ROLE PCMK_XE_ACL_ROLE
884 
886 #define XML_ACL_TAG_PERMISSION PCMK_XE_ACL_PERMISSION
887 
889 #define XML_ACL_TAG_ROLE_REFv1 "role_ref"
890 
892 #define XML_ACL_TAG_READ "read"
893 
895 #define XML_ACL_TAG_WRITE "write"
896 
898 #define XML_ACL_TAG_DENY "deny"
899 
901 #define XML_CIB_TAG_TICKETS PCMK_XE_TICKETS
902 
904 #define XML_CIB_TAG_TICKET_STATE "ticket_state"
905 
907 #define XML_CIB_TAG_TAGS PCMK_XE_TAGS
908 
910 #define XML_CIB_TAG_TAG PCMK_XE_TAG
911 
913 #define XML_CIB_TAG_OBJ_REF PCMK_XE_OBJ_REF
914 
916 #define XML_TAG_FENCING_TOPOLOGY PCMK_XE_FENCING_TOPOLOGY
917 
919 #define XML_TAG_FENCING_LEVEL PCMK_XE_FENCING_LEVEL
920 
922 #define XML_TAG_DIFF PCMK_XE_DIFF
923 
925 #define XML_DIFF_VERSION PCMK_XE_VERSION
926 
928 #define XML_DIFF_VSOURCE PCMK_XE_SOURCE
929 
931 #define XML_DIFF_VTARGET PCMK_XE_TARGET
932 
934 #define XML_DIFF_CHANGE PCMK_XE_CHANGE
935 
937 #define XML_DIFF_LIST PCMK_XE_CHANGE_LIST
938 
940 #define XML_DIFF_ATTR PCMK_XE_CHANGE_ATTR
941 
943 #define XML_DIFF_RESULT PCMK_XE_CHANGE_RESULT
944 
946 #define XML_DIFF_POSITION PCMK_XE_POSITION
947 
949 #define F_CRM_DATA "crm_xml"
950 
952 #define XML_DIFF_MARKER "__crm_diff_marker__"
953 
955 #define XML_TAG_FAILED "failed"
956 
958 #define XML_TAG_OPTIONS "options"
959 
961 #define XML_FAIL_TAG_CIB "failed_update"
962 
964 #define CIB_OPTIONS_FIRST PCMK_VALUE_CIB_BOOTSTRAP_OPTIONS
965 
967 #define XML_PING_ATTR_PACEMAKERDSTATE_INIT "init"
968 
970 #define XML_PING_ATTR_PACEMAKERDSTATE_STARTINGDAEMONS "starting_daemons"
971 
973 #define XML_PING_ATTR_PACEMAKERDSTATE_WAITPING "wait_for_ping"
974 
976 #define XML_PING_ATTR_PACEMAKERDSTATE_RUNNING "running"
977 
979 #define XML_PING_ATTR_PACEMAKERDSTATE_SHUTTINGDOWN "shutting_down"
980 
982 #define XML_PING_ATTR_PACEMAKERDSTATE_SHUTDOWNCOMPLETE "shutdown_complete"
983 
985 #define XML_PING_ATTR_PACEMAKERDSTATE_REMOTE "remote"
986 
987 #ifndef T_CRM
988 #define T_CRM "crmd"
990 #endif
991 
992 #ifndef T_ATTRD
993 #define T_ATTRD "attrd"
995 #endif
996 
998 #define XML_CIB_TAG_SECTION_ALL "all"
999 
1001 #define XML_NODE_IS_REMOTE "remote_node"
1002 
1004 #define XML_NODE_IS_FENCED "node_fenced"
1005 
1007 #define XML_NODE_IS_MAINTENANCE "node_in_maintenance"
1008 
1010 #define XML_CIB_ATTR_SHUTDOWN "shutdown"
1011 
1013 #define XML_NODE_ATTR_RSC_DISCOVERY "resource-discovery-enabled"
1014 
1016 #define ID(x) crm_element_value(x, PCMK_XA_ID)
1017 
1018 #ifdef __cplusplus
1019 }
1020 #endif
1021 
1022 #endif // PCMK__CRM_MSG_XML_COMPAT__H
API related to resource agents.
Wrappers for and extensions to libxml2.