HomeClusterLabs Projects

Refactor: libcrmcommon: New enum pcmk__opt_context

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: libcrmcommon: New enum pcmk__opt_context

At first this will be used only for backward compatibility with metadata
commands for pacemaker-based, pacemaker-controld, and
pacemaker-schedulerd. It may be extended later for meta-attribute
contexts or similar.

The idea is that we'll consolidate all cluster options into a single
table and use these enum values as filters for getting daemon metadata.

We won't need a pcmk__opt_context_fenced, because its metadata consists
of stonith instance attributes, not cluster options. Those instance
attributes will be stored in a separate array from the cluster options.

Ref T746

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

Details

Provenance
nrwahl2Authored on Jan 6 2024, 8:52 PM
Tasks
T746: Avoid duplicating option metadata across daemons

Commit No Longer Exists

This commit no longer exists in the repository.