Image UUID is obtained by using the GET /api/image
.
The following are the various REST API options available for the NSX Advanced Load Balancer system upgrade:
Use the following API to upgrade the system to a base image.
API:
/api/upgrade
Method:
POST
JSON Data
:{ 'image_uuid': 'image-b8adc2bd-d27f-469d-b78d-5e2bc14a14e4', 'system': true }
Use the following API to upgrade the system to a base image and a controller patch.
API:
/api/upgrade
Method:
POST
JSON Data
:{ 'image_uuid': 'image-b8adc2bd-d27f-469d-b78d-5e2bc14a14e4', 'controller_patch_uuid': 'image-e3aaad68-5aaf-485a-8bd9-1db3ec562d6a', 'system': true }
Use the following API to upgrade the system to a base image and an SE patch.
API:
/api/upgrade
Method:
POST
JSON Data
:{ 'image_uuid': 'image-b8adc2bd-d27f-469d-b78d-5e2bc14a14e4', 'system': true, 'se_patch_uuid': 'image-e3aaad68-5aaf-485a-8bd9-1db3ec562d6a', 'skip_warnings': True }
Use the following API to upgrade the system to a base image, an NSX Advanced Load Balancer Controller patch, and an SE patch
API:
/api/upgrade
Method:
POST
JSON
Data:{ 'image_uuid': 'image-b8adc2bd-d27f-469d-b78d-5e2bc14a14e4', 'controller_patch_uuid': 'image-e3aaad68-5aaf-485a-8bd9-1db3ec562d6a', 'system': true, 'se_patch_uuid': 'image-e88aaad68-5aaf-485a-8bd9-1db3ec562d6a' }