blob: 84b7025974e39ba9107d60155cafde0f77cbf78f [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";
27constexpr auto kwdVpdInf = "com.ibm.ipzvpd.VINI";
28constexpr 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 Srivastavafa5e4d32023-03-12 11:59:49 -050041} // namespace constants
42} // namespace vpd