From 51dd1856e142d30d0d2c351f3d5eec15a11161b0 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Thu, 16 Nov 2017 15:21:13 -0600 Subject: Update fan inventory method Use the methods provided within sdbusplus.hpp to update fan inventory along with prepping inventory to be updated for each fan rotor sensor's functional state. Change-Id: I7d3026d289b1dd22cd4e7b4457c4d4396309c0b5 Signed-off-by: Matthew Barth --- utility.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'utility.cpp') diff --git a/utility.cpp b/utility.cpp index 7da1557..249fe2f 100644 --- a/utility.cpp +++ b/utility.cpp @@ -29,15 +29,6 @@ using namespace phosphor::logging; using InternalFailure = sdbusplus::xyz::openbmc_project::Common:: Error::InternalFailure; -//TODO Should get these from phosphor-objmgr config.h -constexpr auto MAPPER_BUSNAME = "xyz.openbmc_project.ObjectMapper"; -constexpr auto MAPPER_PATH = "/xyz/openbmc_project/object_mapper"; -constexpr auto MAPPER_INTERFACE = "xyz.openbmc_project.ObjectMapper"; - -//TODO Should get these from phosphor-inventory-manager config.h -const auto INVENTORY_PATH = "/xyz/openbmc_project/inventory"s; -const auto INVENTORY_INTF = "xyz.openbmc_project.Inventory.Manager"s; - std::string getInvService(sdbusplus::bus::bus& bus) { return getService(INVENTORY_PATH, INVENTORY_INTF, bus); -- cgit v1.2.1