From 47722dcfd50a10e68a1c0846582ea99317e03f9e Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Fri, 26 May 2017 18:32:23 +0530 Subject: test: add test cases for ethernet interface Change-Id: Ibf3a2b3513c784a56540488fa7de5a638a83a833 Signed-off-by: Ratan Gupta --- ethernet_interface.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ethernet_interface.hpp') diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp index 7fb7cf1..856f874 100644 --- a/ethernet_interface.hpp +++ b/ethernet_interface.hpp @@ -25,6 +25,9 @@ using Ifaces = using IP = sdbusplus::xyz::openbmc_project::Network::server::IP; class Manager; // forward declaration of network manager. +class Manager; // forward declaration of network manager. +class TestEthernetInterface; + using LinkSpeed = uint16_t; using DuplexMode = uint8_t; using Autoneg = uint8_t; @@ -134,6 +137,10 @@ class EthernetInterface : public Ifaces /** @brief Persistent map of IPAddress dbus objects and their names */ AddressMap addrs; + /** @brief Dbus object path */ + std::string objPath; + + friend class TestEthernetInterface; }; } // namespace network -- cgit v1.2.1