summaryrefslogtreecommitdiffstats
path: root/ethernet_interface.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ethernet_interface.hpp')
-rw-r--r--ethernet_interface.hpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp
index 0ab849c..4617f56 100644
--- a/ethernet_interface.hpp
+++ b/ethernet_interface.hpp
@@ -113,12 +113,14 @@ class EthernetInterface : public Ifaces
*/
void createVLAN(VlanId id);
+ /** @brief write the network conf file with the in-memory objects.
+ */
+ void writeConfigurationFile();
+
+
using EthernetInterfaceIntf::dHCPEnabled;
using EthernetInterfaceIntf::interfaceName;
- /** @brief Network Configuration directory. */
- fs::path confDir;
-
protected:
/** @brief get the info of the ethernet interface.
@@ -159,6 +161,9 @@ class EthernetInterface : public Ifaces
uint8_t prefixLength,
const std::string& gateway);
+ /** @brief write the dhcp section **/
+ void writeDHCPSection(std::fstream& stream);;
+
/** @brief Persistent sdbusplus DBus bus connection. */
sdbusplus::bus::bus& bus;
OpenPOWER on IntegriCloud