handler: Don't hardcode channel information

We can use the functions from the ipmi daemon to get the proper channel
for the named NIC.

Change-Id: I9f479ec90bffed147a68131a6dda5aebd9cfc910
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/common.cpp b/test/common.cpp
new file mode 100644
index 0000000..08c3eaa
--- /dev/null
+++ b/test/common.cpp
@@ -0,0 +1,10 @@
+#include <cstdint>
+#include <string>
+
+namespace ipmi
+{
+std::uint8_t getChannelByName(const std::string&)
+{
+    return 1;
+}
+} // namespace ipmi