blob: 502c1347281ae9d6a0898083d1e89c8bb4a3532e [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";
George Liu070c1bc2020-10-12 11:28:01 +080013constexpr auto OPERATIONAL_STATE_IFACE =
14 "xyz.openbmc_project.State.Decorator.OperationalStatus";
Brandon Wyman1d7a7df2020-03-26 10:14:05 -050015constexpr auto VERSION_IFACE = "xyz.openbmc_project.Software.Version";
Matt Spinler0975eaf2022-02-14 15:38:30 -060016constexpr auto AVAILABILITY_IFACE =
17 "xyz.openbmc_project.State.Decorator.Availability";
Matt Spinlerca1e9ea2022-02-18 14:03:08 -060018constexpr auto ASSOC_DEF_IFACE = "xyz.openbmc_project.Association.Definitions";
Brandon Wyman1d7a7df2020-03-26 10:14:05 -050019#ifdef IBM_VPD
20constexpr auto DINF_IFACE = "com.ibm.ipzvpd.DINF";
21constexpr auto VINI_IFACE = "com.ibm.ipzvpd.VINI";
22#endif
Lei YUcfc040c2019-10-29 17:10:26 +080023
24constexpr auto ENDPOINTS_PROP = "endpoints";
25constexpr auto MESSAGE_PROP = "Message";
26constexpr auto RESOLVED_PROP = "Resolved";
27constexpr auto PRESENT_PROP = "Present";
George Liu070c1bc2020-10-12 11:28:01 +080028constexpr auto FUNCTIONAL_PROP = "Functional";
Matt Spinler0975eaf2022-02-14 15:38:30 -060029constexpr auto AVAILABLE_PROP = "Available";
Matt Spinlerca1e9ea2022-02-18 14:03:08 -060030constexpr auto ASSOC_PROP = "Associations";
Lei YUcfc040c2019-10-29 17:10:26 +080031
32constexpr auto INVENTORY_OBJ_PATH = "/xyz/openbmc_project/inventory";
33constexpr auto POWER_OBJ_PATH = "/org/openbmc/control/power0";
34
35constexpr auto INPUT_HISTORY = "input_history";
Cheng C Yange83604b2020-01-09 09:41:47 +080036
37constexpr std::array<const char*, 1> psuEventInterface = {
38 "xyz.openbmc_project.State.Decorator.OperationalStatus"};