thin-edge / thin-edge.io

The open edge framework for lightweight IoT devices
https://thin-edge.io
Apache License 2.0
219 stars 54 forks source link

Out of the box configuration management plugin for child devices #1553

Closed albinsuresh closed 11 months ago

albinsuresh commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently, a child device needing configuration management needs to develop a child device configuration management agent as per the specification here. It would have been better of an out-of-the-box agent was available that the user could just install on his device.

Describe the solution you'd like

An out-of-the-box lightweight tedge-configuration-plugin for Linux based devices, which can be repurposed from the existing c8y-configuration-plugin by making it respond to tedge config_snapshot and config_update commands instead of the c8y_UploadConfigFile and c8y_DownloadConfigFile operations from Cumulocity directly. Rest of its functionality like the usage of c8y-configuration-plugin.toml file for the supported config list management etc can stay the same way.

One additional functionality that this new plugin would need, which is absent in the c8y-configuration-plugin, is the ability to invoke a third-party logic/script on a config_snapshot and config_update request, which typically will contain the logic to perform the actual configuration read/update from/to the external physical child device over some proprietary protocol.

reubenmiller commented 1 year ago

Similar topic to

rina23q commented 11 months ago

It's outdated and the topic is covered by the work of https://github.com/thin-edge/thin-edge.io/issues/2098. Therefore, I'd close the ticket.