Upgrading An Application; Disabling An Application - HP HPE VAN SDN Controller 2.7 Administrator's Manual

Table of Contents

Advertisement

Example output
{

Upgrading an application

Form
curl [options] -H "X-Auth-Token:token" \
-X POST https://controller_ip:8443/sdn/v2.0/apps/app_id/action \
-d upgrade
Example
curl -ksS -H "X-Auth-Token:3d61f0d3e61349359e6dbd82ec02c113" \
-X POST https://10.0.1.42:8443/sdn/v2.0/apps/com.geewiz/action \
-d upgrade
Example output
{
}

Disabling an application

Form
curl [options] -H "X-Auth-Token:token" \
-X POST https://controller_ip:8443/sdn/v2.0/apps/app_id/action \
-d disable
Example
curl -ksS -H "X-Auth-Token:3d61f0d3e61349359e6dbd82ec02c113" \
-X POST https://10.0.1.42:8443/sdn/v2.0/apps/com.geewiz/action \
-d disable
"app": {
"action": "NONE",
"catalog_id": "",
"deployed": "2014-06-18T21:46:39.845Z",
"desc": "Gee Wiz event production",
"download_url": "",
"name": "GeeWiz",
"product_id": "",
"sku": "",
"state": "ACTIVE",
"uid": "com.geewiz",
"vendor": "Gee Wiz, Inc.",
"version": "1.0.0"
}
}
"app": {
"action": "NONE",
"catalog_id": "",
"deployed": "2014-06-18T23:04:25.955Z",
"desc": "Gee Wiz event production",
"download_url": "",
"name": "GeeWiz",
"product_id": "",
"sku": "",
"state": "ACTIVE",
"uid": "com.geewiz",
"vendor": "Gee Wiz, Inc.",
"version": "2.0.0"
}
Application manager actions using curl commands 177

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents