Update the request dump methods
- Watchdog change
The dump request path of OpenPOWER dumps are updated
from /org/openpower/dump to /xyz/openbmc_project/dump/system
- Dump change
The dump type parameter is added instead of dump path.
Change-Id: Ic08e3c5fc99eaed116b97ceaf6c41f05a3503859
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/watchdog/watchdog_handler.cpp b/watchdog/watchdog_handler.cpp
index c94059f..ec58402 100644
--- a/watchdog/watchdog_handler.cpp
+++ b/watchdog/watchdog_handler.cpp
@@ -117,7 +117,7 @@
void requestDump(const DumpParameters& dumpParameters)
{
- constexpr auto path = "/org/openpower/dump";
+ constexpr auto path = "/xyz/openbmc_project/dump/system";
constexpr auto interface = "xyz.openbmc_project.Dump.Create";
constexpr auto function = "CreateDump";