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

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

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.

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



Parameters

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

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.

  • No labels