pacemaker 2.1.5-a3f44794f94
Scalable High-Availability cluster resource manager
msg_xml_compat.h
Go to the documentation of this file.
1/*
2 * Copyright 2004-2022 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
15#ifdef __cplusplus
16extern "C" {
17#endif
18
29#define XML_RSC_ATTR_PROVIDES PCMK_STONITH_PROVIDES
30
32#define XML_CIB_TAG_MASTER PCMK_XE_PROMOTABLE_LEGACY
33
35#define PCMK_XE_PROMOTED_MAX_LEGACY PCMK_XA_PROMOTED_MAX_LEGACY
36
38#define XML_RSC_ATTR_MASTER_MAX PCMK_XA_PROMOTED_MAX_LEGACY
39
41#define PCMK_XE_PROMOTED_NODE_MAX_LEGACY PCMK_XA_PROMOTED_NODE_MAX_LEGACY
42
44#define XML_RSC_ATTR_MASTER_NODEMAX PCMK_XA_PROMOTED_NODE_MAX_LEGACY
45
47#define XML_ATTR_RA_VERSION "ra-version"
48
50#define XML_TAG_RSC_VER_ATTRS "rsc_versioned_attrs"
51
53#define XML_TAG_OP_VER_ATTRS "op_versioned_attrs"
54
56#define XML_TAG_OP_VER_META "op_versioned_meta"
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif // PCMK__CRM_MSG_XML_COMPAT__H
API related to resource agents.