Create DHCP configuration DBUS object
Network Manager creates the DHCP configuration
object.
Change-Id: I0119aa4a4b688adec7f7160ff1706aa87cc2bd1f
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/network_manager.cpp b/network_manager.cpp
index 1612f6d..011e978 100644
--- a/network_manager.cpp
+++ b/network_manager.cpp
@@ -76,6 +76,10 @@
objPath /= "config";
systemConf = std::make_unique<phosphor::network::SystemConfiguration>(
bus, objPath.string(), *this);
+ // create the dhcp conf object.
+ objPath /= "dhcp";
+ dhcpConf = std::make_unique<phosphor::network::dhcp::Configuration>(
+ bus, objPath.string(), *this);
}