root/include/crm/msg_xml.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright 2004-2020 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 XML_TAGS__H
  11 #  define XML_TAGS__H
  12 
  13 #ifdef __cplusplus
  14 extern "C" {
  15 #endif
  16 
  17 #  ifndef F_ORIG
  18 #    define F_ORIG    "src"
  19 #  endif
  20 
  21 #  ifndef F_SEQ
  22 #    define F_SEQ               "seq"
  23 #  endif
  24 
  25 #  ifndef F_SUBTYPE
  26 #    define F_SUBTYPE "subt"
  27 #  endif
  28 
  29 #  ifndef F_TYPE
  30 #    define F_TYPE    "t"
  31 #  endif
  32 
  33 #  ifndef F_CLIENTNAME
  34 #    define     F_CLIENTNAME    "cn"
  35 #  endif
  36 
  37 #  ifndef F_XML_TAGNAME
  38 #    define F_XML_TAGNAME       "__name__"
  39 #  endif
  40 
  41 #  ifndef T_CRM
  42 #    define T_CRM     "crmd"
  43 #  endif
  44 
  45 #  ifndef T_ATTRD
  46 #    define T_ATTRD     "attrd"
  47 #  endif
  48 
  49 #  define CIB_OPTIONS_FIRST "cib-bootstrap-options"
  50 
  51 #  define F_CRM_DATA                    "crm_xml"
  52 #  define F_CRM_TASK                    "crm_task"
  53 #  define F_CRM_HOST_TO                 "crm_host_to"
  54 #  define F_CRM_MSG_TYPE                F_SUBTYPE
  55 #  define F_CRM_SYS_TO                  "crm_sys_to"
  56 #  define F_CRM_SYS_FROM                "crm_sys_from"
  57 #  define F_CRM_HOST_FROM               F_ORIG
  58 #  define F_CRM_REFERENCE               XML_ATTR_REFERENCE
  59 #  define F_CRM_VERSION                 XML_ATTR_VERSION
  60 #  define F_CRM_ORIGIN                  "origin"
  61 #  define F_CRM_USER                    "crm_user"
  62 #  define F_CRM_JOIN_ID                 "join_id"
  63 #  define F_CRM_DC_LEAVING      "dc-leaving"
  64 #  define F_CRM_ELECTION_ID             "election-id"
  65 #  define F_CRM_ELECTION_AGE_S          "election-age-sec"
  66 #  define F_CRM_ELECTION_AGE_US         "election-age-nano-sec"
  67 #  define F_CRM_ELECTION_OWNER          "election-owner"
  68 #  define F_CRM_TGRAPH                  "crm-tgraph-file"
  69 #  define F_CRM_TGRAPH_INPUT            "crm-tgraph-in"
  70 
  71 #  define F_CRM_THROTTLE_MODE           "crm-limit-mode"
  72 #  define F_CRM_THROTTLE_MAX            "crm-limit-max"
  73 
  74 /*---- Common tags/attrs */
  75 #  define XML_DIFF_MARKER               "__crm_diff_marker__"
  76 #  define XML_TAG_CIB                   "cib"
  77 #  define XML_TAG_FAILED                "failed"
  78 
  79 #  define XML_ATTR_CRM_VERSION          "crm_feature_set"
  80 #  define XML_ATTR_DIGEST               "digest"
  81 #  define XML_ATTR_VALIDATION           "validate-with"
  82 #  define XML_ATTR_RA_VERSION           "ra-version"
  83 
  84 #  define XML_ATTR_QUORUM_PANIC         "no-quorum-panic"
  85 #  define XML_ATTR_HAVE_QUORUM          "have-quorum"
  86 #  define XML_ATTR_HAVE_WATCHDOG        "have-watchdog"
  87 #  define XML_ATTR_GENERATION           "epoch"
  88 #  define XML_ATTR_GENERATION_ADMIN     "admin_epoch"
  89 #  define XML_ATTR_NUMUPDATES           "num_updates"
  90 #  define XML_ATTR_TIMEOUT              "timeout"
  91 #  define XML_ATTR_ORIGIN               "crm-debug-origin"
  92 #  define XML_ATTR_TSTAMP               "crm-timestamp"
  93 #  define XML_CIB_ATTR_WRITTEN          "cib-last-written"
  94 #  define XML_ATTR_VERSION              "version"
  95 #  define XML_ATTR_DESC                 "description"
  96 #  define XML_ATTR_ID                   "id"
  97 #  define XML_ATTR_IDREF                        "id-ref"
  98 #  define XML_ATTR_ID_LONG              "long-id"
  99 #  define XML_ATTR_TYPE                 "type"
 100 #  define XML_ATTR_VERBOSE              "verbose"
 101 #  define XML_ATTR_OP                   "op"
 102 #  define XML_ATTR_DC_UUID              "dc-uuid"
 103 #  define XML_ATTR_UPDATE_ORIG          "update-origin"
 104 #  define XML_ATTR_UPDATE_CLIENT        "update-client"
 105 #  define XML_ATTR_UPDATE_USER          "update-user"
 106 
 107 #  define XML_BOOLEAN_TRUE              "true"
 108 #  define XML_BOOLEAN_FALSE             "false"
 109 #  define XML_BOOLEAN_YES               XML_BOOLEAN_TRUE
 110 #  define XML_BOOLEAN_NO                XML_BOOLEAN_FALSE
 111 
 112 #  define XML_TAG_OPTIONS               "options"
 113 
 114 /*---- top level tags/attrs */
 115 #  define XML_ATTR_REQUEST              "request"
 116 #  define XML_ATTR_RESPONSE             "response"
 117 
 118 #  define XML_ATTR_UNAME                "uname"
 119 #  define XML_ATTR_UUID                 "id"
 120 #  define XML_ATTR_REFERENCE            "reference"
 121 
 122 #  define XML_CRM_TAG_PING              "ping_response"
 123 #  define XML_PING_ATTR_STATUS          "result"
 124 #  define XML_PING_ATTR_SYSFROM         "crm_subsystem"
 125 #  define XML_PING_ATTR_CRMDSTATE   "crmd_state"
 126 #  define XML_PING_ATTR_PACEMAKERDSTATE "pacemakerd_state"
 127 #  define XML_PING_ATTR_PACEMAKERDSTATE_INIT "init"
 128 #  define XML_PING_ATTR_PACEMAKERDSTATE_STARTINGDAEMONS "starting_daemons"
 129 #  define XML_PING_ATTR_PACEMAKERDSTATE_WAITPING "wait_for_ping"
 130 #  define XML_PING_ATTR_PACEMAKERDSTATE_RUNNING "running"
 131 #  define XML_PING_ATTR_PACEMAKERDSTATE_SHUTTINGDOWN "shutting_down"
 132 #  define XML_PING_ATTR_PACEMAKERDSTATE_SHUTDOWNCOMPLETE "shutdown_complete"
 133 
 134 #  define XML_TAG_FRAGMENT              "cib_fragment"
 135 
 136 #  define XML_FAIL_TAG_CIB              "failed_update"
 137 
 138 #  define XML_FAILCIB_ATTR_ID           "id"
 139 #  define XML_FAILCIB_ATTR_OBJTYPE      "object_type"
 140 #  define XML_FAILCIB_ATTR_OP           "operation"
 141 #  define XML_FAILCIB_ATTR_REASON       "reason"
 142 
 143 /*---- CIB specific tags/attrs */
 144 #  define XML_CIB_TAG_SECTION_ALL       "all"
 145 #  define XML_CIB_TAG_CONFIGURATION     "configuration"
 146 #  define XML_CIB_TAG_STATUS            "status"
 147 #  define XML_CIB_TAG_RESOURCES         "resources"
 148 #  define XML_CIB_TAG_NODES             "nodes"
 149 #  define XML_CIB_TAG_DOMAINS           "domains"
 150 #  define XML_CIB_TAG_CONSTRAINTS       "constraints"
 151 #  define XML_CIB_TAG_CRMCONFIG         "crm_config"
 152 #  define XML_CIB_TAG_OPCONFIG          "op_defaults"
 153 #  define XML_CIB_TAG_RSCCONFIG         "rsc_defaults"
 154 #  define XML_CIB_TAG_ACLS              "acls"
 155 #  define XML_CIB_TAG_ALERTS            "alerts"
 156 #  define XML_CIB_TAG_ALERT             "alert"
 157 #  define XML_CIB_TAG_ALERT_RECIPIENT   "recipient"
 158 #  define XML_CIB_TAG_ALERT_SELECT      "select"
 159 #  define XML_CIB_TAG_ALERT_ATTRIBUTES  "select_attributes"
 160 #  define XML_CIB_TAG_ALERT_FENCING     "select_fencing"
 161 #  define XML_CIB_TAG_ALERT_NODES       "select_nodes"
 162 #  define XML_CIB_TAG_ALERT_RESOURCES   "select_resources"
 163 #  define XML_CIB_TAG_ALERT_ATTR        "attribute"
 164 
 165 #  define XML_CIB_TAG_STATE             "node_state"
 166 #  define XML_CIB_TAG_NODE              "node"
 167 #  define XML_CIB_TAG_NVPAIR            "nvpair"
 168 
 169 #  define XML_CIB_TAG_PROPSET           "cluster_property_set"
 170 #  define XML_TAG_ATTR_SETS             "instance_attributes"
 171 #  define XML_TAG_META_SETS             "meta_attributes"
 172 #  define XML_TAG_ATTRS                 "attributes"
 173 #  define XML_TAG_RSC_VER_ATTRS "rsc_versioned_attrs"
 174 #  define XML_TAG_OP_VER_ATTRS         "op_versioned_attrs"
 175 #  define XML_TAG_OP_VER_META          "op_versioned_meta"
 176 #  define XML_TAG_PARAMS                "parameters"
 177 #  define XML_TAG_PARAM                 "param"
 178 #  define XML_TAG_UTILIZATION           "utilization"
 179 
 180 #  define XML_TAG_RESOURCE_REF          "resource_ref"
 181 #  define XML_CIB_TAG_RESOURCE          "primitive"
 182 #  define XML_CIB_TAG_GROUP             "group"
 183 #  define XML_CIB_TAG_INCARNATION       "clone"
 184 #  define XML_CIB_TAG_MASTER        "master" // deprecated since 2.0.0
 185 #  define XML_CIB_TAG_CONTAINER         "bundle"
 186 
 187 #  define XML_CIB_TAG_RSC_TEMPLATE      "template"
 188 
 189 #  define XML_RSC_ATTR_TARGET           "container-attribute-target"
 190 #  define XML_RSC_ATTR_RESTART          "restart-type"
 191 #  define XML_RSC_ATTR_ORDERED          "ordered"
 192 #  define XML_RSC_ATTR_INTERLEAVE       "interleave"
 193 #  define XML_RSC_ATTR_INCARNATION      "clone"
 194 #  define XML_RSC_ATTR_INCARNATION_MAX  "clone-max"
 195 #  define XML_RSC_ATTR_INCARNATION_MIN  "clone-min"
 196 #  define XML_RSC_ATTR_INCARNATION_NODEMAX      "clone-node-max"
 197 #  define XML_RSC_ATTR_PROMOTABLE       "promotable"
 198 #  define XML_RSC_ATTR_PROMOTED_MAX     "promoted-max"
 199 #  define XML_RSC_ATTR_PROMOTED_NODEMAX "promoted-node-max"
 200 #  define XML_RSC_ATTR_MASTER_MAX       "master-max"      // deprecated since 2.0.0
 201 #  define XML_RSC_ATTR_MASTER_NODEMAX   "master-node-max" // deprecated since 2.0.0
 202 #  define XML_RSC_ATTR_MANAGED          "is-managed"
 203 #  define XML_RSC_ATTR_TARGET_ROLE      "target-role"
 204 #  define XML_RSC_ATTR_UNIQUE           "globally-unique"
 205 #  define XML_RSC_ATTR_NOTIFY           "notify"
 206 #  define XML_RSC_ATTR_STICKINESS       "resource-stickiness"
 207 #  define XML_RSC_ATTR_FAIL_STICKINESS  "migration-threshold"
 208 #  define XML_RSC_ATTR_FAIL_TIMEOUT     "failure-timeout"
 209 #  define XML_RSC_ATTR_MULTIPLE         "multiple-active"
 210 #  define XML_RSC_ATTR_REQUIRES         "requires"
 211 #  define XML_RSC_ATTR_PROVIDES         "provides"
 212 #  define XML_RSC_ATTR_CONTAINER        "container"
 213 #  define XML_RSC_ATTR_INTERNAL_RSC     "internal_rsc"
 214 #  define XML_RSC_ATTR_MAINTENANCE      "maintenance"
 215 #  define XML_RSC_ATTR_REMOTE_NODE      "remote-node"
 216 #  define XML_RSC_ATTR_CLEAR_OP         "clear_failure_op"
 217 #  define XML_RSC_ATTR_CLEAR_INTERVAL   "clear_failure_interval"
 218 #  define XML_RSC_ATTR_REMOTE_RA_ADDR   "addr"
 219 #  define XML_RSC_ATTR_REMOTE_RA_SERVER "server"
 220 #  define XML_RSC_ATTR_REMOTE_RA_PORT   "port"
 221 
 222 #  define XML_REMOTE_ATTR_RECONNECT_INTERVAL "reconnect_interval"
 223 
 224 #  define XML_OP_ATTR_ON_FAIL           "on-fail"
 225 #  define XML_OP_ATTR_START_DELAY       "start-delay"
 226 #  define XML_OP_ATTR_ALLOW_MIGRATE     "allow-migrate"
 227 #  define XML_OP_ATTR_ORIGIN            "interval-origin"
 228 #  define XML_OP_ATTR_PENDING           "record-pending"
 229 #  define XML_OP_ATTR_DIGESTS_ALL       "digests-all"
 230 #  define XML_OP_ATTR_DIGESTS_SECURE    "digests-secure"
 231 
 232 #  define XML_CIB_TAG_LRM               "lrm"
 233 #  define XML_LRM_TAG_RESOURCES         "lrm_resources"
 234 #  define XML_LRM_TAG_RESOURCE          "lrm_resource"
 235 #  define XML_LRM_TAG_RSC_OP            "lrm_rsc_op"
 236 #  define XML_AGENT_ATTR_CLASS          "class"
 237 #  define XML_AGENT_ATTR_PROVIDER       "provider"
 238 
 239 #  define XML_CIB_ATTR_REPLACE          "replace"
 240 #  define XML_CIB_ATTR_SOURCE           "source"
 241 
 242 #  define XML_CIB_ATTR_PRIORITY         "priority"
 243 #  define XML_CIB_ATTR_SOURCE           "source"
 244 
 245 #  define XML_NODE_JOIN_STATE           "join"
 246 #  define XML_NODE_EXPECTED             "expected"
 247 #  define XML_NODE_IN_CLUSTER           "in_ccm"
 248 #  define XML_NODE_IS_PEER      "crmd"
 249 #  define XML_NODE_IS_REMOTE            "remote_node"
 250 #  define XML_NODE_IS_FENCED            "node_fenced"
 251 #  define XML_NODE_IS_MAINTENANCE   "node_in_maintenance"
 252 
 253 #  define XML_CIB_ATTR_SHUTDOWN         "shutdown"
 254 
 255 /* Aside from being an old name for the executor, LRM is a misnomer here because
 256  * the controller and scheduler use these to track actions, which are not always
 257  * executor operations.
 258  */
 259 
 260 // XML attribute that takes interval specification (user-facing configuration)
 261 #  define XML_LRM_ATTR_INTERVAL         "interval"
 262 
 263 // XML attribute that takes interval in milliseconds (daemon APIs)
 264 // (identical value as above, but different constant allows clearer code intent)
 265 #  define XML_LRM_ATTR_INTERVAL_MS  XML_LRM_ATTR_INTERVAL
 266 
 267 #  define XML_LRM_ATTR_TASK             "operation"
 268 #  define XML_LRM_ATTR_TASK_KEY         "operation_key"
 269 #  define XML_LRM_ATTR_TARGET           "on_node"
 270 #  define XML_LRM_ATTR_TARGET_UUID      "on_node_uuid"
 271 /*! Actions to be executed on Pacemaker Remote nodes are routed through the
 272  *  controller on the cluster node hosting the remote connection. That cluster
 273  *  node is considered the router node for the action.
 274  */
 275 #  define XML_LRM_ATTR_ROUTER_NODE  "router_node"
 276 #  define XML_LRM_ATTR_RSCID            "rsc-id"
 277 #  define XML_LRM_ATTR_OPSTATUS         "op-status"
 278 #  define XML_LRM_ATTR_RC               "rc-code"
 279 #  define XML_LRM_ATTR_CALLID           "call-id"
 280 #  define XML_LRM_ATTR_OP_DIGEST        "op-digest"
 281 #  define XML_LRM_ATTR_OP_RESTART       "op-force-restart"
 282 #  define XML_LRM_ATTR_OP_SECURE        "op-secure-params"
 283 #  define XML_LRM_ATTR_RESTART_DIGEST   "op-restart-digest"
 284 #  define XML_LRM_ATTR_SECURE_DIGEST    "op-secure-digest"
 285 #  define XML_LRM_ATTR_EXIT_REASON      "exit-reason"
 286 
 287 #  define XML_RSC_OP_LAST_CHANGE        "last-rc-change"
 288 #  define XML_RSC_OP_LAST_RUN           "last-run"  // deprecated since 2.0.3
 289 #  define XML_RSC_OP_T_EXEC             "exec-time"
 290 #  define XML_RSC_OP_T_QUEUE            "queue-time"
 291 
 292 #  define XML_LRM_ATTR_MIGRATE_SOURCE   "migrate_source"
 293 #  define XML_LRM_ATTR_MIGRATE_TARGET   "migrate_target"
 294 
 295 #  define XML_TAG_GRAPH                 "transition_graph"
 296 #  define XML_GRAPH_TAG_RSC_OP          "rsc_op"
 297 #  define XML_GRAPH_TAG_PSEUDO_EVENT    "pseudo_event"
 298 #  define XML_GRAPH_TAG_CRM_EVENT       "crm_event"
 299 #  define XML_GRAPH_TAG_DOWNED            "downed"
 300 #  define XML_GRAPH_TAG_MAINTENANCE       "maintenance"
 301 
 302 #  define XML_TAG_RULE                  "rule"
 303 #  define XML_RULE_ATTR_SCORE           "score"
 304 #  define XML_RULE_ATTR_SCORE_ATTRIBUTE "score-attribute"
 305 #  define XML_RULE_ATTR_ROLE            "role"
 306 #  define XML_RULE_ATTR_BOOLEAN_OP      "boolean-op"
 307 
 308 #  define XML_TAG_EXPRESSION            "expression"
 309 #  define XML_EXPR_ATTR_ATTRIBUTE       "attribute"
 310 #  define XML_EXPR_ATTR_OPERATION       "operation"
 311 #  define XML_EXPR_ATTR_VALUE           "value"
 312 #  define XML_EXPR_ATTR_TYPE            "type"
 313 #  define XML_EXPR_ATTR_VALUE_SOURCE    "value-source"
 314 
 315 #  define XML_CONS_TAG_RSC_DEPEND       "rsc_colocation"
 316 #  define XML_CONS_TAG_RSC_ORDER        "rsc_order"
 317 #  define XML_CONS_TAG_RSC_LOCATION     "rsc_location"
 318 #  define XML_CONS_TAG_RSC_TICKET       "rsc_ticket"
 319 #  define XML_CONS_TAG_RSC_SET          "resource_set"
 320 #  define XML_CONS_ATTR_SYMMETRICAL     "symmetrical"
 321 
 322 #  define XML_LOCATION_ATTR_DISCOVERY   "resource-discovery"
 323 
 324 #  define XML_COLOC_ATTR_SOURCE         "rsc"
 325 #  define XML_COLOC_ATTR_SOURCE_ROLE    "rsc-role"
 326 #  define XML_COLOC_ATTR_TARGET         "with-rsc"
 327 #  define XML_COLOC_ATTR_TARGET_ROLE    "with-rsc-role"
 328 #  define XML_COLOC_ATTR_NODE_ATTR      "node-attribute"
 329 #  define XML_COLOC_ATTR_SOURCE_INSTANCE        "rsc-instance"
 330 #  define XML_COLOC_ATTR_TARGET_INSTANCE        "with-rsc-instance"
 331 
 332 #  define XML_LOC_ATTR_SOURCE           "rsc"
 333 #  define XML_LOC_ATTR_SOURCE_PATTERN   "rsc-pattern"
 334 
 335 #  define XML_ORDER_ATTR_FIRST          "first"
 336 #  define XML_ORDER_ATTR_THEN           "then"
 337 #  define XML_ORDER_ATTR_FIRST_ACTION   "first-action"
 338 #  define XML_ORDER_ATTR_THEN_ACTION    "then-action"
 339 #  define XML_ORDER_ATTR_FIRST_INSTANCE "first-instance"
 340 #  define XML_ORDER_ATTR_THEN_INSTANCE  "then-instance"
 341 #  define XML_ORDER_ATTR_KIND           "kind"
 342 
 343 #  define XML_TICKET_ATTR_TICKET        "ticket"
 344 #  define XML_TICKET_ATTR_LOSS_POLICY   "loss-policy"
 345 
 346 #  define XML_NVPAIR_ATTR_NAME          "name"
 347 #  define XML_NVPAIR_ATTR_VALUE         "value"
 348 
 349 #  define XML_NODE_ATTR_RSC_DISCOVERY   "resource-discovery-enabled"
 350 
 351 #  define XML_CONFIG_ATTR_DC_DEADTIME   "dc-deadtime"
 352 #  define XML_CONFIG_ATTR_ELECTION_FAIL "election-timeout"
 353 #  define XML_CONFIG_ATTR_FORCE_QUIT    "shutdown-escalation"
 354 #  define XML_CONFIG_ATTR_RECHECK       "cluster-recheck-interval"
 355 #  define XML_CONFIG_ATTR_FENCE_REACTION        "fence-reaction"
 356 #  define XML_CONFIG_ATTR_SHUTDOWN_LOCK         "shutdown-lock"
 357 #  define XML_CONFIG_ATTR_SHUTDOWN_LOCK_LIMIT   "shutdown-lock-limit"
 358 #  define XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY "priority-fencing-delay"
 359 
 360 #  define XML_ALERT_ATTR_PATH           "path"
 361 #  define XML_ALERT_ATTR_TIMEOUT        "timeout"
 362 #  define XML_ALERT_ATTR_TSTAMP_FORMAT  "timestamp-format"
 363 #  define XML_ALERT_ATTR_REC_VALUE      "value"
 364 
 365 #  define XML_CIB_TAG_GENERATION_TUPPLE "generation_tuple"
 366 
 367 #  define XML_ATTR_TRANSITION_MAGIC     "transition-magic"
 368 #  define XML_ATTR_TRANSITION_KEY       "transition-key"
 369 
 370 #  define XML_ATTR_TE_NOWAIT            "op_no_wait"
 371 #  define XML_ATTR_TE_TARGET_RC         "op_target_rc"
 372 #  define XML_TAG_TRANSIENT_NODEATTRS   "transient_attributes"
 373 
 374 #  define XML_TAG_DIFF_ADDED            "diff-added"
 375 #  define XML_TAG_DIFF_REMOVED          "diff-removed"
 376 
 377 #  define XML_ACL_TAG_USER              "acl_target"
 378 #  define XML_ACL_TAG_USERv1            "acl_user"
 379 #  define XML_ACL_TAG_GROUP             "acl_group"
 380 #  define XML_ACL_TAG_ROLE              "acl_role"
 381 #  define XML_ACL_TAG_PERMISSION        "acl_permission"
 382 #  define XML_ACL_TAG_ROLE_REF          "role"
 383 #  define XML_ACL_TAG_ROLE_REFv1        "role_ref"
 384 #  define XML_ACL_ATTR_KIND             "kind"
 385 #  define XML_ACL_TAG_READ              "read"
 386 #  define XML_ACL_TAG_WRITE             "write"
 387 #  define XML_ACL_TAG_DENY              "deny"
 388 #  define XML_ACL_ATTR_REF              "reference"
 389 #  define XML_ACL_ATTR_REFv1            "ref"
 390 #  define XML_ACL_ATTR_TAG              "object-type"
 391 #  define XML_ACL_ATTR_TAGv1            "tag"
 392 #  define XML_ACL_ATTR_XPATH            "xpath"
 393 #  define XML_ACL_ATTR_ATTRIBUTE        "attribute"
 394 
 395 #  define XML_CIB_TAG_TICKETS           "tickets"
 396 #  define XML_CIB_TAG_TICKET_STATE      "ticket_state"
 397 
 398 #  define XML_CIB_TAG_TAGS              "tags"
 399 #  define XML_CIB_TAG_TAG               "tag"
 400 #  define XML_CIB_TAG_OBJ_REF           "obj_ref"
 401 
 402 #  define XML_TAG_FENCING_TOPOLOGY      "fencing-topology"
 403 #  define XML_TAG_FENCING_LEVEL         "fencing-level"
 404 #  define XML_ATTR_STONITH_INDEX        "index"
 405 #  define XML_ATTR_STONITH_TARGET       "target"
 406 #  define XML_ATTR_STONITH_TARGET_VALUE     "target-value"
 407 #  define XML_ATTR_STONITH_TARGET_PATTERN   "target-pattern"
 408 #  define XML_ATTR_STONITH_TARGET_ATTRIBUTE "target-attribute"
 409 #  define XML_ATTR_STONITH_DEVICES      "devices"
 410 
 411 #  define XML_TAG_DIFF                  "diff"
 412 #  define XML_DIFF_VERSION              "version"
 413 #  define XML_DIFF_VSOURCE              "source"
 414 #  define XML_DIFF_VTARGET              "target"
 415 #  define XML_DIFF_CHANGE               "change"
 416 #  define XML_DIFF_LIST                 "change-list"
 417 #  define XML_DIFF_ATTR                 "change-attr"
 418 #  define XML_DIFF_RESULT               "change-result"
 419 #  define XML_DIFF_OP                   "operation"
 420 #  define XML_DIFF_PATH                 "path"
 421 #  define XML_DIFF_POSITION             "position"
 422 
 423 #  include <crm/common/xml.h>
 424 
 425 #  define ID(x) crm_element_value(x, XML_ATTR_ID)
 426 #  define TYPE(x) crm_element_name(x)
 427 
 428 #ifdef __cplusplus
 429 }
 430 #endif
 431 
 432 #endif

/* [previous][next][first][last][top][bottom][index][help] */