Add HostPDRHandler class
HostPDRHandler has an API to fetch PDRs from the host.
The class HostPDRHandler has a function fetchPDR which basically calls
GetPDR on the host using libpldm's pldm_send_recv API.
The retrieved PDRs are stored in the BMCs primary PDR repo.
Change-Id: Ifd727316caf37d49f17e117b32ee105f6d941e0e
Signed-off-by: Pavithra Barithaya <pbaritha@in.ibm.com>
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/meson.build b/meson.build
index 923197a..d6fd8c9 100644
--- a/meson.build
+++ b/meson.build
@@ -56,6 +56,7 @@
deps = [
libpldm,
libpldmresponder,
+ libpldmutils,
dependency('sdbusplus'),
dependency('sdeventplus'),
dependency('phosphor-dbus-interfaces')
@@ -66,6 +67,7 @@
'pldmd.cpp',
'dbus_impl_requester.cpp',
'instance_id.cpp',
+ 'host_pdr_handler.cpp',
implicit_include_directories: false,
dependencies: deps,
install: true,