diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-11-06 11:00:00 -0600 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2017-11-17 13:14:11 -0600 |
commit | 480787c118fb511a8fe23a19f97bcf24b564c11e (patch) | |
tree | e3800e1e72c6e206d42f78f872376d2937531bcf /control/zone.hpp | |
parent | 2b3db618a00a1360d7a61cf0e712e1c50764297f (diff) | |
download | phosphor-fan-presence-480787c118fb511a8fe23a19f97bcf24b564c11e.tar.gz phosphor-fan-presence-480787c118fb511a8fe23a19f97bcf24b564c11e.zip |
Refresh service states for a group
Prior to an action resulting from missing service owners, all of the
services for a group should be refreshed to ensure they are in the most
up-to-date state. Ensuring the service states are current allows the
action to be correctly taken since owners of services could change at
anytime.
Change-Id: I59c59c6fcf456fa9c0a733d6406c90ea11f6e2b2
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/zone.hpp')
-rw-r--r-- | control/zone.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/control/zone.hpp b/control/zone.hpp index fa3ed82..9565933 100644 --- a/control/zone.hpp +++ b/control/zone.hpp @@ -151,6 +151,13 @@ class Zone const bool hasOwner); /** + * @brief Set or update all services for a group + * + * @param[in] group - Group to get service names for + */ + void setServices(const Group* group); + + /** * @brief Get the group's list of service names * * @param[in] group - Group to get service names for |