com.ibm: Add NotifyDump method
This commit introduces a new 'NotifyDump' method in a
new com.ibm.Dump.Notify interface to cater the specific
requirements of IBM OpenPOWER systems. This is
supplementing the general dbus 'Notify' method but
caters to the unique needs of IBM OpenPOWER systems.
The 'NotifyDump' method creates or updates a dump
entry based on parameters and specific dump type,
like 'System' or 'Resource'. The host provides a
source dump id, size, dump type and a 'token'. The
token helps identify user-initiated dump requests and
defaults to 0 if not valid.
Change-Id: Ic036b6ce30ccd0d12717c1ee314ba8aa4c4c74f3
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/gen/com/ibm/Dump/meson.build b/gen/com/ibm/Dump/meson.build
index 9a767a1..69fd81b 100644
--- a/gen/com/ibm/Dump/meson.build
+++ b/gen/com/ibm/Dump/meson.build
@@ -15,3 +15,18 @@
)
subdir('Entry')
+subdir('Notify')
+generated_others += custom_target(
+ 'com/ibm/Dump/Notify__markdown'.underscorify(),
+ input: [ '../../../../yaml/com/ibm/Dump/Notify.interface.yaml', ],
+ output: [ 'Notify.md' ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../yaml',
+ 'com/ibm/Dump/Notify',
+ ],
+)
+