blob: df670138276eeae64549869c2cbc227c3621a04d [file] [log] [blame]
Lei YUcfc040c2019-10-29 17:10:26 +08001#pragma once
Cheng C Yange83604b2020-01-09 09:41:47 +08002#include <array>
Lei YUcfc040c2019-10-29 17:10:26 +08003/* const expressions shared in this repository */
4
5constexpr auto ASSOCIATION_IFACE = "xyz.openbmc_project.Association";
6constexpr auto LOGGING_IFACE = "xyz.openbmc_project.Logging.Entry";
7constexpr auto INVENTORY_IFACE = "xyz.openbmc_project.Inventory.Item";
8constexpr auto POWER_IFACE = "org.openbmc.control.Power";
9constexpr auto INVENTORY_MGR_IFACE = "xyz.openbmc_project.Inventory.Manager";
10constexpr auto ASSET_IFACE = "xyz.openbmc_project.Inventory.Decorator.Asset";
Lei YUe8c9cd62019-11-04 14:24:41 +080011constexpr auto PSU_INVENTORY_IFACE =
12 "xyz.openbmc_project.Inventory.Item.PowerSupply";
Brandon Wyman1d7a7df2020-03-26 10:14:05 -050013constexpr auto VERSION_IFACE = "xyz.openbmc_project.Software.Version";
14#ifdef IBM_VPD
15constexpr auto DINF_IFACE = "com.ibm.ipzvpd.DINF";
16constexpr auto VINI_IFACE = "com.ibm.ipzvpd.VINI";
17#endif
Lei YUcfc040c2019-10-29 17:10:26 +080018
19constexpr auto ENDPOINTS_PROP = "endpoints";
20constexpr auto MESSAGE_PROP = "Message";
21constexpr auto RESOLVED_PROP = "Resolved";
22constexpr auto PRESENT_PROP = "Present";
Lei YUcfc040c2019-10-29 17:10:26 +080023
24constexpr auto INVENTORY_OBJ_PATH = "/xyz/openbmc_project/inventory";
25constexpr auto POWER_OBJ_PATH = "/org/openbmc/control/power0";
26
27constexpr auto INPUT_HISTORY = "input_history";
Cheng C Yange83604b2020-01-09 09:41:47 +080028
29constexpr std::array<const char*, 1> psuEventInterface = {
30 "xyz.openbmc_project.State.Decorator.OperationalStatus"};