Code Utilities

Note

This page is for developers who want to customize or extend OpenWISP Firmware Upgrader, whether for bug fixes, new features, or contributions.

For user guides and general information, please see:

Signals

Note

If you're not familiar with signals, please refer to the Django Signals documentation.

firmware_upgrader_log_updated

Path: openwisp_firmware_upgrader.signals.firmware_upgrader_log_updated

Arguments:

  • sender: the model class that sent the signal (UpgradeOperation)

  • instance: instance of UpgradeOperation which got its log updated

  • line: the new log line that was appended

  • **kwargs: additional keyword arguments

This signal is emitted when the log content of an upgrade operation is updated. You can use this signal to perform custom actions when log updates occur, such as sending notifications, updating external systems, or logging to custom destinations.