blob: b682d9bfcfb29d00c368947fe988a0168f056f54 [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";
Matt Spinler06594222023-05-01 10:44:43 -050019constexpr auto CHASSIS_IFACE = "xyz.openbmc_project.Inventory.Item.Chassis";
Brandon Wyman1d7a7df2020-03-26 10:14:05 -050020#ifdef IBM_VPD
21constexpr auto DINF_IFACE = "com.ibm.ipzvpd.DINF";
22constexpr auto VINI_IFACE = "com.ibm.ipzvpd.VINI";
23#endif
Lei YUcfc040c2019-10-29 17:10:26 +080024
25constexpr auto ENDPOINTS_PROP = "endpoints";
26constexpr auto MESSAGE_PROP = "Message";
27constexpr auto RESOLVED_PROP = "Resolved";
28constexpr auto PRESENT_PROP = "Present";
George Liu070c1bc2020-10-12 11:28:01 +080029constexpr auto FUNCTIONAL_PROP = "Functional";
Matt Spinler0975eaf2022-02-14 15:38:30 -060030constexpr auto AVAILABLE_PROP = "Available";
Matt Spinlerca1e9ea2022-02-18 14:03:08 -060031constexpr auto ASSOC_PROP = "Associations";
Lei YUcfc040c2019-10-29 17:10:26 +080032
33constexpr auto INVENTORY_OBJ_PATH = "/xyz/openbmc_project/inventory";
34constexpr auto POWER_OBJ_PATH = "/org/openbmc/control/power0";
35
36constexpr auto INPUT_HISTORY = "input_history";
Cheng C Yange83604b2020-01-09 09:41:47 +080037
38constexpr std::array<const char*, 1> psuEventInterface = {
39 "xyz.openbmc_project.State.Decorator.OperationalStatus"};