pldm: Add support for OCC reset

BMC initiated OCC reset is translated to a SetStateEffecterStates
request for state effecter corresponding to the OCC instance.

Tested:

Invoked resetOCC path explicitly and verified that the
SetStateEffecterStates request message for OCCReset is accurate.

Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: I4e0d211b51151d24bf0112819fc9f201698bfac0
diff --git a/occ_manager.cpp b/occ_manager.cpp
index f59683d..8ead2a4 100644
--- a/occ_manager.cpp
+++ b/occ_manager.cpp
@@ -53,7 +53,13 @@
     statusObjects.emplace_back(std::make_unique<Status>(
         bus, event, path.c_str(), *this,
         std::bind(std::mem_fn(&Manager::statusCallBack), this,
-                  std::placeholders::_1)));
+                  std::placeholders::_1)
+#ifdef PLDM
+            ,
+        std::bind(std::mem_fn(&pldm::Interface::resetOCC), pldmHandle.get(),
+                  std::placeholders::_1)
+#endif
+            ));
 
     // Create the power cap monitor object for master occ (0)
     if (!pcap)