blob: d4f656cd7fdd9eb28fd574d6f166788a165305aa [file] [log] [blame]
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -06001#pragma once
2
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -06003#include <map>
Patrick Venture5b8b8ac2018-10-20 09:09:37 -07004#include <sdbusplus/message.hpp>
Patrick Venturec9508db2018-10-16 17:18:43 -07005#include <string>
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -06006
7namespace ipmi
8{
9namespace vpd
10{
11
Patrick Venturec9508db2018-10-16 17:18:43 -070012using Path = std::string;
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -060013
Patrick Venturec9508db2018-10-16 17:18:43 -070014using Property = std::string;
15using Value = sdbusplus::message::variant<bool, int64_t, std::string>;
16using PropertyMap = std::map<Property, Value>;
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -060017
Patrick Venturec9508db2018-10-16 17:18:43 -070018using Interface = std::string;
19using InterfaceMap = std::map<Interface, PropertyMap>;
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -060020
Patrick Venturec9508db2018-10-16 17:18:43 -070021using Object = sdbusplus::message::object_path;
22using ObjectMap = std::map<Object, InterfaceMap>;
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -060023
Patrick Venturec9508db2018-10-16 17:18:43 -070024} // namespace vpd
25} // namespace ipmi