eth: Support looking up alternate interace channels
This makes it possible to use the GetEthDevice command to look up
interfaces other than the default NCSI interface.
Change-Id: I3a5563743a28b39adc753d8957f68f0bc330cf3a
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/handler_impl.hpp b/handler_impl.hpp
index 807114e..4bd2e03 100644
--- a/handler_impl.hpp
+++ b/handler_impl.hpp
@@ -24,7 +24,8 @@
_configFile(entityConfigPath){};
~Handler() = default;
- std::tuple<std::uint8_t, std::string> getEthDetails() const override;
+ std::tuple<std::uint8_t, std::string>
+ getEthDetails(std::string intf) const override;
std::int64_t getRxPackets(const std::string& name) const override;
VersionTuple getCpldVersion(unsigned int id) const override;
void psuResetDelay(std::uint32_t delay) const override;