Write the network configuration in the network file

Change-Id: Ic5ae90fb7b82539b943c4db0bc2eb116ec0d778f
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/network_manager.hpp b/network_manager.hpp
index e8dfa8e..c6ea36c 100644
--- a/network_manager.hpp
+++ b/network_manager.hpp
@@ -74,6 +74,10 @@
 
         void vLAN(IntfName interfaceName, uint16_t id) override;
 
+        /** @brief write the network conf file with the in-memory objects.
+         */
+        void writeToConfigurationFile();
+
         /** @brief Fetch the interface and the ipaddress details
          *         from the system and create the ethernet interraces
          *         dbus object.
@@ -87,6 +91,10 @@
          */
         IntfAddrMap getInterfaceAddrs() const;
 
+        /** @brief Restart the systemd networkd
+         */
+        void restartSystemdNetworkd();
+
         /** @brief Persistent sdbusplus DBus bus connection. */
         sdbusplus::bus::bus& bus;