cterasdk.edge.firmware module#

class cterasdk.edge.firmware.Firmware(gateway)#

Bases: BaseCommand

Gateway Firmware upgrade API

upgrade(file_path, reboot=True, wait_for_reboot=True)#

Upgrade the Filer firmware with the provided file

Parameters:
  • file_path (str) – Path to the local file to upload

  • reboot (bool,optional) – Perform reboot after uploading the new firmware, defaults to True

  • wait_for_reboot (bool,optional) – Wait for reboot to complete (if reboot is performed), defaults to True

class cterasdk.edge.firmware.UploadTaskStatus#

Bases: object

COMPLETE = 1#
FAIL = -1#
IN_PROGRESS = 0#