Skip PCIe cards collection at power on

Collection of PCIe card is skipped in case of BMC reboot at chassis
power on.

Since PCIe cards are CMable and not hot pluggable, any removal or
addition of card will be handled in the CM flow. No need to explicit
collection when BMC is coming up while chassis is on.

Change-Id: Ib43c817e07593ea72a21b433b88cfc970344cded
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
diff --git a/vpd-manager/include/worker.hpp b/vpd-manager/include/worker.hpp
index a0da85d..ba88d33 100644
--- a/vpd-manager/include/worker.hpp
+++ b/vpd-manager/include/worker.hpp
@@ -507,6 +507,16 @@
      */
     void setPresentProperty(const std::string& i_fruPath, const bool& i_value);
 
+    /**
+     * @brief API to check if the path needs to be skipped for collection.
+     *
+     * Some FRUs, under some given scenarios should not be collected and
+     * skipped.
+     *
+     * @return True - if path is empty or should be skipped, false otherwise.
+     */
+    bool skipPathForCollection(const std::string& i_vpdFilePath);
+
     // Parsed JSON file.
     nlohmann::json m_parsedJson{};