Network.IP: use PDI constants
Use PDI constants instead of local definitions.
Tested: Inspection only.
Change-Id: If4c3c657be0d97658eb400a59ec2833c6df1c131
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/transportconstants.hpp b/transportconstants.hpp
index 69456bc..c1361d3 100644
--- a/transportconstants.hpp
+++ b/transportconstants.hpp
@@ -2,9 +2,12 @@
#include <ipmid/api-types.hpp>
#include <stdplus/zstring_view.hpp>
+#include <xyz/openbmc_project/Network/IP/common.hpp>
#include <cstdint>
+using NetworkIP = sdbusplus::common::xyz::openbmc_project::network::IP;
+
namespace ipmi
{
namespace transport
@@ -15,7 +18,6 @@
// D-Bus Network Daemon definitions
constexpr auto PATH_ROOT = "/xyz/openbmc_project/network"_zsv;
constexpr auto INTF_ETHERNET = "xyz.openbmc_project.Network.EthernetInterface";
-constexpr auto INTF_IP = "xyz.openbmc_project.Network.IP";
constexpr auto INTF_IP_CREATE = "xyz.openbmc_project.Network.IP.Create";
constexpr auto INTF_MAC = "xyz.openbmc_project.Network.MACAddress";
constexpr auto INTF_NEIGHBOR = "xyz.openbmc_project.Network.Neighbor";