summaryrefslogtreecommitdiffstats
path: root/ethernet_interface.hpp
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-07-26 22:40:21 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-08-13 11:32:38 +0000
commit92bc2fe4663b8a9e2a38084692dc9587762926f9 (patch)
tree1b3da24dac31b0fa55bb5e549b5beaf8ef7b7a6e /ethernet_interface.hpp
parent2b1065328b4fc8131dc5bd2509a326ad68006617 (diff)
downloadphosphor-networkd-92bc2fe4663b8a9e2a38084692dc9587762926f9.tar.gz
phosphor-networkd-92bc2fe4663b8a9e2a38084692dc9587762926f9.zip
Load the VLAN interfaces from the system
At start up Network Manager creates all the interfaces by reading it from the system.This commit creates the vlan interface after reading it from the system. Change-Id: I38e6f3b776f834e33d17e4e88f700b4f52af4048 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ethernet_interface.hpp')
-rw-r--r--ethernet_interface.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp
index 4617f56..36669d6 100644
--- a/ethernet_interface.hpp
+++ b/ethernet_interface.hpp
@@ -113,11 +113,16 @@ class EthernetInterface : public Ifaces
*/
void createVLAN(VlanId id);
+ /** @brief load the vlan info from the system
+ * and creates the ip address dbus objects.
+ * @param[in] vlanID- VLAN identifier.
+ */
+ void loadVLAN(VlanId vlanID);
+
/** @brief write the network conf file with the in-memory objects.
*/
void writeConfigurationFile();
-
using EthernetInterfaceIntf::dHCPEnabled;
using EthernetInterfaceIntf::interfaceName;
OpenPOWER on IntegriCloud