SBD's src/sbd-pacemaker.c has a function shutdown_attr_in_cib() that does an XPath search for node_state. Since we don't consider the status section public, we should provide an API that does that and have SBD use that instead.
Description
Description
Revisions and Commits
Revisions and Commits
rP Pacemaker | |||
rPc603effdcdeb API: libcrmcommon: add pcmk_cib_node_shutdown() |
Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T794 Update SBD to avoid deprecated Pacemaker APIs | ||
Merged | kgaillot | T827 Create public API for checking whether a node has a shutdown attribute in the CIB |