summaryrefslogtreecommitdiffstats
path: root/ethernet_interface.hpp
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-07-25 13:38:19 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-08-13 11:32:24 +0000
commit3d3e4fcbb1c7b09376e04b6203d1803d2cae60b1 (patch)
treec299808359e6adcf733bd90a8f369b273f21590c /ethernet_interface.hpp
parenteaefe587ad3df702bf201ae921e46b556352ed6d (diff)
downloadphosphor-networkd-3d3e4fcbb1c7b09376e04b6203d1803d2cae60b1.tar.gz
phosphor-networkd-3d3e4fcbb1c7b09376e04b6203d1803d2cae60b1.zip
Implement the Vlan Interface
Change-Id: I6085868ba4e30bb9e1c6f6d9895a40ebff82804f Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ethernet_interface.hpp')
-rw-r--r--ethernet_interface.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp
index 88200f8..88cbf1e 100644
--- a/ethernet_interface.hpp
+++ b/ethernet_interface.hpp
@@ -59,11 +59,14 @@ class EthernetInterface : public Ifaces
* @param[in] objPath - Path to attach at.
* @param[in] dhcpEnabled - is dhcp enabled(true/false).
* @param[in] parent - parent object.
+ * @param[in] emitSignal - true if the object added signal needs to be
+ * send.
*/
EthernetInterface(sdbusplus::bus::bus& bus,
const std::string& objPath,
bool dhcpEnabled,
- Manager& parent);
+ Manager& parent,
+ bool emitSignal = true);
/** @brief Function to create ipaddress dbus object.
* @param[in] addressType - Type of ip address.
@@ -98,7 +101,7 @@ class EthernetInterface : public Ifaces
using EthernetInterfaceIntf::dHCPEnabled;
- private:
+ protected:
/** @brief get the info of the ethernet interface.
* @return tuple having the link speed,autonegotiation,duplexmode .
OpenPOWER on IntegriCloud