API prototype to process powerVS systems
The commit provides prototype for the API which will be called before
collection status is set to completed. It will check for power VS
configuration and will update the VPD if required.
Change-Id: Ia1d30a58001bd97003de2306d1959c8e734c809a
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
diff --git a/vpd-manager/src/manager.cpp b/vpd-manager/src/manager.cpp
index 87fcc30..7b22a69 100644
--- a/vpd-manager/src/manager.cpp
+++ b/vpd-manager/src/manager.cpp
@@ -287,6 +287,10 @@
// cancel the timer
l_timer.cancel();
processFailedEeproms();
+
+ // update VPD for powerVS system.
+ ConfigurePowerVsSystem();
+
m_interface->set_property("CollectionStatus",
std::string("Completed"));
@@ -318,6 +322,12 @@
}
});
}
+
+void Manager::ConfigurePowerVsSystem()
+{
+ // This API should check for required powerVS configuration and will
+ // update the VPD accordingly.
+}
#endif
int Manager::updateKeyword(const types::Path i_vpdPath,