Add Fan Redundancy Support

This adds fan redundancy support to passive sensors.
If there are redundancy interfaces on dbus, we'll fail
a sensor if the status is set to failed.

Tested: Set Redundancy to Failed On Dbus, saw all fans
in collection boost. Then restarted swampd, came up
and still boosted. Set redundancy OK, and they all slowed
down.

Change-Id: I8879bef1471bbc168435d6b22dd20006b9dca133
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/test/dbus_passive_unittest.cpp b/test/dbus_passive_unittest.cpp
index 2fc3471..84557ee 100644
--- a/test/dbus_passive_unittest.cpp
+++ b/test/dbus_passive_unittest.cpp
@@ -31,8 +31,8 @@
     DbusHelperMock helper;
     auto info = conf::SensorConfig();
 
-    std::unique_ptr<ReadInterface> ri =
-        DbusPassive::createDbusPassive(bus_mock, type, id, &helper, &info);
+    std::unique_ptr<ReadInterface> ri = DbusPassive::createDbusPassive(
+        bus_mock, type, id, &helper, &info, nullptr);
 
     EXPECT_EQ(ri, nullptr);
 }
@@ -50,7 +50,7 @@
     DbusHelperMock helper;
     struct SensorProperties properties;
 
-    DbusPassive(bus_mock, type, id, &helper, properties, false);
+    DbusPassive(bus_mock, type, id, &helper, properties, false, path, nullptr);
     // Success
 }
 
@@ -77,7 +77,8 @@
             .WillOnce(Return(false));
 
         auto info = conf::SensorConfig();
-        ri = DbusPassive::createDbusPassive(bus_mock, type, id, &helper, &info);
+        ri = DbusPassive::createDbusPassive(bus_mock, type, id, &helper, &info,
+                                            nullptr);
         passive = reinterpret_cast<DbusPassive*>(ri.get());
         EXPECT_FALSE(passive == nullptr);
     }