summaryrefslogtreecommitdiffstats
path: root/ethernet_interface.hpp
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-07-10 10:30:13 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-07-14 14:57:26 +0530
commit1caa2309d0335c66b7fc683f9c7d7b1214672897 (patch)
tree4a757ec11e750d7f7b8f9fcbf9d31be6601df3e7 /ethernet_interface.hpp
parent87c139834ecebf78b403c0db20b36598c2c1db64 (diff)
downloadphosphor-networkd-1caa2309d0335c66b7fc683f9c7d7b1214672897.tar.gz
phosphor-networkd-1caa2309d0335c66b7fc683f9c7d7b1214672897.zip
Implement the MAC address interface
MAC address has been separarated from EthernetInterface to its own interface. Change-Id: I6c1c806003a7d6d3de6ebee7d107177fc17652e0 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ethernet_interface.hpp')
-rw-r--r--ethernet_interface.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp
index 805c2ac..88200f8 100644
--- a/ethernet_interface.hpp
+++ b/ethernet_interface.hpp
@@ -5,6 +5,7 @@
#include "util.hpp"
#include "xyz/openbmc_project/Network/EthernetInterface/server.hpp"
+#include "xyz/openbmc_project/Network/MACAddress/server.hpp"
#include "xyz/openbmc_project/Network/IP/Create/server.hpp"
#include <sdbusplus/bus.hpp>
@@ -20,6 +21,7 @@ namespace network
using Ifaces =
sdbusplus::server::object::object<
sdbusplus::xyz::openbmc_project::Network::server::EthernetInterface,
+ sdbusplus::xyz::openbmc_project::Network::server::MACAddress,
sdbusplus::xyz::openbmc_project::Network::IP::server::Create>;
using IP = sdbusplus::xyz::openbmc_project::Network::server::IP;
OpenPOWER on IntegriCloud