diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-05-26 18:32:23 +0530 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-08 13:42:00 +0000 |
commit | 47722dcfd50a10e68a1c0846582ea99317e03f9e (patch) | |
tree | 6049c7afa6afb95549060a358c0f32a203453d3e /ethernet_interface.hpp | |
parent | 8ab179233e977e34f2ce335e1fcbf1ad8994a566 (diff) | |
download | phosphor-networkd-47722dcfd50a10e68a1c0846582ea99317e03f9e.tar.gz phosphor-networkd-47722dcfd50a10e68a1c0846582ea99317e03f9e.zip |
test: add test cases for ethernet interface
Change-Id: Ibf3a2b3513c784a56540488fa7de5a638a83a833
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ethernet_interface.hpp')
-rw-r--r-- | ethernet_interface.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 |