commit | 7a99a03ca9d2172297f9ed2293322fa433f26ed3 | [log] [tgz] |
---|---|---|
author | Rayan Dasoriya <dasoriya@google.com> | Thu Mar 03 20:48:07 2022 +0000 |
committer | Rayan Dasoriya <dasoriya@google.com> | Thu Mar 10 23:34:21 2022 +0000 |
tree | e21257d8a36c17b3fcf6b5adfce994257e2174c3 | |
parent | 85f2934c9c79bf0c40ebd20205d9c4f3e09bdf2b [diff] |
Updated protos in device_policy_manager to comply with go 1.17 BUG=b/222349736 TEST=local BE run RELEASE_NOTE=None Change-Id: Ied9d21988e4e50e9efa880eedb214588a50f1a76
Policy Manager is the client for the COS control plane. It is responsible for reporting current instance status and fetching device update config.
It is designed to be a system daemon that's started immediately after boot. It sends status update to an update manager, which will respond with the appropriate update config.
Using the update config, it will generate the appropriate update policy blobs to enforce the update strategy set by the user.
monitor
mode.Part of Policy Manager's features is to allow users to control the OS update behavior of their COS instances.
Instances will only receive updates within their major release version. For example, if both 12.1.0 and 13.0.0 are available, an instance running 12.0.0 will only get updated to 12.1.0 if it has this strategy.
The actual enforcement of the strategies are done by the update policy, which is a Chrome OS feature. An update policy is a protobuf blob that contains the parameters that will be used to fetch updates from Omaha. Policy Manager is responsible for deciding when to enable or disable the update engine.
FEATURES=test emerge-lakitu policymanager
./gen_proto.sh
.