summaryrefslogtreecommitdiffstats
path: root/network_manager.hpp
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-04-21 08:45:23 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-05-23 12:16:52 +0530
commit82549ccaa0f6373f664b260c7461adfd9f7665ba (patch)
treed183620e29632d2ed6c95ba9f8186f3965d09663 /network_manager.hpp
parentdb81a8acba51722b81ceeb22d0e6a3f688b652ad (diff)
downloadphosphor-networkd-82549ccaa0f6373f664b260c7461adfd9f7665ba.tar.gz
phosphor-networkd-82549ccaa0f6373f664b260c7461adfd9f7665ba.zip
Implement create interface for ipaddress
Change-Id: Ia4598c27c11667dafb70a8af58871661b7042d0f Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'network_manager.hpp')
-rw-r--r--network_manager.hpp7
1 files changed, 4 insertions, 3 deletions
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 @@ class Manager : public details::VLANCreateIface
*/
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;
};
OpenPOWER on IntegriCloud