HomeClusterLabs Projects

Refactor: libpacemaker: New pcmk__query_node_info() function

Description

Refactor: libpacemaker: New pcmk__query_node_info() function

This new internal API function queries the controller to get the node
info corresponding to a particular node ID. This includes node name,
UUID, membership state, whether the node has quorum, and whether the
node is a Pacemaker Remote node.

It can optionally print a node name message as well, though no callers
will initially use this functionality.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Nov 5 2022, 7:33 PM
Parents
rP04f4647adacf: Refactor: libcrmcommon: Map pcmk_rc_node_unknown to CRM_EX_NOHOST
Branches
Unknown
Tags
Unknown