HomeClusterLabs Projects

Refactor: various: New force_host arg for pe_node_attribute_calculated()

Description

Refactor: various: New force_host arg for pe_node_attribute_calculated()

We'll use this soon for querying an attribute from a bundle node's host
in colocations, regardless of whether XML_RSC_ATTR_TARGET is set to
"host".

Also implement best practices: Rename to pe__, add doxygen, improve
error checking.

Ref T489

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

Details

Provenance
nrwahl2Authored on Jun 26 2023, 5:58 AM
Parents
rPaabb9e659b5f: Test: scheduler: Update after fixing anticolocation roles
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task