Phriction Welcome to the ClusterLabs Wiki Projects Pacemaker Pacemaker 3.0 Changes Pacemaker 3.0 Api Changes History Version 3 vs 4
Version 3 vs 4
Version 3 vs 4
Content Changes
Content Changes
== libcrmcommon ==
* The **compatibility.h** header has been removed.
== libpe_rules and libpe_status (common code) ==
The following symbols were dropped from the library
=== Constants ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| RSC_ROLE_MAX | |
| RSC_ROLE_UNKNOWN_S | pcmk_role_text(pcmk_role_unknown) |
| RSC_ROLE_STOPPED_S | pcmk_role_text(pcmk_role_stopped) |
| RSC_ROLE_STARTED_S | pcmk_role_text(pcmk_role_started) |
| RSC_ROLE_UNPROMOTED_S | pcmk_role_text(pcmk_role_unpromoted) |
| RSC_ROLE_PROMOTED_S | pcmk_role_text(pcmk_role_promoted) |
| RSC_ROLE_UNPROMOTED_LEGACY_S | |
| RSC_ROLE_SLAVE_S | |
| RSC_ROLE_PROMOTED_LEGACY_S | |
| RSC_ROLE_MASTER_S | |
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| role2text() | pcmk_role_text() |
| role2text() | pcmk_parse_role() |
| task2text() | |
| text2task() | |
| fail2text() | |
| recovery2text() | |
| pe_pref() | |
== libpe_rules ==
== libpe_status ==
== libcrmcommon ==
* The **compatibility.h** header has been removed.
== libpe_rules and libpe_status (common code) ==
The following symbols were dropped from the library
=== Constants ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| RSC_ROLE_MASTER_S | |
| RSC_ROLE_MAX | |
| RSC_ROLE_PROMOTED_LEGACY_S | |
| RSC_ROLE_PROMOTED_S | pcmk_role_text(pcmk_role_promoted) |
| RSC_ROLE_SLAVE_S | |
| RSC_ROLE_STARTED_S | pcmk_role_text(pcmk_role_started) |
| RSC_ROLE_STOPPED_S | pcmk_role_text(pcmk_role_stopped) |
| RSC_ROLE_UNKNOWN_S | pcmk_role_text(pcmk_role_unknown) |
| RSC_ROLE_UNPROMOTED_LEGACY_S | |
| RSC_ROLE_UNPROMOTED_S | pcmk_role_text(pcmk_role_unpromoted) |
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| fail2text() | |
| pe_pref() | |
| recovery2text() | |
| role2text() | pcmk_role_text() |
| task2text() | |
| text2role() | pcmk_parse_role() |
| text2task() | |
== libpe_status ==
The following symbols were dropped from the library
=== Types, structs, and enums ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| action_t | pcmk_action_t |
| action_wrapper_t | |
| enum pe_graph_flags | |
| enum pe_check_parameters | |
| no_quorum_policy_t | enum pe_quorum_policy |
| pe_action_t | pcmk_action_t |
| pe_action_wrapper_t | |
| pe_tag_t | |
| pe_ticket_t | |
| resource_alloc_functions_t | |
| resource_object_functions_t | |
| tag_t | |
| ticket_t | |
== libcrmcommon ==
* The **compatibility.h** header has been removed.
== libpe_rules and libpe_status (common code) ==
The following symbols were dropped from the library
=== Constants ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| RSC_ROLE_MASTER_S | |
| RSC_ROLE_MAX | |
| RSC_ROLE_UNKNOWN_S | pcmk_role_text(pcmk_role_unknown) |PROMOTED_LEGACY_S | |
| RSC_ROLE_STOPPPROMOTED_S | pcmk_role_text(pcmk_role_stopped) |promoted) |
| RSC_ROLE_SLAVE_S | |
| RSC_ROLE_STARTED_S | pcmk_role_text(pcmk_role_started) |
| RSC_ROLE_UNPROMOTSTOPPED_S | pcmk_role_text(pcmk_role_unpromotstopped) |
| RSC_ROLE_PROMOTED_SUNKNOWN_S | pcmk_role_text(pcmk_role_promoted) |unknown) |
| RSC_ROLE_UNPROMOTED_LEGACY_S | |
| RSC_ROLE_SLAVE_S | |
| RSC_ROLE_UNPROMOTED_LEGACY_S | |
| RSC_ROLE_MASTER_S | |S | pcmk_role_text(pcmk_role_unpromoted) |
=== Functions ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| role| fail2text() | pcmk_role_text() ||
| role2text() | pcmk_parse_role() || pe_pref() | |
| task| recovery2text() | |
| text2task| role2text() | |pcmk_role_text() |
| fail| task2text() | |
| recovery2text() | || text2role() | pcmk_parse_role() |
| pe_pref| text2task() | |
== libpe_rules ==
== libpe_status ==
The following symbols were dropped from the library
=== Types, structs, and enums ===
| Dropped | Suggested replacement (if any) |
| -- | -- |
| action_t | pcmk_action_t |
| action_wrapper_t | |
| enum pe_graph_flags | |
| enum pe_check_parameters | |
| no_quorum_policy_t | enum pe_quorum_policy |
| pe_action_t | pcmk_action_t |
| pe_action_wrapper_t | |
| pe_tag_t | |
| pe_ticket_t | |
| resource_alloc_functions_t | |
| resource_object_functions_t | |
| tag_t | |
| ticket_t | |