Implement create interface for ipaddress

Change-Id: Ia4598c27c11667dafb70a8af58871661b7042d0f
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/network_manager.hpp b/network_manager.hpp
index 2e90b23..3d745ce 100644
--- a/network_manager.hpp
+++ b/network_manager.hpp
@@ -1,6 +1,7 @@
 #pragma once
 
 #include "ethernet_interface.hpp"
+#include "types.hpp"
 #include "xyz/openbmc_project/Network/VLAN/Create/server.hpp"
 
 #include <sdbusplus/bus.hpp>
@@ -69,16 +70,16 @@
          */
         Manager(sdbusplus::bus::bus& bus, const char* objPath);
 
-        void vLAN(details::IntfName interfaceName, uint16_t id) override;
+        void vLAN(IntfName interfaceName, uint16_t id) override;
 
     private:
         /** @brief Get all the interfaces from the system.
          *  @returns list of interface names.
          */
-        details::IntfAddrMap getInterfaceAndaddrs() const;
+        IntfAddrMap getInterfaceAddrs() const;
 
         /** @brief Persistent map of EthernetInterface dbus objects and their names */
-        std::map<details::IntfName, std::unique_ptr<EthernetInterface>> interfaces;
+        std::map<IntfName, std::unique_ptr<EthernetInterface>> interfaces;
 
 };