#3 [RFE] Clufter should, as a next step, be able to pcs-commands-translate "CIB diff" formats (generalized superset of verbatim CIB)
Opened 5 years ago by jpokorny. Modified 5 years ago

This may not be so useful alone, but the driving scenario currently is:

  • have pcs tool provide a generalized, omnipresent --hint=FLAGS option
  • dedicate a special flag, call it reverse (undocmd), that would simply
    grab the generated "CIB diff" (directly when instructed to do so, or implicitly
    generated otherwise), swap addition/removal lines (or can be done directly
    in clufter via some kind of signaling to that effect), feed that into clufter
    library and have it generate the equivalent in terms of pcs commands
    ... voila, one can (presumably not always, but in most of the cases) "undo"
    the effect easily (putting explicit snapshotting/history traversal aside now)

What's then upon further consideration are the more complex manipulations
based also on the content of corosync.conf (e.g. node add -> node remove)


Login to comment on this ticket.

Metadata