Extend the list of supported dbus property types

The Value type represents all types that are possible for a FRU info.
Most fields in a FRU info are boolean or string. There is also a
3-byte timestamp that, being converted to unix time, fits well into
uint64_t.

However for multirecord area records, there may be other data types,
not all of which are directly listed in IPMI FRU specification.

Hence, this Value type will now list all types possible for dbus nodes
with sdbusplus except for unixfd, object_path, and signature.

The class of Value will also be changed to std::variant per
request of Vernon Mauery, as part of effort to free the sdbusplus
library of extraneous features.

Part of:
https://gerrit.openbmc-project.xyz/q/topic:FRU-MultiRecord

Change-Id: I5d688ba9c14fa77cbe5171bd2ac7610e89c08220
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
1 file changed
tree: 58c7cc2704cdb150af0e8edd9d83c633c3682196
  1. scripts/
  2. .clang-format
  3. .gitignore
  4. bootstrap.sh
  5. configure.ac
  6. fru_area.cpp
  7. fru_area.hpp
  8. frup.cpp
  9. frup.hpp
  10. LICENSE
  11. MAINTAINERS
  12. Makefile.am
  13. readeeprom.cpp
  14. README.md
  15. strgfnhandler.cpp
  16. types.hpp
  17. writefrudata.cpp
  18. writefrudata.hpp
README.md

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`.