Add helper class to handle PMBus metadata

Add a NamesValues class to help when adding multiple
PMBus registers to a single metadata entry.

It allows one to add multiple name/value pairs to
the object, and provides a get() method to return them
all concatenated.

It currently supports numeric values, up to a uint64_t,
but more types could be added if ever necessary.

The resulting string will look like:
"name1=value1|name2=value2|etc"

Change-Id: I4def8ac313882a0b9efc7cb33488f19ad33f1727
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed
tree: 7658d0fdbe788a06c35abd6119654142bc16b8c3
  1. power-sequencer/
  2. xyz/
  3. .gitignore
  4. argument.hpp
  5. bootstrap.sh
  6. configure.ac
  7. device.hpp
  8. device_monitor.hpp
  9. elog-errors.hpp
  10. event.hpp
  11. file.hpp
  12. LICENSE
  13. Makefile.am
  14. names_values.hpp
  15. pmbus.cpp
  16. pmbus.hpp
  17. README.md
  18. timer.cpp
  19. timer.hpp
  20. utility.cpp
  21. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.