upgrade

Upgrade System

upgrade Specification

Parameter Value
Type operational
Element Name upgrade
Element URI /axapi/v3/upgrade
Element Attributes upgrade_attributes
Partition Visibility shared
Schema upgrade schema

Operations Allowed:

OperationMethodURIPayload

EXECUTE Object

POST

/axapi/v3/upgrade

upgrade attributes

upgrade attributes

cf

Description: cf is a JSON Block. Please see below for cf

Type: Object

Reference Object: /axapi/v3/upgrade/cf

hd

Description: hd is a JSON Block. Please see below for hd

Type: Object

Reference Object: /axapi/v3/upgrade/hd

cf

Specification Value
Type object

Device

Description

Type: number

file-url

Description File URL

Type: string

Format: url

Mutual Exclusion: file-url, local, and image-file are mutually exclusive

image

Description ‘pri’: Primary image;

Type: string

Supported Values: pri

local

Description Use image from local image repository (Specify an image name, format: aximage_XX_XX_XX_XX.tar.gz)

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Mutual Exclusion: local,use-mgmt-port, file-url, and image-file are mutually exclusive

reboot-after-upgrade

Description reboot system after upgrade is done

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

staggered-upgrade-mode

Description in staggered upgrade mode

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

use-mgmt-port

Description Use management port as source port

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: use-mgmt-port and local are mutually exclusive

hd

Specification Value
Type object

file-url

Description File URL

Type: string

Format: url

Mutual Exclusion: file-url, local, and image-file are mutually exclusive

image

Description ‘pri’: Primary image; ‘sec’: Secondary image;

Type: string

Supported Values: pri, sec

local

Description Use image from local VCS image repository (Specify an image name, format: aximage_XX_XX_XX_XX.tar.gz)

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Mutual Exclusion: local,use-mgmt-port, source-ip-address, file-url, and image-file are mutually exclusive

reboot-after-upgrade

Description reboot system after upgrade is done

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

source-ip-address

Description Source ip address

Type: string

Format: ipv4-address

Mutual Exclusion: source-ip-address, local, and use-mgmt-port are mutually exclusive

use-mgmt-port

Description Use management port as source port

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: use-mgmt-port, local, and source-ip-address are mutually exclusive