{ "id":"/axapi/v3/upgrade", "type":"object", "node-type":"intermediate", "title":"upgrade", "operation-not-allowed": ["PUT", "POST", "DELETE"], "partition-visibility":"shared", "operational":1, "description":"Upgrade System", "properties":{ "hd":{ "type":"object", "$ref":"/axapi/v3/upgrade/hd", "properties":{ "image":{ "type":"string", "format":"enum", "description":"'pri': Primary image; 'sec': Secondary image; ", "enum":[ "pri", "sec" ] }, "local":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "not-list":[ "use-mgmt-port", "source-ip-address", "file-url", "image-file" ], "description":"Use image from local VCS image repository (Specify an image name, format: aximage_XX_XX_XX_XX.tar.gz)" }, "use-mgmt-port":{ "type":"number", "format":"flag", "plat-neg-list":["softax-aws"], "default":0, "not-list":[ "local", "source-ip-address" ], "description":"Use management port as source port" }, "source-ip-address":{ "type":"string", "format":"ipv4-address", "not-list":[ "local", "use-mgmt-port" ], "description":"Source ip address" }, "file-url":{ "type":"string", "format":"url", "not-list":[ "local", "image-file" ], "description":"File URL" }, "reboot-after-upgrade":{ "type":"number", "format":"flag", "default":0, "description":"reboot system after upgrade is done" } } }, "cf":{ "type":"object", "$ref":"/axapi/v3/upgrade/cf", "properties":{ "image":{ "type":"string", "format":"enum", "description":"'pri': Primary image; ", "enum":[ "pri" ] }, "local":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "not-list":[ "use-mgmt-port", "file-url", "image-file" ], "description":"Use image from local image repository (Specify an image name, format: aximage_XX_XX_XX_XX.tar.gz)" }, "use-mgmt-port":{ "type":"number", "format":"flag", "plat-neg-list":["softax-aws"], "default":0, "not":"local", "description":"Use management port as source port" }, "file-url":{ "type":"string", "format":"url", "not-list":[ "local", "image-file" ], "description":"File URL" }, "staggered-upgrade-mode":{ "type":"number", "format":"flag", "default":0, "description":"in staggered upgrade mode" }, "Device":{ "type":"number", "format":"number", "platform-specific-range":1, "platform-specific-default":1 }, "reboot-after-upgrade":{ "type":"number", "format":"flag", "default":0, "description":"reboot system after upgrade is done" } } } } }