Change Resetflag from default to Noaction

Change Resetflag from default to Noaction as BMC have to clear the
default reset bios settings flag whenever new BaseTable is received
from BIOS or else BIOS will keep reset the system with default values.

Tested:
Ran unit test cases and manually tested with commands.
When new BaseTable is created, ResetBIOS setting will set the flag to
NoAction.

Signed-off-by: Snehalatha Venkatesh <snehalathax.v@intel.com>
Change-Id: Iea029b1a5a3d97c7f19bc21851972fdc5599cb8d
diff --git a/include/manager.hpp b/include/manager.hpp
index 3182126..16b79d5 100644
--- a/include/manager.hpp
+++ b/include/manager.hpp
@@ -49,6 +49,8 @@
                    std::vector<std::tuple<
                        BoundType, std::variant<int64_t, std::string>>>>>;
 
+    using ResetFlag = std::map<std::string, ResetFlag>;
+
     using PendingAttributes =
         std::map<std::string,
                  std::tuple<AttributeType, std::variant<int64_t, std::string>>>;
@@ -106,6 +108,8 @@
      */
     BaseTable baseBIOSTable(BaseTable value) override;
 
+    ResetFlag resetBIOSSettings(ResetFlag value);
+
     /** @brief Set the PendingAttributes property, additionally checks if the
      *         attributes are in the BaseBIOSTable, whether the attributes are
      *         read only and validate the attribute value based on the
diff --git a/src/manager.cpp b/src/manager.cpp
index c92205f..0f2103f 100644
--- a/src/manager.cpp
+++ b/src/manager.cpp
@@ -97,6 +97,7 @@
     pendingAttributes({});
     auto baseTable = Base::baseBIOSTable(value, false);
     serialize(*this, biosFile);
+    Base::resetBIOSSettings(Base::ResetFlag::NoAction);
     return baseTable;
 }