This patch set enables the logical volume data collector to obtain the list of
instances from Confd and to pair it with the list of volumes, in order to show
the name of the instance every LV is used by.

Michele Tartara (8):
  Factor out the getInstances function
  Better specify LVInfo "instance" field
  Add "instance" field to LVInfo
  Factor out lv info gathering function
  Add option for loading serialized instances
  Add "includeLogicalId" function for Disks
  Include "instance" information in LV data collector
  Add documentation for the LV collector

 Makefile.am                                  |  2 +
 doc/design-monitoring-agent.rst              |  3 +-
 man/mon-collector.rst                        | 35 +++++++++++
 src/Ganeti/Confd/ClientFunctions.hs          | 53 +++++++++++++++++
 src/Ganeti/DataCollectors/CLI.hs             | 12 ++++
 src/Ganeti/DataCollectors/InstStatus.hs      | 24 +-------
 src/Ganeti/DataCollectors/Lv.hs              | 86 ++++++++++++++++++++++------
 src/Ganeti/Objects.hs                        | 13 +++++
 src/Ganeti/Storage/Lvm/LVParser.hs           |  3 +-
 src/Ganeti/Storage/Lvm/Types.hs              |  2 +
 test/data/instance-prim-sec.txt              | 78 +++++++++++++++++++++++++
 test/hs/Test/Ganeti/Objects.hs               | 45 +++++++++++++++
 test/hs/Test/Ganeti/Storage/Lvm/LVParser.hs  |  9 ++-
 test/hs/shelltests/htools-mon-collector.test |  3 +-
 14 files changed, 324 insertions(+), 44 deletions(-)
 create mode 100644 src/Ganeti/Confd/ClientFunctions.hs
 create mode 100644 test/data/instance-prim-sec.txt

--
1.8.3

Reply via email to