Avi Upgrade
avi_upgradeUpgrades Avi to an uploaded image after a successful precheck and user approval, scoped to controllers, Service Engine groups, or the full system.
Instructions
Upgrade Avi to an uploaded image after the user approves. Needs an avi_precheck of the same image and scope without errors.
scope: system (controllers and all Service Engine groups), controller (controllers only) or service_engines (groups only, once the controller is at the target). se_group_uuids: for service_engines, the groups to upgrade (uuids from avi_status); left out, every group that is behind.
accept_warnings: check codes of precheck warnings the user has seen and explicitly accepted, for example ["SYSERR_MC_BACKUP_ERR"] once a backup is stored off the controller. Every warning must be listed, or the upgrade is refused.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_uuid": "<image_uuid>",
"target_version": "<target_version>"
},
"name": "avi_upgrade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | system | |
| image_uuid | Yes | ||
| se_group_uuids | No | ||
| target_version | Yes | ||
| accept_warnings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |