HomeClusterLabs Projects

Refactor: libpe_status: Add pe__rsc_node flag enum

Description

Refactor: libpe_status: Add pe__rsc_node flag enum

This commit adds a new pe__rsc_node flag enum containing values for
assigned, current, and pending. This indicates the criterion used to
look up a resource's location.

After a compatibility break, native_location() could use these flags
instead of an int.

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

Details

Provenance
nrwahl2Authored on Apr 20 2021, 3:55 PM
Parents
rP36c04fbf9021: Merge pull request #3126 from kgaillot/best-practices
Branches
Unknown
Tags
Unknown