control: Add net target increase action
Add the YAML based set_net_speed_increase action function as an action
class for JSON configs to use.
Change-Id: Ia7e5cb8bcdb4bba0ebf356d9dc774ab292f0e8fc
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/json/zone.hpp b/control/json/zone.hpp
index 8bf132c..2f6e925 100644
--- a/control/json/zone.hpp
+++ b/control/json/zone.hpp
@@ -136,6 +136,16 @@
}
/**
+ * @brief Get the target increase delta
+ *
+ * @return - The current target increase delta
+ */
+ inline auto& getIncDelta() const
+ {
+ return _incDelta;
+ };
+
+ /**
* @brief Add a fan object to the zone
*
* @param[in] fan - Unique pointer to a fan object that will be moved into