HomeClusterLabs Projects

Refactor: scheduler: add bundle meta-attribute in primitive method

Description

Refactor: scheduler: add bundle meta-attribute in primitive method

Previously, pcmk_graph_producer.c:add_action_attributes() called the resource's
add_graph_meta() method to add relevant meta-attributes to the action XML, but
then it explicitly added the "external-ip" meta-attribute itself.

Since that is only set on bundle replica children, which must be primitives,
it makes more sense to do that in the primitive add_graph_meta() method.

Details

Provenance
kgaillotAuthored on Jun 16 2022, 5:29 PM
Parents
rP8db5e8fa3591: Refactor: scheduler: declare a few functions in library-private header
Branches
Unknown
Tags
Unknown