This action causes the Sonus SBC 1000/2000 system 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.
A 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_Resource_Code attribute.
https://134.56.227.163/rest/partition/{identifier}?action=upgrade
POST
true
Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|---|---|---|---|---|---|
Filename | Yes | No | string | none | 255 - Max Length | Identifies the name of the software image file being restored into Sonus SBC.
If the upgrade is being performed from an existing Sonus SBC 1000/2000 1.3.x version, then the file needs to be of extension .tar.gz. For all other upgrades from version 2.0 onwards, the file needs to be of extension .img. |
curl --cookie PHPSESSID=s87rdf8usk6rsi30nnkbk18c4ert 1kCAcert.pem -i https://134.56.227.163/rest/partition/2?action=upgrade -F Filename=@sbc1000-release-3.1.0.img
<?xml version="1.0"?> <root> <status> <http_code>200</http_code> </status>