blob: e874960d8e7fbf2b621c76b80cb1c4cd3206551a [file] [log] [blame]
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -06001#pragma once
2
Deepak Kodihalli7c183ae2017-02-20 01:13:04 -06003#include <map>
4#include <sdbusplus/server.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