blob: 00c64b8ac93b4b8a2da00f4327e60bc55b4fd011 [file] [log] [blame]
Sunny Srivastavafa5e4d32023-03-12 11:59:49 -05001#pragma once
2
3#include <cstdint>
4
5namespace vpd
6{
7namespace constants
8{
9static constexpr auto KEYWORD_SIZE = 2;
10static constexpr auto RECORD_SIZE = 4;
11static constexpr auto INDENTATION = 4;
12static constexpr auto SUCCESS = 0;
13static constexpr auto FAILURE = -1;
14
15// To be explicitly used for string comparison.
16static constexpr auto STR_CMP_SUCCESS = 0;
17
18constexpr auto inventoryManagerService =
19 "xyz.openbmc_project.Inventory.Manager";
20constexpr auto baseInventoryPath = "/xyz/openbmc_project/inventory";
21constexpr auto ipzVpdInfPrefix = "com.ibm.ipzvpd.";
22
23constexpr auto vpdManagerService = "com.ibm.VPD.Manager";
24constexpr auto vpdManagerObjectPath = "/com/ibm/VPD/Manager";
25constexpr auto vpdManagerInfName = "com.ibm.VPD.Manager";
26constexpr auto inventoryItemInf = "xyz.openbmc_project.Inventory.Item";
Sunny Srivastavadf9e5542025-02-12 12:33:07 -060027constexpr auto viniInf = "com.ibm.ipzvpd.VINI";
Sunny Srivastavafa5e4d32023-03-12 11:59:49 -050028constexpr auto locationCodeInf = "com.ibm.ipzvpd.Location";
29constexpr auto assetInf = "xyz.openbmc_project.Inventory.Decorator.Asset";
30constexpr auto objectMapperService = "xyz.openbmc_project.ObjectMapper";
31constexpr auto objectMapperObjectPath = "/xyz/openbmc_project/object_mapper";
32constexpr auto objectMapperInfName = "xyz.openbmc_project.ObjectMapper";
Anupama B R6be2c012025-01-23 02:59:27 -060033constexpr auto chassisStateManagerService = "xyz.openbmc_project.State.Chassis";
34constexpr auto chassisStateManagerObjectPath =
35 "/xyz/openbmc_project/state/chassis0";
36constexpr auto chassisStateManagerInfName = "xyz.openbmc_project.State.Chassis";
Souvik Roy7f749a62025-02-10 22:23:41 -060037constexpr auto dbusService = "org.freedesktop.DBus";
38constexpr auto dbusObjectPath = "/org/freedesktop/DBus";
39constexpr auto dbusInterface = "org.freedesktop.DBus";
40constexpr auto biosConfigMgrService = "xyz.openbmc_project.BIOSConfigManager";
Sunny Srivastavadf9e5542025-02-12 12:33:07 -060041constexpr auto networkInf =
42 "xyz.openbmc_project.Inventory.Item.NetworkInterface";
43constexpr auto pcieSlotInf = "xyz.openbmc_project.Inventory.Item.PCIeSlot";
44constexpr auto slotNumInf = "xyz.openbmc_project.Inventory.Decorator.Slot";
45constexpr auto i2cDeviceInf =
46 "xyz.openbmc_project.Inventory.Decorator.I2CDevice";
Sunny Srivastavafa5e4d32023-03-12 11:59:49 -050047} // namespace constants
48} // namespace vpd