1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__CRM_COMMON_XML_NAMES__H
11 #define PCMK__CRM_COMMON_XML_NAMES__H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55 #define PCMK_XE_ACL_GROUP "acl_group"
56 #define PCMK_XE_ACL_PERMISSION "acl_permission"
57 #define PCMK_XE_ACL_ROLE "acl_role"
58 #define PCMK_XE_ACL_TARGET "acl_target"
59 #define PCMK_XE_ACLS "acls"
60 #define PCMK_XE_ACTION "action"
61 #define PCMK_XE_ACTIONS "actions"
62 #define PCMK_XE_AGENT "agent"
63 #define PCMK_XE_AGENT_STATUS "agent-status"
64 #define PCMK_XE_AGENTS "agents"
65 #define PCMK_XE_ALERT "alert"
66 #define PCMK_XE_ALERTS "alerts"
67 #define PCMK_XE_ALLOCATIONS "allocations"
68 #define PCMK_XE_ALLOCATIONS_UTILIZATIONS "allocations_utilizations"
69 #define PCMK_XE_ATTRIBUTE "attribute"
70 #define PCMK_XE_BAN "ban"
71 #define PCMK_XE_BANS "bans"
72 #define PCMK_XE_BUNDLE "bundle"
73 #define PCMK_XE_CAPACITY "capacity"
74 #define PCMK_XE_CHANGE "change"
75 #define PCMK_XE_CHANGE_ATTR "change-attr"
76 #define PCMK_XE_CHANGE_LIST "change-list"
77 #define PCMK_XE_CHANGE_RESULT "change-result"
78 #define PCMK_XE_CHECK "check"
79 #define PCMK_XE_CIB "cib"
80 #define PCMK_XE_CLONE "clone"
81 #define PCMK_XE_CLUSTER_ACTION "cluster_action"
82 #define PCMK_XE_CLUSTER_INFO "cluster-info"
83 #define PCMK_XE_CLUSTER_OPTIONS "cluster_options"
84 #define PCMK_XE_CLUSTER_PROPERTY_SET "cluster_property_set"
85 #define PCMK_XE_CLUSTER_STATUS "cluster_status"
86 #define PCMK_XE_COMMAND "command"
87 #define PCMK_XE_CONFIGURATION "configuration"
88 #define PCMK_XE_CONSTRAINT "constraint"
89 #define PCMK_XE_CONSTRAINTS "constraints"
90 #define PCMK_XE_CONTENT "content"
91 #define PCMK_XE_CRM_CONFIG "crm_config"
92 #define PCMK_XE_CRM_MON "crm_mon"
93 #define PCMK_XE_CRM_MON_DISCONNECTED "crm-mon-disconnected"
94 #define PCMK_XE_CURRENT_DC "current_dc"
95 #define PCMK_XE_DATE_EXPRESSION "date_expression"
96 #define PCMK_XE_DATE_SPEC "date_spec"
97 #define PCMK_XE_DC "dc"
98 #define PCMK_XE_DEPRECATED "deprecated"
99 #define PCMK_XE_DIFF "diff"
100 #define PCMK_XE_DIGEST "digest"
101 #define PCMK_XE_DIGESTS "digests"
102 #define PCMK_XE_DOCKER "docker"
103 #define PCMK_XE_DURATION "duration"
104 #define PCMK_XE_ERROR "error"
105 #define PCMK_XE_ERRORS "errors"
106 #define PCMK_XE_EXPRESSION "expression"
107 #define PCMK_XE_FAILURE "failure"
108 #define PCMK_XE_FAILURES "failures"
109 #define PCMK_XE_FEATURE "feature"
110 #define PCMK_XE_FEATURES "features"
111 #define PCMK_XE_FENCE_EVENT "fence_event"
112 #define PCMK_XE_FENCE_HISTORY "fence_history"
113 #define PCMK_XE_FENCING_ACTION "fencing_action"
114 #define PCMK_XE_FENCING_LEVEL "fencing-level"
115 #define PCMK_XE_FENCING_TOPOLOGY "fencing-topology"
116 #define PCMK_XE_GROUP "group"
117 #define PCMK_XE_INJECT_ATTR "inject_attr"
118 #define PCMK_XE_INJECT_SPEC "inject_spec"
119 #define PCMK_XE_INSTANCE_ATTRIBUTES "instance_attributes"
120 #define PCMK_XE_INSTRUCTION "instruction"
121 #define PCMK_XE_ITEM "item"
122 #define PCMK_XE_LAST_CHANGE "last_change"
123 #define PCMK_XE_LAST_FENCED "last-fenced"
124 #define PCMK_XE_LAST_UPDATE "last_update"
125 #define PCMK_XE_LIST "list"
126 #define PCMK_XE_LONGDESC "longdesc"
127 #define PCMK_XE_META_ATTRIBUTES "meta_attributes"
128 #define PCMK_XE_METADATA "metadata"
129 #define PCMK_XE_MODIFICATIONS "modifications"
130 #define PCMK_XE_MODIFY_NODE "modify_node"
131 #define PCMK_XE_MODIFY_TICKET "modify_ticket"
132 #define PCMK_XE_NETWORK "network"
133 #define PCMK_XE_NODE "node"
134 #define PCMK_XE_NODE_ACTION "node_action"
135 #define PCMK_XE_NODE_ATTRIBUTES "node_attributes"
136 #define PCMK_XE_NODE_HISTORY "node_history"
137 #define PCMK_XE_NODE_INFO "node-info"
138 #define PCMK_XE_NODE_WEIGHT "node_weight"
139 #define PCMK_XE_NODES "nodes"
140 #define PCMK_XE_NODES_CONFIGURED "nodes_configured"
141 #define PCMK_XE_NVPAIR "nvpair"
142 #define PCMK_XE_OBJ_REF "obj_ref"
143 #define PCMK_XE_OP "op"
144 #define PCMK_XE_OP_DEFAULTS "op_defaults"
145 #define PCMK_XE_OP_EXPRESSION "op_expression"
146 #define PCMK_XE_OPERATION "operation"
147 #define PCMK_XE_OPERATION_HISTORY "operation_history"
148 #define PCMK_XE_OPERATIONS "operations"
149 #define PCMK_XE_OPTION "option"
150 #define PCMK_XE_OUTPUT "output"
151 #define PCMK_XE_OVERRIDE "override"
152 #define PCMK_XE_OVERRIDES "overrides"
153 #define PCMK_XE_PACEMAKER_RESULT "pacemaker-result"
154 #define PCMK_XE_PACEMAKERD "pacemakerd"
155 #define PCMK_XE_PARAMETER "parameter"
156 #define PCMK_XE_PARAMETERS "parameters"
157 #define PCMK_XE_PODMAN "podman"
158 #define PCMK_XE_PORT_MAPPING "port-mapping"
159 #define PCMK_XE_POSITION "position"
160 #define PCMK_XE_PRIMITIVE "primitive"
161 #define PCMK_XE_PROMOTION_SCORE "promotion_score"
162 #define PCMK_XE_PROVIDER "provider"
163 #define PCMK_XE_PROVIDERS "providers"
164 #define PCMK_XE_PSEUDO_ACTION "pseudo_action"
165 #define PCMK_XE_REASON "reason"
166 #define PCMK_XE_RECIPIENT "recipient"
167 #define PCMK_XE_REPLICA "replica"
168 #define PCMK_XE_RESOURCE "resource"
169 #define PCMK_XE_RESOURCE_AGENT "resource-agent"
170 #define PCMK_XE_RESOURCE_AGENT_ACTION "resource-agent-action"
171 #define PCMK_XE_RESOURCE_CONFIG "resource_config"
172 #define PCMK_XE_RESOURCE_HISTORY "resource_history"
173 #define PCMK_XE_RESOURCE_REF "resource_ref"
174 #define PCMK_XE_RESOURCE_SET "resource_set"
175 #define PCMK_XE_RESOURCES "resources"
176 #define PCMK_XE_RESOURCES_CONFIGURED "resources_configured"
177 #define PCMK_XE_RESULT_CODE "result-code"
178 #define PCMK_XE_REVISED_CLUSTER_STATUS "revised_cluster_status"
179 #define PCMK_XE_ROLE "role"
180 #define PCMK_XE_RSC_ACTION "rsc_action"
181 #define PCMK_XE_RSC_COLOCATION "rsc_colocation"
182 #define PCMK_XE_RSC_DEFAULTS "rsc_defaults"
183 #define PCMK_XE_RSC_EXPRESSION "rsc_expression"
184 #define PCMK_XE_RSC_LOCATION "rsc_location"
185 #define PCMK_XE_RSC_ORDER "rsc_order"
186 #define PCMK_XE_RSC_TICKET "rsc_ticket"
187 #define PCMK_XE_RULE "rule"
188 #define PCMK_XE_RULE_CHECK "rule-check"
189 #define PCMK_XE_SELECT "select"
190 #define PCMK_XE_SELECT_ATTRIBUTES "select_attributes"
191 #define PCMK_XE_SELECT_FENCING "select_fencing"
192 #define PCMK_XE_SELECT_NODES "select_nodes"
193 #define PCMK_XE_SELECT_RESOURCES "select_resources"
194 #define PCMK_XE_SHADOW "shadow"
195 #define PCMK_XE_SHORTDESC "shortdesc"
196 #define PCMK_XE_SOURCE "source"
197 #define PCMK_XE_SPECIAL "special"
198 #define PCMK_XE_STACK "stack"
199 #define PCMK_XE_STATUS "status"
200 #define PCMK_XE_STORAGE "storage"
201 #define PCMK_XE_STORAGE_MAPPING "storage-mapping"
202 #define PCMK_XE_SUMMARY "summary"
203 #define PCMK_XE_TAG "tag"
204 #define PCMK_XE_TAGS "tags"
205 #define PCMK_XE_TARGET "target"
206 #define PCMK_XE_TEMPLATE "template"
207 #define PCMK_XE_TICKET "ticket"
208 #define PCMK_XE_TICKETS "tickets"
209 #define PCMK_XE_TIMING "timing"
210 #define PCMK_XE_TIMINGS "timings"
211 #define PCMK_XE_TRANSITION "transition"
212 #define PCMK_XE_UTILIZATION "utilization"
213 #define PCMK_XE_UTILIZATIONS "utilizations"
214 #define PCMK_XE_VALIDATE "validate"
215 #define PCMK_XE_VERSION "version"
216 #define PCMK_XE_XML "xml"
217 #define PCMK_XE_XML_PATCHSET "xml-patchset"
218
219
220
221
222
223
224 #define PCMK_XA_ACTION "action"
225 #define PCMK_XA_ACTIVE "active"
226 #define PCMK_XA_ADD_HOST "add-host"
227 #define PCMK_XA_ADMIN_EPOCH "admin_epoch"
228 #define PCMK_XA_ADVANCED "advanced"
229 #define PCMK_XA_AGENT "agent"
230 #define PCMK_XA_API_VERSION "api-version"
231 #define PCMK_XA_ATTRIBUTE "attribute"
232 #define PCMK_XA_AUTHOR "author"
233 #define PCMK_XA_AUTOMATIC "automatic"
234 #define PCMK_XA_BLOCKED "blocked"
235 #define PCMK_XA_BOOLEAN_OP "boolean-op"
236 #define PCMK_XA_BUILD "build"
237 #define PCMK_XA_CACHED "cached"
238 #define PCMK_XA_CALL "call"
239 #define PCMK_XA_CIB_LAST_WRITTEN "cib-last-written"
240 #define PCMK_XA_CIB_NODE "cib_node"
241 #define PCMK_XA_CLASS "class"
242 #define PCMK_XA_CLIENT "client"
243 #define PCMK_XA_CODE "code"
244 #define PCMK_XA_COMMENT "comment"
245 #define PCMK_XA_COMPLETED "completed"
246 #define PCMK_XA_CONTROL_PORT "control-port"
247 #define PCMK_XA_COUNT "count"
248 #define PCMK_XA_CRM_DEBUG_ORIGIN "crm-debug-origin"
249 #define PCMK_XA_CRM_FEATURE_SET "crm_feature_set"
250 #define PCMK_XA_CRM_TIMESTAMP "crm-timestamp"
251 #define PCMK_XA_CRMD "crmd"
252 #define PCMK_XA_DAYS "days"
253 #define PCMK_XA_DC_UUID "dc-uuid"
254 #define PCMK_XA_DEFAULT "default"
255 #define PCMK_XA_DELEGATE "delegate"
256 #define PCMK_XA_DESCRIPTION "description"
257 #define PCMK_XA_DEST "dest"
258 #define PCMK_XA_DEVICE "device"
259 #define PCMK_XA_DEVICES "devices"
260 #define PCMK_XA_DISABLED "disabled"
261 #define PCMK_XA_DURATION "duration"
262 #define PCMK_XA_END "end"
263 #define PCMK_XA_EPOCH "epoch"
264 #define PCMK_XA_EXEC "exec"
265 #define PCMK_XA_EXEC_TIME "exec-time"
266 #define PCMK_XA_EXECUTION_CODE "execution_code"
267 #define PCMK_XA_EXECUTION_DATE "execution-date"
268 #define PCMK_XA_EXECUTION_MESSAGE "execution_message"
269 #define PCMK_XA_EXIT_REASON "exit-reason"
270 #define PCMK_XA_EXITCODE "exitcode"
271 #define PCMK_XA_EXITREASON "exitreason"
272 #define PCMK_XA_EXITSTATUS "exitstatus"
273 #define PCMK_XA_EXPECTED "expected"
274 #define PCMK_XA_EXPECTED_UP "expected_up"
275 #define PCMK_XA_EXPIRES "expires"
276 #define PCMK_XA_EXTENDED_STATUS "extended-status"
277 #define PCMK_XA_FAIL_COUNT "fail-count"
278 #define PCMK_XA_FAILED "failed"
279 #define PCMK_XA_FAILURE_IGNORED "failure_ignored"
280 #define PCMK_XA_FEATURE_SET "feature_set"
281 #define PCMK_XA_FEATURES "features"
282 #define PCMK_XA_FILE "file"
283 #define PCMK_XA_FIRST "first"
284 #define PCMK_XA_FIRST_ACTION "first-action"
285 #define PCMK_XA_FOR "for"
286 #define PCMK_XA_FORMAT "format"
287 #define PCMK_XA_FUNCTION "function"
288 #define PCMK_XA_GENERATED "generated"
289 #define PCMK_XA_HASH "hash"
290 #define PCMK_XA_HAVE_QUORUM "have-quorum"
291 #define PCMK_XA_HEALTH "health"
292 #define PCMK_XA_HOST "host"
293 #define PCMK_XA_HOST_INTERFACE "host-interface"
294 #define PCMK_XA_HOST_NETMASK "host-netmask"
295 #define PCMK_XA_HOURS "hours"
296 #define PCMK_XA_ID "id"
297 #define PCMK_XA_ID_AS_RESOURCE "id_as_resource"
298 #define PCMK_XA_ID_REF "id-ref"
299 #define PCMK_XA_IMAGE "image"
300 #define PCMK_XA_INDEX "index"
301 #define PCMK_XA_INFLUENCE "influence"
302 #define PCMK_XA_INSTANCE "instance"
303 #define PCMK_XA_INTERNAL_PORT "internal-port"
304 #define PCMK_XA_INTERVAL "interval"
305 #define PCMK_XA_IP_RANGE_START "ip-range-start"
306 #define PCMK_XA_IS_DC "is_dc"
307 #define PCMK_XA_KIND "kind"
308 #define PCMK_XA_LANG "lang"
309 #define PCMK_XA_LAST_FAILURE "last-failure"
310 #define PCMK_XA_LAST_GRANTED "last-granted"
311 #define PCMK_XA_LAST_RC_CHANGE "last-rc-change"
312 #define PCMK_XA_LAST_UPDATED "last_updated"
313 #define PCMK_XA_LOCKED_TO "locked_to"
314 #define PCMK_XA_LOCKED_TO_HYPHEN "locked-to"
315 #define PCMK_XA_LOSS_POLICY "loss-policy"
316 #define PCMK_XA_MAINTENANCE "maintenance"
317 #define PCMK_XA_MAINTENANCE_MODE "maintenance-mode"
318 #define PCMK_XA_MANAGED "managed"
319 #define PCMK_XA_MESSAGE "message"
320 #define PCMK_XA_MINUTES "minutes"
321 #define PCMK_XA_MIXED_VERSION "mixed_version"
322 #define PCMK_XA_MONTHDAYS "monthdays"
323 #define PCMK_XA_MONTHS "months"
324 #define PCMK_XA_MULTI_STATE "multi_state"
325 #define PCMK_XA_NAME "name"
326 #define PCMK_XA_NETWORK "network"
327 #define PCMK_XA_NEXT_ROLE "next-role"
328 #define PCMK_XA_NO_QUORUM_PANIC "no-quorum-panic"
329 #define PCMK_XA_NO_QUORUM_POLICY "no-quorum-policy"
330 #define PCMK_XA_NODE "node"
331 #define PCMK_XA_NODE_ATTRIBUTE "node-attribute"
332 #define PCMK_XA_NODE_NAME "node_name"
333 #define PCMK_XA_NODE_PATH "node_path"
334 #define PCMK_XA_NODEID "nodeid"
335 #define PCMK_XA_NODES_RUNNING_ON "nodes_running_on"
336 #define PCMK_XA_NUM_UPDATES "num_updates"
337 #define PCMK_XA_NUMBER "number"
338 #define PCMK_XA_NUMBER_RESOURCES "number_resources"
339 #define PCMK_XA_OBJECT_TYPE "object-type"
340 #define PCMK_XA_ON_TARGET "on_target"
341 #define PCMK_XA_ONLINE "online"
342 #define PCMK_XA_OP "op"
343 #define PCMK_XA_OP_KEY "op_key"
344 #define PCMK_XA_OPERATION "operation"
345 #define PCMK_XA_OPTIONS "options"
346 #define PCMK_XA_ORIGIN "origin"
347 #define PCMK_XA_ORPHAN "orphan"
348 #define PCMK_XA_ORPHANED "orphaned"
349 #define PCMK_XA_PACEMAKERD_STATE "pacemakerd-state"
350 #define PCMK_XA_PATH "path"
351 #define PCMK_XA_PENDING "pending"
352 #define PCMK_XA_PORT "port"
353 #define PCMK_XA_PRESENT "present"
354 #define PCMK_XA_PRIORITY_FENCING_DELAY_MS "priority-fencing-delay-ms"
355 #define PCMK_XA_PROGRAM "program"
356 #define PCMK_XA_PROMOTABLE "promotable"
357 #define PCMK_XA_PROMOTED_MAX "promoted-max"
358 #define PCMK_XA_PROMOTED_ONLY "promoted-only"
359 #define PCMK_XA_PROVIDER "provider"
360 #define PCMK_XA_QUEUE_TIME "queue-time"
361 #define PCMK_XA_QUEUED "queued"
362 #define PCMK_XA_QUORUM "quorum"
363 #define PCMK_XA_RANGE "range"
364 #define PCMK_XA_RC "rc"
365 #define PCMK_XA_RC_TEXT "rc_text"
366 #define PCMK_XA_REASON "reason"
367 #define PCMK_XA_REFERENCE "reference"
368 #define PCMK_XA_RELOADABLE "reloadable"
369 #define PCMK_XA_REMAIN_STOPPED "remain_stopped"
370 #define PCMK_XA_REMOTE_CLEAR_PORT "remote-clear-port"
371 #define PCMK_XA_REMOTE_NODE "remote_node"
372 #define PCMK_XA_REMOTE_TLS_PORT "remote-tls-port"
373 #define PCMK_XA_REPLICAS "replicas"
374 #define PCMK_XA_REPLICAS_PER_HOST "replicas-per-host"
375 #define PCMK_XA_REQUEST "request"
376 #define PCMK_XA_REQUIRE_ALL "require-all"
377 #define PCMK_XA_RESOURCE "resource"
378 #define PCMK_XA_RESOURCE_AGENT "resource_agent"
379 #define PCMK_XA_RESOURCE_DISCOVERY "resource-discovery"
380 #define PCMK_XA_RESOURCES_RUNNING "resources_running"
381 #define PCMK_XA_RESULT "result"
382 #define PCMK_XA_ROLE "role"
383 #define PCMK_XA_RSC "rsc"
384 #define PCMK_XA_RSC_PATTERN "rsc-pattern"
385 #define PCMK_XA_RSC_ROLE "rsc-role"
386 #define PCMK_XA_RULE_ID "rule-id"
387 #define PCMK_XA_RUN_COMMAND "run-command"
388 #define PCMK_XA_RUNNING "running"
389 #define PCMK_XA_RUNNING_ON "running_on"
390 #define PCMK_XA_SCOPE "scope"
391 #define PCMK_XA_SCORE "score"
392 #define PCMK_XA_SCORE_ATTRIBUTE "score-attribute"
393 #define PCMK_XA_SEQUENTIAL "sequential"
394 #define PCMK_XA_SECONDS "seconds"
395 #define PCMK_XA_SHUTDOWN "shutdown"
396 #define PCMK_XA_SOURCE "source"
397 #define PCMK_XA_SOURCE_DIR "source-dir"
398 #define PCMK_XA_SOURCE_DIR_ROOT "source-dir-root"
399 #define PCMK_XA_SPEC "spec"
400 #define PCMK_XA_STANDARD "standard"
401 #define PCMK_XA_STANDBY "standby"
402 #define PCMK_XA_STANDBY_ONFAIL "standby_onfail"
403 #define PCMK_XA_START "start"
404 #define PCMK_XA_STATE "state"
405 #define PCMK_XA_STATUS "status"
406 #define PCMK_XA_STONITH_ENABLED "stonith-enabled"
407 #define PCMK_XA_STONITH_TIMEOUT_MS "stonith-timeout-ms"
408 #define PCMK_XA_STOP_ALL_RESOURCES "stop-all-resources"
409 #define PCMK_XA_SYMMETRIC_CLUSTER "symmetric-cluster"
410 #define PCMK_XA_SYMMETRICAL "symmetrical"
411 #define PCMK_XA_SYS_FROM "sys_from"
412 #define PCMK_XA_TAG "tag"
413 #define PCMK_XA_TARGET "target"
414 #define PCMK_XA_TARGET_ATTRIBUTE "target-attribute"
415 #define PCMK_XA_TARGET_DIR "target-dir"
416 #define PCMK_XA_TARGET_PATTERN "target-pattern"
417 #define PCMK_XA_TARGET_ROLE "target_role"
418 #define PCMK_XA_TARGET_VALUE "target-value"
419 #define PCMK_XA_TASK "task"
420 #define PCMK_XA_TEMPLATE "template"
421 #define PCMK_XA_TICKET "ticket"
422 #define PCMK_XA_TIME "time"
423 #define PCMK_XA_THEN "then"
424 #define PCMK_XA_THEN_ACTION "then-action"
425 #define PCMK_XA_TYPE "type"
426 #define PCMK_XA_UNAME "uname"
427 #define PCMK_XA_UNCLEAN "unclean"
428 #define PCMK_XA_UNHEALTHY "unhealthy"
429 #define PCMK_XA_UNIQUE "unique"
430 #define PCMK_XA_UNMANAGED "unmanaged"
431 #define PCMK_XA_UPDATE_CLIENT "update-client"
432 #define PCMK_XA_UPDATE_ORIGIN "update-origin"
433 #define PCMK_XA_UPDATE_USER "update-user"
434 #define PCMK_XA_USER "user"
435 #define PCMK_XA_VALID "valid"
436 #define PCMK_XA_VALIDATE_WITH "validate-with"
437 #define PCMK_XA_VALUE "value"
438 #define PCMK_XA_VALUE_SOURCE "value-source"
439 #define PCMK_XA_VERSION "version"
440 #define PCMK_XA_WATCHDOG "watchdog"
441 #define PCMK_XA_WEEKDAYS "weekdays"
442 #define PCMK_XA_WEEKS "weeks"
443 #define PCMK_XA_WEEKYEARS "weekyears"
444 #define PCMK_XA_WEIGHT "weight"
445 #define PCMK_XA_WHEN "when"
446 #define PCMK_XA_WITH_QUORUM "with_quorum"
447 #define PCMK_XA_WITH_RSC "with-rsc"
448 #define PCMK_XA_WITH_RSC_ROLE "with-rsc-role"
449 #define PCMK_XA_XPATH "xpath"
450 #define PCMK_XA_YEARDAYS "yeardays"
451 #define PCMK_XA_YEARS "years"
452
453
454 #ifdef __cplusplus
455 }
456 #endif
457
458 #endif