blob: 6e89957743da6898d25ffb899db9a7a3f987d3be [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";
33} // namespace constants
34} // namespace vpd