HomeClusterLabs Projects

Refactor: libcrmcommon: add internal API for checking for fencing action

Description

Refactor: libcrmcommon: add internal API for checking for fencing action

The naming is a little awkward -- "fencing action" has multiple meanings
depending on the context. It can refer to fencer API requests, fence device
actions, fence agent actions, or just those actions that fence a node (off and
reboot).

This new function pcmk__is_fencing_action() uses the last meaning, so it does
*not* return true for unfencing ("on" actions).

Details

Provenance
kgaillotAuthored on Nov 11 2021, 1:34 PM
Parents
rP91f4bad83f09: Merge pull request #2580 from ClusterLabs/2.1
Branches
Unknown
Tags
Unknown

Event Timeline