HomeClusterLabs Projects

Fix: libpacemaker: Various small fixes to location-list.

Description

Fix: libpacemaker: Various small fixes to location-list.

  • Output a "node" attribute instead of a "host" attribute, bringing crm_resource closer in line to what's used in the CIB.
  • Correct indentation on the function prototypes.
  • Add a "rsc" attribute. This was previously absent (and unnecessary) because the location and colocation constraint output was structured in such a way that you could figure out the resource based on the context. Now that we are just flattening the XML output, this is no longer the case. We need the attribute to make sense of it.
  • Also add "rsc" to the text output. It's not strictly necessary, but it does make things look a little clearer.

Details

Provenance
clumensAuthored on Dec 16 2020, 3:21 PM
Parents
rP12f264062479: Fix: libpacemaker: Fix printing out location constraints.
Branches
Unknown
Tags
Unknown

Event Timeline