-
Notifications
You must be signed in to change notification settings - Fork 10
/
types.hpp
39 lines (34 loc) · 1.71 KB
/
types.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once
#include <array>
/* const expressions shared in this repository */
constexpr auto ASSOCIATION_IFACE = "xyz.openbmc_project.Association";
constexpr auto LOGGING_IFACE = "xyz.openbmc_project.Logging.Entry";
constexpr auto INVENTORY_IFACE = "xyz.openbmc_project.Inventory.Item";
constexpr auto POWER_IFACE = "org.openbmc.control.Power";
constexpr auto INVENTORY_MGR_IFACE = "xyz.openbmc_project.Inventory.Manager";
constexpr auto ASSET_IFACE = "xyz.openbmc_project.Inventory.Decorator.Asset";
constexpr auto PSU_INVENTORY_IFACE =
"xyz.openbmc_project.Inventory.Item.PowerSupply";
constexpr auto OPERATIONAL_STATE_IFACE =
"xyz.openbmc_project.State.Decorator.OperationalStatus";
constexpr auto VERSION_IFACE = "xyz.openbmc_project.Software.Version";
constexpr auto AVAILABILITY_IFACE =
"xyz.openbmc_project.State.Decorator.Availability";
constexpr auto ASSOC_DEF_IFACE = "xyz.openbmc_project.Association.Definitions";
constexpr auto CHASSIS_IFACE = "xyz.openbmc_project.Inventory.Item.Chassis";
#ifdef IBM_VPD
constexpr auto DINF_IFACE = "com.ibm.ipzvpd.DINF";
constexpr auto VINI_IFACE = "com.ibm.ipzvpd.VINI";
#endif
constexpr auto ENDPOINTS_PROP = "endpoints";
constexpr auto MESSAGE_PROP = "Message";
constexpr auto RESOLVED_PROP = "Resolved";
constexpr auto PRESENT_PROP = "Present";
constexpr auto FUNCTIONAL_PROP = "Functional";
constexpr auto AVAILABLE_PROP = "Available";
constexpr auto ASSOC_PROP = "Associations";
constexpr auto INVENTORY_OBJ_PATH = "/xyz/openbmc_project/inventory";
constexpr auto POWER_OBJ_PATH = "/org/openbmc/control/power0";
constexpr auto INPUT_HISTORY = "input_history";
constexpr std::array<const char*, 1> psuEventInterface = {
"xyz.openbmc_project.State.Decorator.OperationalStatus"};