devices.tasksΒΆ
Asynchronous tasks for device operations.
Module ContentsΒΆ
- devices.tasks.perform_gds_push_update(device_id)[source]ΒΆ
Perform a periodic GDS Push server certificate and trustlist update for a device.
This function is executed by Django-Q2 as a background task. It updates both the server certificate and the trustlist on the OPC UA GDS Push device, then schedules the next execution according to the configured renewal interval.
- Parameters:
device_id (int) β Primary key of the DeviceModel to update.
- Raises:
ValueError β If the device does not exist.
- Return type:
None