Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: POST /rest/partition/{identifier}?action=upgrade

This action causes the SBC to be upgraded to a new software version.

Info

If the system is being upgraded to a new software image, the upgrade needs to be performed on the non-active partition (either partition 2 or 3). If the boot partition is being upgraded, the action needs to be performed on partition 1.

Note

An HTTP Status 200 return for this action only means that the request was successfully received by the system and some pre-validation is performed. The upgrade process can take a while and so it is the responsibility of the client to perform HTTP_GET requests on the Partition Resource and check on the status by inspecting the rt_Download_Result_Code attribute.

URL:

https://192.168.0.111/rest/partition/{identifier}?action=upgrade

HTTP Method

POST

Requires Authentication:

true

Noprint
Panel
bgColortransparent
titleBGColor#DDD
title[partition - REST API Methods|Resource - partition]

Page Tree
root@parent



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
FilenameYesNostringnone255 - Max LengthIdentifies the name of the software image file being restored into the SBC.
Info

If the upgrade is being performed from an existing SBC Release 1.3.x version, then the file needs to be of extension .tar.gz. For all other upgrades from Release 2.0.0 onwards, the file needs to be of extension .img.