HomeClusterLabs Projects

Refactor: libcrmcommon: add enum and parser for node health strategy

Description

Refactor: libcrmcommon: add enum and parser for node health strategy

This creates new health.c and health_internal.h files in libcrmcommon for code
related to node health. Currently all such code is in the scheduler libraries,
but some of that will eventually be moved here.

For now, there is a new enum pcmkhealth_strategy and a function
pcmk
parse_health_strategy() to parse it from a string. Nothing uses it as of
this commit.

Details

Provenance
kgaillotAuthored on Apr 1 2022, 12:36 PM
Parents
rPce8972f232a4: Refactor: all: use constants for node-health-related option values
Branches
Unknown
Tags
Unknown