SE Group UUID can be obtained by the GET /api/serviceenginegroup API.

The followings are the additional options for SE group upgrade:

  • Disruptive — This is used to disable non-disruptive mechanism to facilitate a faster upgrade. If enabled, the SE(s) are upgraded in a disruptive manner. The default value is false.

  • Suspend-on-failure — This option suspends the upgrade of subsequent SE(s) within a SE-group when a failure is encountered in the SE upgrade path. The default value is false.

The followings are the different APIs for the SE group upgrade:

  • Use the following API to upgrade the SE group to the Controller image.

API:/api/upgrade

Method: POST

JSON Data:

{ 
   'image_uuid': 'image-b8adc2bd-d27f-469d-b78d-5e2bc14a14e4',
   'se_group_uuids': [
     'serviceenginegroup-e553b1a6-4851-4e82-ad12-cecc4bbda6c7'
   ] 
}
  
  • Use the following with the additional SE Group options — Disruptive and Suspend_on_failure.

API: /api/upgrade

Method: POST

JSON Data:

  {
    'image_uuid': 'image-b8adc2bd-d27f-469d-b78d-5e2bc14a14e4',
    'se_group_uuids': [
      'serviceenginegroup-e553b1a6-4851-4e82-ad12-cecc4bbda6c7'
    ],
    'disruptive':true, 
    'suspend_on_failure': true
 }
 
  • Use the following API to upgrade the SE group to the Controller image and the SE patch image.

API: /api/upgrade

Method: POST

JSON Data:

  {
      'image_uuid': 'image-b8adc2bd-d27f-469d-b78d-5e2bc14a14e4',
      'se_patch_uuid': 'image-e3aaad68-5aaf-485a-8bd9-1db3ec562d6a',
      'se_group_uuids': [
          'serviceenginegroup-e553b1a6-4851-4e82-ad12-cecc4bbda6c7'
      ]
  }