summaryrefslogtreecommitdiffstats
path: root/utils.hpp
diff options
context:
space:
mode:
authorDhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>2018-01-23 04:47:06 -0600
committerTom Joseph <tomjoseph@in.ibm.com>2018-02-06 05:17:46 +0000
commit5c0beec1c30e2702e18359989ed16052ae222767 (patch)
tree8302db55f3c85bf3d8214c14f9bc49f09efc56c7 /utils.hpp
parentb1e8fba50af2310136c6f92ab8765bf27aa5cec2 (diff)
downloadphosphor-host-ipmid-5c0beec1c30e2702e18359989ed16052ae222767.tar.gz
phosphor-host-ipmid-5c0beec1c30e2702e18359989ed16052ae222767.zip
Support Get Sensor Thresholds Command
Adding support for sensor thresholds command Resolves openbmc/openbmc#2624 Change-Id: I904c1b18c8709bceb7ecb7eec6e8e42e1f51525a Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Diffstat (limited to 'utils.hpp')
-rw-r--r--utils.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils.hpp b/utils.hpp
index 1699c52..b4f090f 100644
--- a/utils.hpp
+++ b/utils.hpp
@@ -87,6 +87,17 @@ PropertyMap getAllDbusProperties(sdbusplus::bus::bus& bus,
const std::string& objPath,
const std::string& interface);
+/** @brief Gets all managed objects associated with the given object
+ * path and service.
+ * @param[in] bus - D-Bus Bus Object.
+ * @param[in] service - D-Bus service name.
+ * @param[in] objPath - D-Bus object path.
+ * @return On success returns the map of name value pair.
+ */
+ObjectValueTree getManagedObjects(sdbusplus::bus::bus& bus,
+ const std::string& service,
+ const std::string& objPath);
+
/** @brief Sets the property value of the given object.
* @param[in] bus - DBUS Bus Object.
* @param[in] service - Dbus service name.
OpenPOWER on IntegriCloud