Firmware upgrade solution for OpenWRT with possibility to add support for other embedded OSes. Provides features like automatic retry for network failures, mass upgrades, REST API and more.
return a list of upgrade-operation ids for a given device id
device/<device_pk>/firmware/
PUT: if DeviceFirmware doesn't exist, create a new object else
update the image of the DeviceFirmware.
Returns the DeviceFirmware object and if an upgrade operation
was created, also return the id of the UpgradeOperation.
Blockers
[x] https://github.com/openwisp/openwisp-firmware-upgrader/pull/234
[x] https://github.com/openwisp/openwisp-users/pull/352
[x] This PR adds four endpoints:
upgrade-operation/
upgrade-operation/<id>/
device/<device_pk>/upgrade-operation/
device/<device_pk>/firmware/
PUT: if DeviceFirmware doesn't exist, create a new object else update the image of the DeviceFirmware. Returns the DeviceFirmware object and if an upgrade operation was created, also return the id of the UpgradeOperation.
GET: return the DeviceFirmware object,
Closes #206