control: Ability to set default floor on zone
Change-Id: I889602b77c0ae1b53e0b1d3249a35e3b139185ec
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/json/zone.hpp b/control/json/zone.hpp
index 677c210..b47e051 100644
--- a/control/json/zone.hpp
+++ b/control/json/zone.hpp
@@ -232,6 +232,16 @@
void setFloor(uint64_t target);
/**
+ * @brief Set the default floor to the given value
+ *
+ * @param[in] value - Value to set the default floor to
+ */
+ inline void setDefaultFloor(uint64_t value)
+ {
+ _defaultFloor = value;
+ }
+
+ /**
* @brief Sets the floor change allowed state
*
* @param[in] ident - An identifier that affects floor changes