HomeClusterLabs Projects

Refactor: libcrmcommon: XML node for option metadata

Description

Refactor: libcrmcommon: XML node for option metadata

Rather than building up an XML string manually, build up an XML node and
call a dump function.

This moves us closer to formatted output. We can adapt
pcmk__format_option_metadata() pretty closely to get a function for XML
output objects. We can write a new function for text output objects that
generates human-friendly text.

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

Details

Provenance
nrwahl2Authored on Jan 15 2024, 4:50 AM
Parents
rPad75f89f9ff9: Test: cts-cli: Update output after dropping "Allowed values"
Branches
Unknown
Tags
Unknown