Add support to enable dump collection for core dump

Implemented d-bus internal create function.

Change-Id: I34088d4c084a5a086189f4bc9e84e53a39193501
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/dump_manager.cpp b/dump_manager.cpp
index d5150d3..571ced5 100644
--- a/dump_manager.cpp
+++ b/dump_manager.cpp
@@ -23,8 +23,7 @@
     Type type,
     std::vector<std::string> fullPaths)
 {
-    // TODO openbmc/openbmc#1795
-    // Add implementaion of internal create function.
+    dumpMgr.phosphor::dump::Manager::captureDump(type, fullPaths);
 }
 
 } //namepsace internal