Add association to Fan Redundancy
This also needs an association.
Change-Id: I6b0f2f4c5fdc2143ee4e2336d0f9fb9976cec629
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/TachSensor.hpp b/include/TachSensor.hpp
index 1e01859..2ef1298 100644
--- a/include/TachSensor.hpp
+++ b/include/TachSensor.hpp
@@ -30,7 +30,8 @@
{
public:
RedundancySensor(size_t count, const std::vector<std::string>& children,
- sdbusplus::asio::object_server& objectServer);
+ sdbusplus::asio::object_server& objectServer,
+ const std::string& sensorConfiguration);
~RedundancySensor();
void update(const std::string& name, bool failed);
@@ -38,6 +39,7 @@
private:
size_t count;
std::shared_ptr<sdbusplus::asio::dbus_interface> iface;
+ std::shared_ptr<sdbusplus::asio::dbus_interface> association;
sdbusplus::asio::object_server& objectServer;
boost::container::flat_map<std::string, bool> statuses;
};